files:
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe
game:
arch: win64
args: uplay://launch/420/0 -skipintro
exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/Uplay.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- input_menu:
description: 'Setting DXVK workarounds please choose your GPU:'
id: GPU
options:
- dxgi.maxFrameLatency = 1: AMD
- ? 'dxgi.customVendorId = 10de
dxgi.nvapiHack = False
dxgi.FrameLatency = 1'
: Nvidia
preselect: dxgi.maxFrameLatency = 1
- write_file:
content: $INPUT_GPU
file: $GAMEDIR/dxvk.conf
- extract:
dst: $CACHE/dxsetup
file: dx2010
- task:
arch: win64
args: /silent
executable: $CACHE/dxsetup/DXSETUP.exe
name: wineexec
prefix: $GAMEDIR
- task:
app: arial win7 d3dcompiler_43
arch: win64
name: winetricks
prefix: $GAMEDIR
- task:
args: /S
executable: uplay
name: wineexec
prefix: $GAMEDIR
system:
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
description: Only installs Uplay you must install Far Cry 4 manually.
game_slug: far-cry-4
gogslug: ''
humblestoreid: ''
installer_slug: far-cry-4-uplay
name: Far Cry 4
notes: "Uncheck \"Enable in-game overlay for supported games\" in uplay settings!\r\
\nAdd \"FarCry4.exe\" in winecfg and set windows version to \"winexp\" to fix audio\
\ playback!"
runner: wine
script:
files:
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe
game:
arch: win64
args: uplay://launch/420/0 -skipintro
exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/Uplay.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- input_menu:
description: 'Setting DXVK workarounds please choose your GPU:'
id: GPU
options:
- dxgi.maxFrameLatency = 1: AMD
- ? 'dxgi.customVendorId = 10de
dxgi.nvapiHack = False
dxgi.FrameLatency = 1'
: Nvidia
preselect: dxgi.maxFrameLatency = 1
- write_file:
content: $INPUT_GPU
file: $GAMEDIR/dxvk.conf
- extract:
dst: $CACHE/dxsetup
file: dx2010
- task:
arch: win64
args: /silent
executable: $CACHE/dxsetup/DXSETUP.exe
name: wineexec
prefix: $GAMEDIR
- task:
app: arial win7 d3dcompiler_43
arch: win64
name: winetricks
prefix: $GAMEDIR
- task:
args: /S
executable: uplay
name: wineexec
prefix: $GAMEDIR
system:
env:
DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
slug: far-cry-4-uplay
steamid: 298110
version: Uplay
year: 2014
{
"game_slug": "far-cry-4",
"version": "Uplay",
"description": "Only installs Uplay you must install Far Cry 4 manually.",
"notes": "Uncheck \"Enable in-game overlay for supported games\" in uplay settings!\r\nAdd \"FarCry4.exe\" in winecfg and set windows version to \"winexp\" to fix audio playback!",
"name": "Far Cry 4",
"year": 2014,
"steamid": 298110,
"gogslug": "",
"humblestoreid": "",
"runner": "wine",
"slug": "far-cry-4-uplay",
"installer_slug": "far-cry-4-uplay",
"script": {
"files": [
{
"dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
},
{
"uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe"
}
],
"game": {
"arch": "win64",
"args": "uplay://launch/420/0 -skipintro",
"exe": "drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/Uplay.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"input_menu": {
"description": "Setting DXVK workarounds please choose your GPU:",
"id": "GPU",
"options": [
{
"dxgi.maxFrameLatency = 1": "AMD"
},
{
"dxgi.customVendorId = 10de\ndxgi.nvapiHack = False\ndxgi.FrameLatency = 1": "Nvidia"
}
],
"preselect": "dxgi.maxFrameLatency = 1"
}
},
{
"write_file": {
"content": "$INPUT_GPU",
"file": "$GAMEDIR/dxvk.conf"
}
},
{
"extract": {
"dst": "$CACHE/dxsetup",
"file": "dx2010"
}
},
{
"task": {
"arch": "win64",
"args": "/silent",
"executable": "$CACHE/dxsetup/DXSETUP.exe",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "arial win7 d3dcompiler_43",
"arch": "win64",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"args": "/S",
"executable": "uplay",
"name": "wineexec",
"prefix": "$GAMEDIR"
}
}
],
"system": {
"env": {
"DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf"
}
}
}
}