Installer xdefiant-ubisoft-connect-1

files:
- ubisoftconnect: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
game:
  args: uplay://launch/15657/0
  exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
  prefix: $GAMEDIR
installer:
- task:
    name: create_prefix
    prefix: $GAMEDIR
- write_file:
    content: "overlay:\n  enabled: false\nuser:\n  closebehavior: CloseBehavior_Minimize"
    file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Ubisoft Game
      Launcher/settings.yml
- task:
    app: pdh
    name: winetricks
    prefix: $GAMEDIR
- task:
    args: /S
    executable: ubisoftconnect
    name: wineexec
    prefix: $GAMEDIR
system:
  env:
    DXVK_CONFIG: dxgi.customVendorId=1002
    DXVK_NVAPI_ALLOW_OTHER_DRIVERS: '1'
wine:
  overrides:
    pdh: n
description: WINE with pdh winetrick
game_slug: xdefiant
gogslug: ''
humblestoreid: ''
installer_slug: xdefiant-ubisoft-connect-1
name: XDefiant
notes: This installer adds the pdh wintrick and the necessary env var for both nvidia
  and amd
runner: wine
script:
  files:
  - ubisoftconnect: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
  game:
    args: uplay://launch/15657/0
    exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
    prefix: $GAMEDIR
  installer:
  - task:
      name: create_prefix
      prefix: $GAMEDIR
  - write_file:
      content: "overlay:\n  enabled: false\nuser:\n  closebehavior: CloseBehavior_Minimize"
      file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Ubisoft Game
        Launcher/settings.yml
  - task:
      app: pdh
      name: winetricks
      prefix: $GAMEDIR
  - task:
      args: /S
      executable: ubisoftconnect
      name: wineexec
      prefix: $GAMEDIR
  system:
    env:
      DXVK_CONFIG: dxgi.customVendorId=1002
      DXVK_NVAPI_ALLOW_OTHER_DRIVERS: '1'
  wine:
    overrides:
      pdh: n
slug: xdefiant-ubisoft-connect-1
steamid: null
version: ubisoft-connect
year: 2024
{
  "game_slug": "xdefiant",
  "version": "ubisoft-connect",
  "description": "WINE with pdh winetrick",
  "notes": "This installer adds the pdh wintrick and the necessary env var for both nvidia and amd",
  "name": "XDefiant",
  "year": 2024,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "xdefiant-ubisoft-connect-1",
  "installer_slug": "xdefiant-ubisoft-connect-1",
  "script": {
    "files": [
      {
        "ubisoftconnect": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe"
      }
    ],
    "game": {
      "args": "uplay://launch/15657/0",
      "exe": "drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_file": {
          "content": "overlay:\n  enabled: false\nuser:\n  closebehavior: CloseBehavior_Minimize",
          "file": "$GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Ubisoft Game Launcher/settings.yml"
        }
      },
      {
        "task": {
          "app": "pdh",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "args": "/S",
          "executable": "ubisoftconnect",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_CONFIG": "dxgi.customVendorId=1002",
        "DXVK_NVAPI_ALLOW_OTHER_DRIVERS": "1"
      }
    },
    "wine": {
      "overrides": {
        "pdh": "n"
      }
    }
  }
}
Back to game