Installer far-cry-4-steam

files:
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe
game:
  appid: 298110
  arch: win64
  args: -skipintro
  prefix: $GAMEDIR/prefix
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR/prefix
- input_menu:
    description: 'Choose your GPU:'
    id: GPU
    options:
    - '#dxgi.nvapiHack = False': AMD
    - dxgi.nvapiHack = False: Nvidia
    preselect: '#dxgi.nvapiHack = False'
- 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/prefix
- task:
    app: vcrun2010 corefonts
    arch: win64
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: dotnet472 win7
    arch: win64
    description: Please be patient while we install .NET 4.7.2
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\FarCry4.exe
    prefix: $GAMEDIR/prefix
    value: winxp
- task:
    arch: win64
    args: /S
    executable: uplay
    name: wineexec
    prefix: $GAMEDIR/prefix
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR/prefix
system:
  disable_runtime: false
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
description: null
game_slug: far-cry-4
gogslug: ''
humblestoreid: ''
installer_slug: far-cry-4-steam
name: Far Cry 4
notes: ''
runner: winesteam
script:
  files:
  - dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
  - uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe
  game:
    appid: 298110
    arch: win64
    args: -skipintro
    prefix: $GAMEDIR/prefix
  installer:
  - task:
      arch: win64
      name: create_prefix
      prefix: $GAMEDIR/prefix
  - input_menu:
      description: 'Choose your GPU:'
      id: GPU
      options:
      - '#dxgi.nvapiHack = False': AMD
      - dxgi.nvapiHack = False: Nvidia
      preselect: '#dxgi.nvapiHack = False'
  - 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/prefix
  - task:
      app: vcrun2010 corefonts
      arch: win64
      name: winetricks
      prefix: $GAMEDIR/prefix
  - task:
      app: dotnet472 win7
      arch: win64
      description: Please be patient while we install .NET 4.7.2
      name: winetricks
      prefix: $GAMEDIR/prefix
  - task:
      key: Version
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\AppDefaults\FarCry4.exe
      prefix: $GAMEDIR/prefix
      value: winxp
  - task:
      arch: win64
      args: /S
      executable: uplay
      name: wineexec
      prefix: $GAMEDIR/prefix
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR/prefix
  system:
    disable_runtime: false
    env:
      DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
slug: far-cry-4-steam
steamid: 298110
version: Steam
year: 2014
{
  "game_slug": "far-cry-4",
  "version": "Steam",
  "description": null,
  "notes": "",
  "name": "Far Cry 4",
  "year": 2014,
  "steamid": 298110,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "winesteam",
  "slug": "far-cry-4-steam",
  "installer_slug": "far-cry-4-steam",
  "script": {
    "files": [
      {
        "dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
      },
      {
        "uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe"
      }
    ],
    "game": {
      "appid": 298110,
      "arch": "win64",
      "args": "-skipintro",
      "prefix": "$GAMEDIR/prefix"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "name": "create_prefix",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "input_menu": {
          "description": "Choose your GPU:",
          "id": "GPU",
          "options": [
            {
              "#dxgi.nvapiHack = False": "AMD"
            },
            {
              "dxgi.nvapiHack = False": "Nvidia"
            }
          ],
          "preselect": "#dxgi.nvapiHack = False"
        }
      },
      {
        "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/prefix"
        }
      },
      {
        "task": {
          "app": "vcrun2010 corefonts",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "app": "dotnet472 win7",
          "arch": "win64",
          "description": "Please be patient while we install .NET 4.7.2",
          "name": "winetricks",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "key": "Version",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\AppDefaults\\FarCry4.exe",
          "prefix": "$GAMEDIR/prefix",
          "value": "winxp"
        }
      },
      {
        "task": {
          "arch": "win64",
          "args": "/S",
          "executable": "uplay",
          "name": "wineexec",
          "prefix": "$GAMEDIR/prefix"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR/prefix"
        }
      }
    ],
    "system": {
      "disable_runtime": false,
      "env": {
        "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf"
      }
    }
  }
}
Back to game