Installer battlefield-v-latest
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: - client: https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe - updater: https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh game: exe: drive_c/Program Files (x86)/Origin/Origin.exe prefix: $GAMEDIR installer: - task: description: Creating Wine prefix name: create_prefix prefix: $GAMEDIR - execute: command: mkdir "$GAMEDIR/bfv-nv-shaders" - input_menu: description: 'Setting DXVK workarounds please choose your GPU:' id: GPU options: - Not needed for AMD. Ignore this.: AMD - ? 'dxgi.customVendorId = 10de dxgi.nvapiHack = False' : Nvidia preselect: Not needed for AMD. Ignore this. - write_file: content: $INPUT_GPU file: $GAMEDIR/dxvk.conf - task: app: arial d3dcompiler_43 d3dcompiler_47 d3dx9 name: winetricks prefix: $GAMEDIR - task: args: /silent description: Installing Origin... Login window will pop-up and close. exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe explorer.exe executable: client name: wineexec prefix: $GAMEDIR - task: name: winekill prefix: $GAMEDIR - chmodx: updater - merge: dst: $GAMEDIR/drive_c/Program Files (x86)/Origin src: updater system: env: DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf STAGING_SHARED_MEMORY: 0 __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/bfv-nv-shaders exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe manual_command: $GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh wine: dxvk: true esync: true overrides: nvapi,nvapi64: disabled
{ "files": [ { "client": "https://origin-a.akamaihd.net/Origin-Client-Download/origin/live/OriginThinSetup.exe" }, { "updater": "https://raw.githubusercontent.com/DrDoctor13/wine-origin-updater/master/updateorigin.sh" } ], "game": { "exe": "drive_c/Program Files (x86)/Origin/Origin.exe", "prefix": "$GAMEDIR" }, "installer": [ { "task": { "description": "Creating Wine prefix", "name": "create_prefix", "prefix": "$GAMEDIR" } }, { "execute": { "command": "mkdir \"$GAMEDIR/bfv-nv-shaders\"" } }, { "input_menu": { "description": "Setting DXVK workarounds please choose your GPU:", "id": "GPU", "options": [ { "Not needed for AMD. Ignore this.": "AMD" }, { "dxgi.customVendorId = 10de\ndxgi.nvapiHack = False": "Nvidia" } ], "preselect": "Not needed for AMD. Ignore this." } }, { "write_file": { "content": "$INPUT_GPU", "file": "$GAMEDIR/dxvk.conf" } }, { "task": { "app": "arial d3dcompiler_43 d3dcompiler_47 d3dx9", "name": "winetricks", "prefix": "$GAMEDIR" } }, { "task": { "args": "/silent", "description": "Installing Origin... Login window will pop-up and close.", "exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe explorer.exe", "executable": "client", "name": "wineexec", "prefix": "$GAMEDIR" } }, { "task": { "name": "winekill", "prefix": "$GAMEDIR" } }, { "chmodx": "updater" }, { "merge": { "dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin", "src": "updater" } } ], "system": { "env": { "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf", "STAGING_SHARED_MEMORY": 0, "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/bfv-nv-shaders" }, "exclude_processes": "QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe", "manual_command": "$GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh" }, "wine": { "dxvk": true, "esync": true, "overrides": { "nvapi,nvapi64": "disabled" } } }