files:
- setup: https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe
game:
args: origin2://game/launch?offerIds=70377&autoDownload=1
exe: drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
app: win10
name: winetricks
prefix: $GAMEDIR
- task:
app: corefonts
name: winetricks
prefix: $GAMEDIR
- execute:
command: mkdir -p "$GAMEDIR/dao_nv-shaders"
- write_file:
content: dxgi.nvapiHack = False
file: $GAMEDIR/dxvk.conf
- task:
app: arial d3dcompiler_43 d3dcompiler_47 d3dx9
name: winetricks
prefix: $GAMEDIR
- task:
app: --force physx
name: winetricks
prefix: $GAMEDIR
- task:
args: EAX_LAUNCH_CLIENT=0
description: Installing EA app
executable: setup
name: wineexec
return_code: 768
- task:
name: winekill
prefix: $GAMEDIR
post_run:
- pkill EABackgroundService
system:
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
STAGING_SHARED_MEMORY: 0
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/dao_nv-shaders
exclude_processes: QtWebEngineProcess.exe ActivationUI.exe
wine:
overrides:
nvapi,nvapi64: disabled
description: Install a new AEapp instance, with new prefix of EAapp with requirements
for DA:O to run fine. Then auto-install or autolaunch DA:O
game_slug: dragon-age-origins-ultimate-edition
gogslug: dragon_age_origins
humblestoreid: ''
installer_slug: dragon-age-origins-ultimate-e-ea-app
name: 'Dragon Age: Origins - Ultimate Edition'
notes: "If you ever have an EAapp installation within lutris, this will not replace\
\ it! DA:O will not be added in your installed games in the previous EAapp, it will\
\ not appear on your EAapp sources shortcuts, only in windows platform and wine\
\ runner.\r\nRecommended wine version: lutris default (wine-ge-8-26-x86_64 currently)\
\ DA:O may not works on non wine-ge, curently proton versions does not works either\
\ and PhysX may be broken with it.\r\nWorks fine for me but it's my first YAML script!"
runner: wine
script:
files:
- setup: https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe
game:
args: origin2://game/launch?offerIds=70377&autoDownload=1
exe: drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
app: win10
name: winetricks
prefix: $GAMEDIR
- task:
app: corefonts
name: winetricks
prefix: $GAMEDIR
- execute:
command: mkdir -p "$GAMEDIR/dao_nv-shaders"
- write_file:
content: dxgi.nvapiHack = False
file: $GAMEDIR/dxvk.conf
- task:
app: arial d3dcompiler_43 d3dcompiler_47 d3dx9
name: winetricks
prefix: $GAMEDIR
- task:
app: --force physx
name: winetricks
prefix: $GAMEDIR
- task:
args: EAX_LAUNCH_CLIENT=0
description: Installing EA app
executable: setup
name: wineexec
return_code: 768
- task:
name: winekill
prefix: $GAMEDIR
post_run:
- pkill EABackgroundService
system:
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
STAGING_SHARED_MEMORY: 0
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR/dao_nv-shaders
exclude_processes: QtWebEngineProcess.exe ActivationUI.exe
wine:
overrides:
nvapi,nvapi64: disabled
slug: dragon-age-origins-ultimate-e-ea-app
steamid: 17450
version: EA App
year: 2009
{
"game_slug": "dragon-age-origins-ultimate-edition",
"version": "EA App",
"description": "Install a new AEapp instance, with new prefix of EAapp with requirements for DA:O to run fine. Then auto-install or autolaunch DA:O",
"notes": "If you ever have an EAapp installation within lutris, this will not replace it! DA:O will not be added in your installed games in the previous EAapp, it will not appear on your EAapp sources shortcuts, only in windows platform and wine runner.\r\nRecommended wine version: lutris default (wine-ge-8-26-x86_64 currently) DA:O may not works on non wine-ge, curently proton versions does not works either and PhysX may be broken with it.\r\nWorks fine for me but it's my first YAML script!",
"name": "Dragon Age: Origins - Ultimate Edition",
"year": 2009,
"steamid": 17450,
"gogslug": "dragon_age_origins",
"humblestoreid": "",
"runner": "wine",
"slug": "dragon-age-origins-ultimate-e-ea-app",
"installer_slug": "dragon-age-origins-ultimate-e-ea-app",
"script": {
"files": [
{
"setup": "https://origin-a.akamaihd.net/EA-Desktop-Client-Download/installer-releases/EAappInstaller.exe"
}
],
"game": {
"args": "origin2://game/launch?offerIds=70377&autoDownload=1",
"exe": "drive_c/Program Files/Electronic Arts/EA Desktop/EA Desktop/EALauncher.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "win10",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "corefonts",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"execute": {
"command": "mkdir -p \"$GAMEDIR/dao_nv-shaders\""
}
},
{
"write_file": {
"content": "dxgi.nvapiHack = False",
"file": "$GAMEDIR/dxvk.conf"
}
},
{
"task": {
"app": "arial d3dcompiler_43 d3dcompiler_47 d3dx9",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "--force physx",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"args": "EAX_LAUNCH_CLIENT=0",
"description": "Installing EA app",
"executable": "setup",
"name": "wineexec",
"return_code": 768
}
},
{
"task": {
"name": "winekill",
"prefix": "$GAMEDIR"
}
}
],
"post_run": [
"pkill EABackgroundService"
],
"system": {
"env": {
"DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
"STAGING_SHARED_MEMORY": 0,
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR/dao_nv-shaders"
},
"exclude_processes": "QtWebEngineProcess.exe ActivationUI.exe"
},
"wine": {
"overrides": {
"nvapi,nvapi64": "disabled"
}
}
}
}