Installer watch-dogs-legion-uplay

files:
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
game:
  arch: win64
  args: uplay://launch/3353/0 -dx11 -BattlEyeLauncher
  exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating 64bit Wine prefix...
    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
- task:
    args: /S
    description: Installing Uplay...
    executable: uplay
    name: wineexec
    prefix: $GAMEDIR
system:
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    DXVK_HUD: compiler
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
description: Only sets-up prefix and downloads the game.
game_slug: watch-dogs-legion
gogslug: ''
humblestoreid: ''
installer_slug: watch-dogs-legion-uplay
name: Watch Dogs Legion
notes: "BattlEye needs to be disabled\r\n\r\nThis can be done while installing the\
  \ game:\r\n1. Navigate to Games (withing Ubisoft Connect) and click on the Watch\
  \ Dogs Legion\r\n2. On the left scroll down to \U0001F527 Properties and click on\
  \ it\r\n3. On the main part scroll down to Game launch arguments and click on Add\
  \ command line arguments\r\n4. Enter \"-dx11 -BattlEyeLauncher\" and click Save\r\
  \n5. Close Ubisoft Connect\r\n\r\nWarning: When closing the game some processes\
  \ won't stop remember to press Stop in Lutris"
runner: wine
script:
  files:
  - uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
  game:
    arch: win64
    args: uplay://launch/3353/0 -dx11 -BattlEyeLauncher
    exe: drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      description: Creating 64bit Wine prefix...
      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
  - task:
      args: /S
      description: Installing Uplay...
      executable: uplay
      name: wineexec
      prefix: $GAMEDIR
  system:
    env:
      DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
      DXVK_HUD: compiler
      DXVK_STATE_CACHE_PATH: $GAMEDIR
      __GL_SHADER_DISK_CACHE: 1
      __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
slug: watch-dogs-legion-uplay
steamid: 2239550
version: Uplay
year: 2020
{
  "game_slug": "watch-dogs-legion",
  "version": "Uplay",
  "description": "Only sets-up prefix and downloads the game.",
  "notes": "BattlEye needs to be disabled\r\n\r\nThis can be done while installing the game:\r\n1. Navigate to Games (withing Ubisoft Connect) and click on the Watch Dogs Legion\r\n2. On the left scroll down to \ud83d\udd27 Properties and click on it\r\n3. On the main part scroll down to Game launch arguments and click on Add command line arguments\r\n4. Enter \"-dx11 -BattlEyeLauncher\" and click Save\r\n5. Close Ubisoft Connect\r\n\r\nWarning: When closing the game some processes won't stop remember to press Stop in Lutris",
  "name": "Watch Dogs Legion",
  "year": 2020,
  "steamid": 2239550,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "watch-dogs-legion-uplay",
  "installer_slug": "watch-dogs-legion-uplay",
  "script": {
    "files": [
      {
        "uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe"
      }
    ],
    "game": {
      "arch": "win64",
      "args": "uplay://launch/3353/0 -dx11 -BattlEyeLauncher",
      "exe": "drive_c/Program Files (x86)/Ubisoft/Ubisoft Game Launcher/UbisoftConnect.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "description": "Creating 64bit Wine prefix...",
          "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"
        }
      },
      {
        "task": {
          "args": "/S",
          "description": "Installing Uplay...",
          "executable": "uplay",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
        "DXVK_HUD": "compiler",
        "DXVK_STATE_CACHE_PATH": "$GAMEDIR",
        "__GL_SHADER_DISK_CACHE": 1,
        "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
      }
    }
  }
}
Back to game