Installer assassins-creed-iv-black-flag-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:
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UplayInstaller.exe
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/Uplay.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    name: create_prefix
    prefix: $GAMEDIR
- extract:
    dst: $CACHE/dxsetup
    file: dx2010
- task:
    arch: win64
    args: /silent
    executable: $CACHE/dxsetup/DXSETUP.exe
    name: wineexec
    prefix: $GAMEDIR
- task:
    app: vcrun2008 vcrun2010 d3dcompiler_43 corefonts
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: dotnet472
    arch: win64
    description: Please be patient while we install .NET 4.7.2
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /S
    executable: uplay
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
wine:
  dxvk: true
  esync: true
  overrides:
    nvapi,nvapi64: disabled
    xaudio2_7: native,builtin
{
  "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",
    "exe": "drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/Uplay.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "extract": {
        "dst": "$CACHE/dxsetup",
        "file": "dx2010"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/silent",
        "executable": "$CACHE/dxsetup/DXSETUP.exe",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "vcrun2008 vcrun2010 d3dcompiler_43 corefonts",
        "arch": "win64",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "dotnet472",
        "arch": "win64",
        "description": "Please be patient while we install .NET 4.7.2",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/S",
        "executable": "uplay",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "wine": {
    "dxvk": true,
    "esync": true,
    "overrides": {
      "nvapi,nvapi64": "disabled",
      "xaudio2_7": "native,builtin"
    }
  }
}
Back to game