files:
- updater: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/origin/updateorigin.sh
- client: https://download.dm.origin.com/origin/live/OriginThinSetup.exe
game:
arch: win64
exe: drive_c/Program Files (x86)/Origin/Origin.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- execute:
command: mkdir "$GAMEDIR/nv-shaders"
- write_file:
content: dxgi.nvapiHack = False
file: $GAMEDIR/dxvk.conf
- chmodx: updater
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
src: updater
- task:
app: arial d3dcompiler_43 d3dcompiler_47 d3dx9 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:
name: winekill
prefix: $GAMEDIR
system:
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
DXVK_HUD: 0
STAGING_SHARED_MEMORY: 0
WINE_LARGE_ADDRESS_AWARE: 1
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/nv-shaders
exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe
manual_command: $GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh
wine:
overrides:
nvapi,nvapi64: disabled
openal32: builtin
description: Only sets up Origin you'll need to download Dragon Age II manually from
the Origin Client.
game_slug: dragon-age-ii
gogslug: ''
humblestoreid: ''
installer_slug: dragon-age-ii-origin
name: Dragon Age II
notes: "Please read before installing: <a href=\"https://github.com/lutris/lutris/wiki/Game:-Origin\"\
>https://github.com/lutris/lutris/wiki/Game:-Origin</a>\r\n\r\n\r\nDisable Origin\
\ in game, (top left corner press Origin>Application Settings>Origin In Game )\r\
\n\r\nI also went to My Library, right clicked on Dragon Age II and went into Game\
\ Properties and unchecked \"Enable Origin In Game for Dragon Age II\"\r\n\r\nGame\
\ loads in windows mode, havent found a way to get it to load Full Screen without\
\ crashing though... might be a lutris thing??...???"
runner: wine
script:
files:
- updater: https://lutris.nyc3.cdn.digitaloceanspaces.com/games/origin/updateorigin.sh
- client: https://download.dm.origin.com/origin/live/OriginThinSetup.exe
game:
arch: win64
exe: drive_c/Program Files (x86)/Origin/Origin.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- execute:
command: mkdir "$GAMEDIR/nv-shaders"
- write_file:
content: dxgi.nvapiHack = False
file: $GAMEDIR/dxvk.conf
- chmodx: updater
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Origin
src: updater
- task:
app: arial d3dcompiler_43 d3dcompiler_47 d3dx9 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:
name: winekill
prefix: $GAMEDIR
system:
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
DXVK_HUD: 0
STAGING_SHARED_MEMORY: 0
WINE_LARGE_ADDRESS_AWARE: 1
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/nv-shaders
exclude_processes: QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe
manual_command: $GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh
wine:
overrides:
nvapi,nvapi64: disabled
openal32: builtin
slug: dragon-age-ii-origin
steamid: 47900
version: Origin
year: 2011
{
"game_slug": "dragon-age-ii",
"version": "Origin",
"description": "Only sets up Origin you'll need to download Dragon Age II manually from the Origin Client.",
"notes": "Please read before installing: <a href=\"https://github.com/lutris/lutris/wiki/Game:-Origin\">https://github.com/lutris/lutris/wiki/Game:-Origin</a>\r\n\r\n\r\nDisable Origin in game, (top left corner press Origin>Application Settings>Origin In Game )\r\n\r\nI also went to My Library, right clicked on Dragon Age II and went into Game Properties and unchecked \"Enable Origin In Game for Dragon Age II\"\r\n\r\nGame loads in windows mode, havent found a way to get it to load Full Screen without crashing though... might be a lutris thing??...???",
"name": "Dragon Age II",
"year": 2011,
"steamid": 47900,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "dragon-age-ii-origin",
"installer_slug": "dragon-age-ii-origin",
"script": {
"files": [
{
"updater": "https://lutris.nyc3.cdn.digitaloceanspaces.com/games/origin/updateorigin.sh"
},
{
"client": "https://download.dm.origin.com/origin/live/OriginThinSetup.exe"
}
],
"game": {
"arch": "win64",
"exe": "drive_c/Program Files (x86)/Origin/Origin.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"description": "Creating Wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"execute": {
"command": "mkdir \"$GAMEDIR/nv-shaders\""
}
},
{
"write_file": {
"content": "dxgi.nvapiHack = False",
"file": "$GAMEDIR/dxvk.conf"
}
},
{
"chmodx": "updater"
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Origin",
"src": "updater"
}
},
{
"task": {
"app": "arial d3dcompiler_43 d3dcompiler_47 d3dx9 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": {
"name": "winekill",
"prefix": "$GAMEDIR"
}
}
],
"system": {
"env": {
"DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
"DXVK_HUD": 0,
"STAGING_SHARED_MEMORY": 0,
"WINE_LARGE_ADDRESS_AWARE": 1,
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/nv-shaders"
},
"exclude_processes": "QtWebEngineProcess.exe ActivationUI.exe OriginWebHelperService.exe",
"manual_command": "$GAMEDIR/drive_c/Program Files (x86)/Origin/updateorigin.sh"
},
"wine": {
"overrides": {
"nvapi,nvapi64": "disabled",
"openal32": "builtin"
}
}
}
}