Installer borderlands-2-epic-games

files:
- epic: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi
- mfinstaller: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/epic-games-store/mf-install-master.zip
game:
  arch: win64
  args: -opengl -SkipBuildPatchPrereq
  exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/mfinstaller
    file: mfinstaller
- execute:
    command: $CACHE/mfinstaller/install-mf.sh
    env:
      WINEPREFIX: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- task:
    app: arial cjkfonts vcrun2019 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
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
description: Installs the Epic Games Launcher, the game still has to be installed
  manually
game_slug: borderlands-2
gogslug: ''
humblestoreid: ''
installer_slug: borderlands-2-epic-games
name: Borderlands 2
notes: "1. Rename Launcher.exe to Launcher.exe_old\r\n2. Rename Boderlands2.exe to\
  \ Launcher.exe"
runner: wine
script:
  files:
  - epic: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi
  - mfinstaller: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/epic-games-store/mf-install-master.zip
  game:
    arch: win64
    args: -opengl -SkipBuildPatchPrereq
    exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR
  - extract:
      dst: $CACHE/mfinstaller
      file: mfinstaller
  - execute:
      command: $CACHE/mfinstaller/install-mf.sh
      env:
        WINEPREFIX: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  - task:
      app: arial cjkfonts vcrun2019 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
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
slug: borderlands-2-epic-games
steamid: 49520
version: Epic Games
year: 2012
{
  "game_slug": "borderlands-2",
  "version": "Epic Games",
  "description": "Installs the Epic Games Launcher, the game still has to be installed manually",
  "notes": "1. Rename Launcher.exe to Launcher.exe_old\r\n2. Rename Boderlands2.exe to Launcher.exe",
  "name": "Borderlands 2",
  "year": 2012,
  "steamid": 49520,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "borderlands-2-epic-games",
  "installer_slug": "borderlands-2-epic-games",
  "script": {
    "files": [
      {
        "epic": "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
      },
      {
        "mfinstaller": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/epic-games-store/mf-install-master.zip"
      }
    ],
    "game": {
      "arch": "win64",
      "args": "-opengl -SkipBuildPatchPrereq",
      "exe": "drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "extract": {
          "dst": "$CACHE/mfinstaller",
          "file": "mfinstaller"
        }
      },
      {
        "execute": {
          "command": "$CACHE/mfinstaller/install-mf.sh",
          "env": {
            "WINEPREFIX": "$GAMEDIR"
          }
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "arial cjkfonts vcrun2019 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",
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      }
    }
  }
}
Back to game