Installer assassins-creed-brotherhood-uplay-w-dxvk

files:
- dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
game:
  arch: win64
  args: uplay://launch/26/0
  exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating Wine Bottle
    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
- input_menu:
    description: 'Setting DXVK workarounds please choose your GPU:'
    id: GPU
    options:
    - dxgi.maxFrameLatency = 1: AMD
    - ? 'dxgi.customVendorId = 10de

        dxgi.nvapiHack = False

        dxgi.FrameLatency = 1'
      : Nvidia
    preselect: dxgi.maxFrameLatency = 1
- 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
- task:
    app: arial win7 d3dcompiler_43
    name: winetricks
    prefix: $GAMEDIR
- task:
    app: corefonts vcrun2008 win7
    arch: win64
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /S
    executable: uplay
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
system:
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    DXVK_HUD: compiler
    DXVK_LOG_LEVEL: none
    DXVK_STATE_CACHE_PATH: $GAMEDIR
wine:
  overrides:
    nvapi,nvapi64: disabled
description: null
game_slug: assassins-creed-brotherhood
gogslug: ''
humblestoreid: ''
installer_slug: assassins-creed-brotherhood-uplay-w-dxvk
name: Assassin's Creed Brotherhood
notes: ''
runner: wine
script:
  files:
  - dx2010: https://lutris.net/files/tools/directx-2010.tar.gz
  - uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
  game:
    arch: win64
    args: uplay://launch/26/0
    exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating Wine Bottle
      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
  - input_menu:
      description: 'Setting DXVK workarounds please choose your GPU:'
      id: GPU
      options:
      - dxgi.maxFrameLatency = 1: AMD
      - ? 'dxgi.customVendorId = 10de

          dxgi.nvapiHack = False

          dxgi.FrameLatency = 1'
        : Nvidia
      preselect: dxgi.maxFrameLatency = 1
  - 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
  - task:
      app: arial win7 d3dcompiler_43
      name: winetricks
      prefix: $GAMEDIR
  - task:
      app: corefonts vcrun2008 win7
      arch: win64
      name: winetricks
      prefix: $GAMEDIR
  - task:
      args: /S
      executable: uplay
      name: wineexec
      prefix: $GAMEDIR
  - task:
      arch: win64
      name: winekill
      prefix: $GAMEDIR
  system:
    env:
      DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
      DXVK_HUD: compiler
      DXVK_LOG_LEVEL: none
      DXVK_STATE_CACHE_PATH: $GAMEDIR
  wine:
    overrides:
      nvapi,nvapi64: disabled
slug: assassins-creed-brotherhood-uplay-w-dxvk
steamid: 48190
version: Uplay /w DXVK
year: 2011
{
  "game_slug": "assassins-creed-brotherhood",
  "version": "Uplay /w DXVK",
  "description": null,
  "notes": "",
  "name": "Assassin's Creed Brotherhood",
  "year": 2011,
  "steamid": 48190,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "assassins-creed-brotherhood-uplay-w-dxvk",
  "installer_slug": "assassins-creed-brotherhood-uplay-w-dxvk",
  "script": {
    "files": [
      {
        "dx2010": "https://lutris.net/files/tools/directx-2010.tar.gz"
      },
      {
        "uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "args": "uplay://launch/26/0",
      "exe": "drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating Wine Bottle",
          "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"
        }
      },
      {
        "input_menu": {
          "description": "Setting DXVK workarounds please choose your GPU:",
          "id": "GPU",
          "options": [
            {
              "dxgi.maxFrameLatency = 1": "AMD"
            },
            {
              "dxgi.customVendorId = 10de\ndxgi.nvapiHack = False\ndxgi.FrameLatency = 1": "Nvidia"
            }
          ],
          "preselect": "dxgi.maxFrameLatency = 1"
        }
      },
      {
        "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"
        }
      },
      {
        "task": {
          "app": "arial win7 d3dcompiler_43",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "corefonts vcrun2008 win7",
          "arch": "win64",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/S",
          "executable": "uplay",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "arch": "win64",
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
        "DXVK_HUD": "compiler",
        "DXVK_LOG_LEVEL": "none",
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR"
      }
    },
    "wine": {
      "overrides": {
        "nvapi,nvapi64": "disabled"
      }
    }
  }
}
Back to game