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:
arch: win64
exe: drive_c/Program Files (x86)/Origin/Origin.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
app: nocrashdialog vcrun2005 vcrun2008 vcrun2010 win7
arch: win64
name: winetricks
prefix: $GAMEDIR
- task:
arch: win64
args: /silent
description: Installing Origin... Login window will pop-up and close.
exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
QtWebEngineProcess.exe
executable: client
name: wineexec
prefix: $GAMEDIR
- task:
arch: win64
name: winekill
prefix: $GAMEDIR
- chmodx: updater
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
src: updater
system:
env:
DXVK_HUD: fps,compiler
description: null
game_slug: battlefield-bad-company-2
gogslug: ''
humblestoreid: ''
installer_slug: battlefield-bad-company-2-origin
name: 'Battlefield: Bad Company 2'
notes: ''
runner: wine
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:
arch: win64
exe: drive_c/Program Files (x86)/Origin/Origin.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
app: nocrashdialog vcrun2005 vcrun2008 vcrun2010 win7
arch: win64
name: winetricks
prefix: $GAMEDIR
- task:
arch: win64
args: /silent
description: Installing Origin... Login window will pop-up and close.
exclude_processes: Origin.exe OriginClientService.exe OriginWebHelperService.exe
QtWebEngineProcess.exe
executable: client
name: wineexec
prefix: $GAMEDIR
- task:
arch: win64
name: winekill
prefix: $GAMEDIR
- chmodx: updater
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
src: updater
system:
env:
DXVK_HUD: fps,compiler
slug: battlefield-bad-company-2-origin
steamid: 24960
version: Origin
year: 2010
{
"game_slug": "battlefield-bad-company-2",
"version": "Origin",
"description": null,
"notes": "",
"name": "Battlefield: Bad Company 2",
"year": 2010,
"steamid": 24960,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "battlefield-bad-company-2-origin",
"installer_slug": "battlefield-bad-company-2-origin",
"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": {
"arch": "win64",
"exe": "drive_c/Program Files (x86)/Origin/Origin.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "nocrashdialog vcrun2005 vcrun2008 vcrun2010 win7",
"arch": "win64",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"args": "/silent",
"description": "Installing Origin... Login window will pop-up and close.",
"exclude_processes": "Origin.exe OriginClientService.exe OriginWebHelperService.exe QtWebEngineProcess.exe",
"executable": "client",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"arch": "win64",
"name": "winekill",
"prefix": "$GAMEDIR"
}
},
{
"chmodx": "updater"
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin",
"src": "updater"
}
}
],
"system": {
"env": {
"DXVK_HUD": "fps,compiler"
}
}
}
}