Installer borderlands-2-epic-games

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full 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
wine:
  dxvk: true
  esync: true
  vkd3d: true
{
  "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"
    }
  },
  "wine": {
    "dxvk": true,
    "esync": true,
    "vkd3d": true
  }
}
Back to game