Installer far-cry-new-dawn-steam-w-dxvk

This script is for reference only and can't be directly used to install the game in the Lutris client. To install the game, download the full 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: 939960
  arch: win64
  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 vcrun2015 corefonts
    arch: win64
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: dotnet35sp1
    arch: win64
    description: Installing .NET 3.5
    name: winetricks
    prefix: $GAMEDIR/prefix
- task:
    app: dotnet472 win7
    arch: win64
    description: Installing .NET 4.7.2 please be patient
    name: winetricks
    prefix: $GAMEDIR/prefix
- 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
    DXVK_HUD: 0
winesteam:
  dxvk: true
  esync: true
{
  "files": [
    {
      "dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
    },
    {
      "uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe"
    }
  ],
  "game": {
    "appid": 939960,
    "arch": "win64",
    "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 vcrun2015 corefonts",
        "arch": "win64",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix"
      }
    },
    {
      "task": {
        "app": "dotnet35sp1",
        "arch": "win64",
        "description": "Installing .NET 3.5",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix"
      }
    },
    {
      "task": {
        "app": "dotnet472 win7",
        "arch": "win64",
        "description": "Installing .NET 4.7.2 please be patient",
        "name": "winetricks",
        "prefix": "$GAMEDIR/prefix"
      }
    },
    {
      "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",
      "DXVK_HUD": 0
    }
  },
  "winesteam": {
    "dxvk": true,
    "esync": true
  }
}
Back to game