Skip to content

Instantly share code, notes, and snippets.

@djohnson1865
Created September 21, 2019 04:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save djohnson1865/3837ccf483bae2e116a38235fccb120c to your computer and use it in GitHub Desktop.
Save djohnson1865/3837ccf483bae2e116a38235fccb120c to your computer and use it in GitHub Desktop.
Borderlands 3 installer
name: Borderlands 3
game_slug: borderlands-3
version: epic
slug: borderlands-3-epic
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
- mf-install:
filename: master.zip
url: https://github.com/z0z0z/mf-install/archive/master.zip
- mf-installcab:
filename: master.zip
url: https://github.com/z0z0z/mf-installcab/archive/master.zip
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
- extract:
dst: $CACHE/mfinstall
src: mf-install
- extract:
dst: $CACHE/mfinstallcab
src: mf-installcab
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- execute:
env:
WINE: $HOME/.local/share/lutris/runners/wine/ge-protonified-4.10-x86_64/bin/wine
WINE64: $HOME/.local/share/lutris/runners/wine/ge-protonified-4.10-x86_64/bin/wine64
WINEARCH: win64
WINEPREFIX: $GAMEDIR
file: $CACHE/mfinstall/install-mf.sh
- chmodx: $CACHE/mfinstallcab/install-mf-64.sh
- execute:
env:
WINE: $HOME/.local/share/lutris/runners/wine/ge-protonified-4.10-x86_64/bin/wine
WINE64: $HOME/.local/share/lutris/runners/wine/ge-protonified-4.10-x86_64/bin/wine64
WINEARCH: win64
WINEPREFIX: $GAMEDIR
file: $CACHE/mfinstallcab/install-mf-64.sh
- 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:
dxvk: true
esync: true
version: ge-protonified-4.10-x86_64
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment