Installer watch-dogs-epic-games

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:
  overrides:
    libEGL: n
description: Installs the Epic Games launcher with tweaks for Watch Dogs.
game_slug: watch-dogs
gogslug: ''
humblestoreid: ''
installer_slug: watch-dogs-epic-games
name: Watch Dogs
notes: "DO NOT Launch Ubisoft Connect after it finishes installing; instead, close\
  \ it and allow the Lutris installer to finish.\r\nThen, launch the game through\
  \ Lutris. The Epic Games launcher will open; use it to download Watch Dogs."
runner: wine
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:
    overrides:
      libEGL: n
slug: watch-dogs-epic-games
steamid: 243470
version: Epic Games
year: 2014
{
  "game_slug": "watch-dogs",
  "version": "Epic Games",
  "description": "Installs the Epic Games launcher with tweaks for Watch Dogs.",
  "notes": "DO NOT Launch Ubisoft Connect after it finishes installing; instead, close it and allow the Lutris installer to finish.\r\nThen, launch the game through Lutris. The Epic Games launcher will open; use it to download Watch Dogs.",
  "name": "Watch Dogs",
  "year": 2014,
  "steamid": 243470,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "watch-dogs-epic-games",
  "installer_slug": "watch-dogs-epic-games",
  "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": {
      "overrides": {
        "libEGL": "n"
      }
    }
  }
}
Back to game