Installer batman-arkham-asylum-epic-games

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
- mfinstaller: https://github.com/z0z0z/mf-install/archive/master.zip
game:
  arch: win32
  args: -opengl
  exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
  prefix: $GAMEDIR/prefix
installer:
- extract:
    dst: $CACHE/dxsetup
    file: audio
- task:
    arch: win32
    name: create_prefix
    prefix: $GAMEDIR/prefix
- extract:
    dst: $CACHE/mfinstaller
    file: mfinstaller
- execute:
    command: $CACHE/mfinstaller/install-mf.sh
    env:
      WINEPREFIX: $GAMEDIR
    terminal: true
- task:
    arch: win32
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    name: winekill
    prefix: $GAMEDIR
- task:
    app: arial dotnet48
    arch: win32
    description: Installing dependencies
    name: winetricks
    prefix: $GAMEDIR
- copy:
    dst: $CACHE/epic/
    src: epic
- task:
    arch: win32
    args: /i "$CACHE/epic/EpicGamesLauncherInstaller.msi" /q
    exclude_processes: EpicGamesLauncher.exe
    executable: msiexec
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    name: winekill
    prefix: $GAMEDIR
- task:
    app: winxp dotnet20 dotnet35 physx mdx d3dx9 d3dcompiler_43
    arch: win32
    description: Installing various fixes. This might take a while...
    name: winetricks
    prefix: $GAMEDIR/prefix
    silent: false
system:
  env:
    MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
description: null
game_slug: batman-arkham-asylum-goty-edition
gogslug: batman_arkham_asylum_goty
humblestoreid: batman-arkham-asylum-goty-edition
installer_slug: batman-arkham-asylum-epic-games
name: 'Batman: Arkham Asylum'
notes: 'Only installs the Epic Games Store. You''ll need to install Batman: Arkham
  Asylum manually.'
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
  - mfinstaller: https://github.com/z0z0z/mf-install/archive/master.zip
  game:
    arch: win32
    args: -opengl
    exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
    prefix: $GAMEDIR/prefix
  installer:
  - extract:
      dst: $CACHE/dxsetup
      file: audio
  - task:
      arch: win32
      name: create_prefix
      prefix: $GAMEDIR/prefix
  - extract:
      dst: $CACHE/mfinstaller
      file: mfinstaller
  - execute:
      command: $CACHE/mfinstaller/install-mf.sh
      env:
        WINEPREFIX: $GAMEDIR
      terminal: true
  - task:
      arch: win32
      args: /silent
      executable: $CACHE/dxsetup/DXSETUP.exe
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win32
      name: winekill
      prefix: $GAMEDIR
  - task:
      app: arial dotnet48
      arch: win32
      description: Installing dependencies
      name: winetricks
      prefix: $GAMEDIR
  - copy:
      dst: $CACHE/epic/
      src: epic
  - task:
      arch: win32
      args: /i "$CACHE/epic/EpicGamesLauncherInstaller.msi" /q
      exclude_processes: EpicGamesLauncher.exe
      executable: msiexec
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win32
      name: winekill
      prefix: $GAMEDIR
  - task:
      app: winxp dotnet20 dotnet35 physx mdx d3dx9 d3dcompiler_43
      arch: win32
      description: Installing various fixes. This might take a while...
      name: winetricks
      prefix: $GAMEDIR/prefix
      silent: false
  system:
    env:
      MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
slug: batman-arkham-asylum-epic-games
steamid: 35140
version: Epic Games
year: 2009
{
  "game_slug": "batman-arkham-asylum-goty-edition",
  "version": "Epic Games",
  "description": null,
  "notes": "Only installs the Epic Games Store. You'll need to install Batman: Arkham Asylum manually.",
  "name": "Batman: Arkham Asylum",
  "year": 2009,
  "steamid": 35140,
  "gogslug": "batman_arkham_asylum_goty",
  "humblestoreid": "batman-arkham-asylum-goty-edition",
  "runner": "wine",
  "slug": "batman-arkham-asylum-epic-games",
  "installer_slug": "batman-arkham-asylum-epic-games",
  "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"
      },
      {
        "mfinstaller": "https://github.com/z0z0z/mf-install/archive/master.zip"
      }
    ],
    "game": {
      "arch": "win32",
      "args": "-opengl",
      "exe": "drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe",
      "prefix": "$GAMEDIR/prefix"
    },
    "installer": [
      {
        "extract": {
          "dst": "$CACHE/dxsetup",
          "file": "audio"
        }
      },
      {
        "task": {
          "arch": "win32",
          "name": "create_prefix",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/mfinstaller",
          "file": "mfinstaller"
        }
      },
      {
        "execute": {
          "command": "$CACHE/mfinstaller/install-mf.sh",
          "env": {
            "WINEPREFIX": "$GAMEDIR"
          },
          "terminal": true
        }
      },
      {
        "task": {
          "arch": "win32",
          "args": "/silent",
          "executable": "$CACHE/dxsetup/DXSETUP.exe",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial dotnet48",
          "arch": "win32",
          "description": "Installing dependencies",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "copy": {
          "dst": "$CACHE/epic/",
          "src": "epic"
        }
      },
      {
        "task": {
          "arch": "win32",
          "args": "/i \"$CACHE/epic/EpicGamesLauncherInstaller.msi\" /q",
          "exclude_processes": "EpicGamesLauncher.exe",
          "executable": "msiexec",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win32",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "winxp dotnet20 dotnet35 physx mdx d3dx9 d3dcompiler_43",
          "arch": "win32",
          "description": "Installing various fixes. This might take a while...",
          "name": "winetricks",
          "prefix": "$GAMEDIR/prefix",
          "silent": false
        }
      }
    ],
    "system": {
      "env": {
        "MESA_GL_VERSION_OVERRIDE": "4.4COMPAT",
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      }
    }
  }
}
Back to game