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
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- task:
app: nocrashdialog 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:
disable_runtime: false
env:
DXVK_HUD: 0
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
overrides:
nvapi,nvapi64: disabled
xaudio2_7: native,builtin
description: Only sets up Origin and DXVK you'll need to download Crysis 3 manually.
game_slug: crysis-3
gogslug: ''
humblestoreid: ''
installer_slug: crysis-3-origin-w-dxvk
name: Crysis 3
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\n1. Inside the game\
\ menus, go to settings and select \"full screen\" (also change any other option\
\ you might want).\r\n\r\n2. Try to play the game. If the mouse movement is not\
\ restricted (ie. you can rotate the view 360 deg) you are good to go (skip the\
\ rest of steps). Otherwise keep reading.\r\n\r\n3. Exit the game and Lutris.\r\n\
\r\n4. In the Lutris menus, right click on \"Crysis 3\" and select \"Configure -->\
\ Runner options --> Mouse Warp Override = Force\"\r\n\r\n5. Run the game. This\
\ time you will need to use the KEYBOARD to navigate the menus, but once inside\
\ the game, everything will work as expected (this is a wine issue, explained here\
\ in case you are curious: https://bugs.winehq.org/show_bug.cgi?id=43918 )\r\n\r\
\n---\r\nYou may encounter some stuttering when first running game but after a few\
\ minutes the DXVK cache builds and the stuttering disappears."
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
description: Creating Wine prefix
name: create_prefix
prefix: $GAMEDIR
- task:
app: nocrashdialog 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:
disable_runtime: false
env:
DXVK_HUD: 0
__GL_SHADER_DISK_CACHE: 1
__GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
overrides:
nvapi,nvapi64: disabled
xaudio2_7: native,builtin
slug: crysis-3-origin-w-dxvk
steamid: 1282690
version: Origin w/ DXVK
year: 2013
{
"game_slug": "crysis-3",
"version": "Origin w/ DXVK",
"description": "Only sets up Origin and DXVK you'll need to download Crysis 3 manually.",
"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\n1. Inside the game menus, go to settings and select \"full screen\" (also change any other option you might want).\r\n\r\n2. Try to play the game. If the mouse movement is not restricted (ie. you can rotate the view 360 deg) you are good to go (skip the rest of steps). Otherwise keep reading.\r\n\r\n3. Exit the game and Lutris.\r\n\r\n4. In the Lutris menus, right click on \"Crysis 3\" and select \"Configure --> Runner options --> Mouse Warp Override = Force\"\r\n\r\n5. Run the game. This time you will need to use the KEYBOARD to navigate the menus, but once inside the game, everything will work as expected (this is a wine issue, explained here in case you are curious: https://bugs.winehq.org/show_bug.cgi?id=43918 )\r\n\r\n---\r\nYou may encounter some stuttering when first running game but after a few minutes the DXVK cache builds and the stuttering disappears.",
"name": "Crysis 3",
"year": 2013,
"steamid": 1282690,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "crysis-3-origin-w-dxvk",
"installer_slug": "crysis-3-origin-w-dxvk",
"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",
"description": "Creating Wine prefix",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "nocrashdialog 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": {
"disable_runtime": false,
"env": {
"DXVK_HUD": 0,
"__GL_SHADER_DISK_CACHE": 1,
"__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
}
},
"wine": {
"overrides": {
"nvapi,nvapi64": "disabled",
"xaudio2_7": "native,builtin"
}
}
}
}