Installer zwift-windows

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:
- setup:
    filename: ZwiftSetup.exe
    referer: https://www.zwift.com
    url: https://cdn.zwift.com/app/ZwiftSetup.exe
- run_from_process:
    filename: RunFromProcess.zip
    url: https://www.nirsoft.net/utils/runfromprocess.zip
game:
  arch: win64
  args: ZwiftLauncher.exe ZwiftApp.exe
  exe: $GAMEDIR/RunFromProcess.exe
  prefix: $GAMEDIR
  working_dir: $GAMEDIR/drive_c/Program Files (x86)/Zwift
installer:
- task:
    arch: win64
    description: Creating 64bit Wine prefix.
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: dotnet35sp1 win10
    arch: win64
    description: Installing .NET Framework Service Pack 1
    name: winetricks
    prefix: $GAMEDIR
- task:
    arch: win64
    description: Installing Zwift
    exclude_processes: ZwiftLauncher.exe
    executable: setup
    name: wineexec
- extract:
    dst: $GAMEDIR
    file: run_from_process
{
  "files": [
    {
      "setup": {
        "filename": "ZwiftSetup.exe",
        "referer": "https://www.zwift.com",
        "url": "https://cdn.zwift.com/app/ZwiftSetup.exe"
      }
    },
    {
      "run_from_process": {
        "filename": "RunFromProcess.zip",
        "url": "https://www.nirsoft.net/utils/runfromprocess.zip"
      }
    }
  ],
  "game": {
    "arch": "win64",
    "args": "ZwiftLauncher.exe ZwiftApp.exe",
    "exe": "$GAMEDIR/RunFromProcess.exe",
    "prefix": "$GAMEDIR",
    "working_dir": "$GAMEDIR/drive_c/Program Files (x86)/Zwift"
  },
  "installer": [
    {
      "task": {
        "arch": "win64",
        "description": "Creating 64bit Wine prefix.",
        "name": "create_prefix",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "app": "dotnet35sp1 win10",
        "arch": "win64",
        "description": "Installing .NET Framework Service Pack 1",
        "name": "winetricks",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "arch": "win64",
        "description": "Installing Zwift",
        "exclude_processes": "ZwiftLauncher.exe",
        "executable": "setup",
        "name": "wineexec"
      }
    },
    {
      "extract": {
        "dst": "$GAMEDIR",
        "file": "run_from_process"
      }
    }
  ]
}
Back to game