Installer star-wars-battlefront-ii-2017-epic-games-store
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: - epicsetup: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi 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 description: Creating Wine prefix install_gecko: false install_mono: false name: create_prefix prefix: $GAMEDIR - execute: command: mkdir "$GAMEDIR/nv-shaders" - write_file: content: dxgi.nvapiHack = False file: $GAMEDIR/dxvk.conf - task: app: arial d3dcompiler_43 d3dcompiler_47 d3dx9 arch: win64 description: Installing dependencies for Origin name: winetricks prefix: $GAMEDIR - task: name: winekill prefix: $GAMEDIR - task: app: vcrun2019 corefonts win10 arch: win64 description: Installing dependencies for Epic Games Store name: winetricks prefix: $GAMEDIR - task: arch: win64 key: background name: set_regedit path: HKEY_CURRENT_USER\Control Panel\Colors\ prefix: $GAMEDIR type: REG_SZ value: 89 84 85 - task: arch: win64 args: /desktop=EGS,$RESOLUTION msiexec /i "$epicsetup" /q description: Installing Epic Games Store... executable: $GAMEDIR/drive_c/windows/explorer.exe include_processes: explorer.exe name: wineexec prefix: $GAMEDIR - task: name: winekill prefix: $GAMEDIR system: env: DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf STAGING_SHARED_MEMORY: 0 __GL_SHADER_DISK_CACHE: 1 __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/nv-shaders exclude_processes: QtWebEngineProcess.exe wine: dxvk: true esync: true overrides: nvapi,nvapi64: disabled
{ "files": [ { "epicsetup": "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi" } ], "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", "description": "Creating Wine prefix", "install_gecko": false, "install_mono": false, "name": "create_prefix", "prefix": "$GAMEDIR" } }, { "execute": { "command": "mkdir \"$GAMEDIR/nv-shaders\"" } }, { "write_file": { "content": "dxgi.nvapiHack = False", "file": "$GAMEDIR/dxvk.conf" } }, { "task": { "app": "arial d3dcompiler_43 d3dcompiler_47 d3dx9", "arch": "win64", "description": "Installing dependencies for Origin", "name": "winetricks", "prefix": "$GAMEDIR" } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } }, { "task": { "app": "vcrun2019 corefonts win10", "arch": "win64", "description": "Installing dependencies for Epic Games Store", "name": "winetricks", "prefix": "$GAMEDIR" } }, { "task": { "arch": "win64", "key": "background", "name": "set_regedit", "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\", "prefix": "$GAMEDIR", "type": "REG_SZ", "value": "89 84 85" } }, { "task": { "arch": "win64", "args": "/desktop=EGS,$RESOLUTION msiexec /i \"$epicsetup\" /q", "description": "Installing Epic Games Store...", "executable": "$GAMEDIR/drive_c/windows/explorer.exe", "include_processes": "explorer.exe", "name": "wineexec", "prefix": "$GAMEDIR" } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } } ], "system": { "env": { "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf", "STAGING_SHARED_MEMORY": 0, "__GL_SHADER_DISK_CACHE": 1, "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/nv-shaders", "exclude_processes": "QtWebEngineProcess.exe" } }, "wine": { "dxvk": true, "esync": true, "overrides": { "nvapi,nvapi64": "disabled" } } }