Installer borderlands-3-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
    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
description: Installs mfplat dlls which Borderlands 3 requires along with epic games
  store dependencies.
game_slug: borderlands-3
gogslug: ''
humblestoreid: ''
installer_slug: borderlands-3-epic
name: Borderlands 3
notes: Must sign in to epic games store and manually download game.
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
      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
slug: borderlands-3-epic
steamid: 397540
version: Epic
year: 2019
{
  "game_slug": "borderlands-3",
  "version": "Epic",
  "description": "Installs mfplat dlls which Borderlands 3 requires along with epic games store dependencies.",
  "notes": "Must sign in to epic games store and manually download game.",
  "name": "Borderlands 3",
  "year": 2019,
  "steamid": 397540,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "borderlands-3-epic",
  "installer_slug": "borderlands-3-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",
          "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"
      }
    }
  }
}
Back to game