Installer far-cry-5-uplay-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:
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe
game:
  arch: win32
  exe: drive_c/Program Files/Ubisoft/Ubisoft Game Launcher/Uplay.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win32
    description: Creating Wine prefix
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: win7
    arch: win32
    description: Setting Windows version to 7
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: corefonts
    arch: win32
    description: Installing corefonts
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: d3dx11_43 d3dcompiler_43
    arch: win32
    description: Installing DirectX dlls
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /S
    executable: uplay
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win32
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: 0
  pulse_latency: true
wine:
  dxvk: true
  esync: true
  overrides:
    xaudio2_7: native,builtin
{
  "files": [
    {
      "uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe"
    }
  ],
  "game": {
    "arch": "win32",
    "exe": "drive_c/Program Files/Ubisoft/Ubisoft Game Launcher/Uplay.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win32",
        "description": "Creating Wine prefix",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "win7",
        "arch": "win32",
        "description": "Setting Windows version to 7",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "corefonts",
        "arch": "win32",
        "description": "Installing corefonts",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "d3dx11_43 d3dcompiler_43",
        "arch": "win32",
        "description": "Installing DirectX dlls",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "args": "/S",
        "executable": "uplay",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win32",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "system": {
    "env": {
      "DXVK_HUD": 0
    },
    "pulse_latency": true
  },
  "wine": {
    "dxvk": true,
    "esync": true,
    "overrides": {
      "xaudio2_7": "native,builtin"
    }
  }
}
Back to game