Installer far-cry-5-uplay

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:
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe
game:
  arch: win64
  args: uplay://launch/1803/0
  exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/Uplay.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- write_file:
    content: "overlay: \n  enabled: false\n"
    file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Ubisoft Game
      Launcher/settings.yml
- write_file:
    content: dxgi.maxFrameLatency = 1
    file: $GAMEDIR/dxvk.conf
- task:
    app: vcrun2017 corefonts win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /S
    executable: uplay
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
system:
  disable_runtime: false
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    DXVK_HUD: 0
    DXVK_STATE_CACHE_PATH: $GAMEDIR
wine:
  dxvk: true
  esync: true
{
  "files": [
    {
      "uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe"
    }
  ],
  "game": {
    "arch": "win64",
    "args": "uplay://launch/1803/0",
    "exe": "drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/Uplay.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "write_file": {
        "content": "overlay: \n  enabled: false\n",
        "file": "$GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Ubisoft Game Launcher/settings.yml"
      }
    },
    {
      "write_file": {
        "content": "dxgi.maxFrameLatency = 1",
        "file": "$GAMEDIR/dxvk.conf"
      }
    },
    {
      "task": {
        "app": "vcrun2017 corefonts win7",
        "arch": "win64",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/S",
        "executable": "uplay",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "system": {
    "disable_runtime": false,
    "env": {
      "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
      "DXVK_HUD": 0,
      "DXVK_STATE_CACHE_PATH": "$GAMEDIR"
    }
  },
  "wine": {
    "dxvk": true,
    "esync": true
  }
}
Back to game