Installer watch-dogs-epic-games

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:
- epic: https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi
- uplay: https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe
game:
  arch: win64
  args: -opengl -com.epicgames.launcher://apps/Tulip?action=launch&silent=true -SkipBuildPatchPrereq
  exe: drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: false
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: arial corefonts cjkfonts win7 dotnet472 xact xact_x64 vcrun2019 d3dcompiler_43
      d3dcompiler_47 d3dx9
    arch: win64
    description: Installing dependencies
    name: winetricks
    prefix: $GAMEDIR
- copy:
    dst: $CACHE/epic/
    src: epic
- task:
    arch: win64
    args: /i "$CACHE/epic/EpicGamesLauncherInstaller.msi" /q
    exclude_processes: EpicGamesLauncher.exe
    executable: msiexec
    name: wineexec
    prefix: $GAMEDIR
- task:
    arch: win64
    name: winekill
    prefix: $GAMEDIR
- task:
    arch: win64
    args: /S
    executable: uplay
    name: wineexec
    prefix: $GAMEDIR
- write_file:
    content: "overlay:\n  enabled: false\n  forceunhookgame: false\n  fps_enabled:\
      \ false\n  warning_enabled: false\nuser:\n  closebehavior: CloseBehavior_Close"
    file: $GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Ubisoft Game
      Launcher/settings.yml
system:
  env:
    DXVK_HUD: compiler
    MESA_GL_VERSION_OVERRIDE: 4.4COMPAT
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
  dxvk: true
  esync: true
  overrides:
    libEGL: n
{
  "files": [
    {
      "epic": "https://launcher-public-service-prod06.ol.epicgames.com/launcher/api/installer/download/EpicGamesLauncherInstaller.msi"
    },
    {
      "uplay": "https://ubistatic3-a.akamaihd.net/orbit/launcher_installer/UbisoftConnectInstaller.exe"
    }
  ],
  "game": {
    "arch": "win64",
    "args": "-opengl -com.epicgames.launcher://apps/Tulip?action=launch&silent=true -SkipBuildPatchPrereq",
    "exe": "drive_c/Program Files (x86)/Epic Games/Launcher/Portal/Binaries/Win32/EpicGamesLauncher.exe",
    "prefix": "$GAMEDIR"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "install_gecko": false,
        "install_mono": false,
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "arial corefonts cjkfonts win7 dotnet472 xact xact_x64 vcrun2019 d3dcompiler_43 d3dcompiler_47 d3dx9",
        "arch": "win64",
        "description": "Installing dependencies",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "copy": {
        "dst": "$CACHE/epic/",
        "src": "epic"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/i \"$CACHE/epic/EpicGamesLauncherInstaller.msi\" /q",
        "exclude_processes": "EpicGamesLauncher.exe",
        "executable": "msiexec",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "name": "winekill",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "args": "/S",
        "executable": "uplay",
        "name": "wineexec",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "write_file": {
        "content": "overlay:\n  enabled: false\n  forceunhookgame: false\n  fps_enabled: false\n  warning_enabled: false\nuser:\n  closebehavior: CloseBehavior_Close",
        "file": "$GAMEDIR/drive_c/users/$USER/Local Settings/Application Data/Ubisoft Game Launcher/settings.yml"
      }
    }
  ],
  "system": {
    "env": {
      "DXVK_HUD": "compiler",
      "MESA_GL_VERSION_OVERRIDE": "4.4COMPAT",
      "__GL_SHADER_DISK_CACHE": 1,
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR"
    }
  },
  "wine": {
    "dxvk": true,
    "esync": true,
    "overrides": {
      "libEGL": "n"
    }
  }
}
Back to game