Installer heavy-rain-epic

files:
- epic: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi
- audio: https://lutris.net/files/tools/directx-2010.tar.gz
- mfplat_dll_64: https://lutris.net/files/tools/dll/mfplat/x64/mfplat.dll
game:
  arch: win64
  args: -opengl
  exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
  prefix: $GAMEDIR
installer:
- extract:
    dst: $CACHE/dxsetup
    file: audio
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: mf
    name: winetricks
    prefix: $GAMEDIR
- task:
    cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
    component: mediafoundation
    name: install_cab_component
    prefix: $GAMEDIR
- task:
    cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
    component: mf_
    name: install_cab_component
    prefix: $GAMEDIR
- task:
    cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
    component: mfreadwrite
    name: install_cab_component
    prefix: $GAMEDIR
- task:
    cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
    component: wmadmod
    name: install_cab_component
    prefix: $GAMEDIR
- task:
    cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
    component: wmvdecod
    name: install_cab_component
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- task:
    app: arial dotnet48 d3dcompiler_43 d3dcompiler_47 d3dx9
    arch: win64
    description: Installing dependencies
    name: winetricks
    prefix: $GAMEDIR
- copy:
    dst: $CACHE/epic/
    src: epic
- task:
    arch: win64
    args: /i "$CACHE/epic/EpicGamesLauncherInstaller.msi" /q
    exclude_processes: EpicGamesLauncher.exe
    executable: msiexec
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: compiler
    MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
    PULSE_LATENCY_MSEC: 60
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
  overrides:
    mfplat: native,builtin
    xaudio2_7: native,builtin
description: Configures mfplat dlls, d3dcompiler_43.dll, xaudio2_7.dll along with
  epic games store dependencies.
game_slug: heavy-rain
gogslug: heavy_rain
humblestoreid: ''
installer_slug: heavy-rain-epic
name: Heavy Rain
notes: You would need to sign in to Epic Games Launcher and manually download the
  game. While shader caching you might experience some slowdowns and audio crackling,
  but after cache is built it will run smoothly with no audio problems.
runner: wine
script:
  files:
  - epic: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi
  - audio: https://lutris.net/files/tools/directx-2010.tar.gz
  - mfplat_dll_64: https://lutris.net/files/tools/dll/mfplat/x64/mfplat.dll
  game:
    arch: win64
    args: -opengl
    exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
    prefix: $GAMEDIR
  installer:
  - extract:
      dst: $CACHE/dxsetup
      file: audio
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: mf
      name: winetricks
      prefix: $GAMEDIR
  - task:
      cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
      component: mediafoundation
      name: install_cab_component
      prefix: $GAMEDIR
  - task:
      cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
      component: mf_
      name: install_cab_component
      prefix: $GAMEDIR
  - task:
      cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
      component: mfreadwrite
      name: install_cab_component
      prefix: $GAMEDIR
  - task:
      cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
      component: wmadmod
      name: install_cab_component
      prefix: $GAMEDIR
  - task:
      cabfile: $HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe
      component: wmvdecod
      name: install_cab_component
      prefix: $GAMEDIR
  - task:
      arch: win64
      args: /silent
      executable: $CACHE/dxsetup/DXSETUP.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  - task:
      app: arial dotnet48 d3dcompiler_43 d3dcompiler_47 d3dx9
      arch: win64
      description: Installing dependencies
      name: winetricks
      prefix: $GAMEDIR
  - copy:
      dst: $CACHE/epic/
      src: epic
  - task:
      arch: win64
      args: /i "$CACHE/epic/EpicGamesLauncherInstaller.msi" /q
      exclude_processes: EpicGamesLauncher.exe
      executable: msiexec
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  system:
    env:
      DXVK_HUD: compiler
      MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
      PULSE_LATENCY_MSEC: 60
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
  wine:
    overrides:
      mfplat: native,builtin
      xaudio2_7: native,builtin
slug: heavy-rain-epic
steamid: 960910
version: Epic
year: 2019
{
  "game_slug": "heavy-rain",
  "version": "Epic",
  "description": "Configures mfplat dlls, d3dcompiler_43.dll, xaudio2_7.dll along with epic games store dependencies.",
  "notes": "You would need to sign in to Epic Games Launcher and manually download the game. While shader caching you might experience some slowdowns and audio crackling, but after cache is built it will run smoothly with no audio problems.",
  "name": "Heavy Rain",
  "year": 2019,
  "steamid": 960910,
  "gogslug": "heavy_rain",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "heavy-rain-epic",
  "installer_slug": "heavy-rain-epic",
  "script": {
    "files": [
      {
        "epic": "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
      },
      {
        "audio": "https://lutris.net/files/tools/directx-2010.tar.gz"
      },
      {
        "mfplat_dll_64": "https://lutris.net/files/tools/dll/mfplat/x64/mfplat.dll"
      }
    ],
    "game": {
      "arch": "win64",
      "args": "-opengl",
      "exe": "drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/dxsetup",
          "file": "audio"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "mf",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "cabfile": "$HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe",
          "component": "mediafoundation",
          "name": "install_cab_component",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "cabfile": "$HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe",
          "component": "mf_",
          "name": "install_cab_component",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "cabfile": "$HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe",
          "component": "mfreadwrite",
          "name": "install_cab_component",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "cabfile": "$HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe",
          "component": "wmadmod",
          "name": "install_cab_component",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "cabfile": "$HOME/.cache/winetricks/win7sp1/windows6.1-KB976932-X64.exe",
          "component": "wmvdecod",
          "name": "install_cab_component",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/silent",
          "executable": "$CACHE/dxsetup/DXSETUP.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial dotnet48 d3dcompiler_43 d3dcompiler_47 d3dx9",
          "arch": "win64",
          "description": "Installing dependencies",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "copy": {
          "dst": "$CACHE/epic/",
          "src": "epic"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/i \"$CACHE/epic/EpicGamesLauncherInstaller.msi\" /q",
          "exclude_processes": "EpicGamesLauncher.exe",
          "executable": "msiexec",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_HUD": "compiler",
        "MESA_GL_VERSION_OVERRIDE": "4.4COMPAT",
        "PULSE_LATENCY_MSEC": 60,
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      }
    },
    "wine": {
      "overrides": {
        "mfplat": "native,builtin",
        "xaudio2_7": "native,builtin"
      }
    }
  }
}
Back to game