Installer warcraft-iii-the-frozen-thron-digital

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: http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe
- setup2: 'N/A:Select the installer for Warcraft III: Reign of Chaos'
game:
  arch: win64
  exe: drive_c/Program Files/Warcraft III/x86/Warcraft III.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    description: Creating 64bit Wine prefix.
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: arial
    arch: win64
    description: Installing Arial font...
    name: winetricks
    prefix: $GAMEDIR
    silent: true
- task:
    arch: win64
    description: Setting Windows 7 mode for Wine
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win7
- write_json:
    data:
      Client:
        GameLaunchWindowBehavior: '2'
        GameSearch:
          BackgroundSearch: 'true'
        HardwareAcceleration: 'false'
        Sound:
          Enabled: 'false'
        Streaming:
          StreamingEnabled: 'false'
    description: Writing a Battle.Net config file
    file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
- task:
    arch: win64
    description: 'Installing Blizzard App. An installer will open.

      ------------------------------

      Log into your Blizzard account and keep the Blizzard app opened while installing
      Warcraft 3 TFT!'
    exclude_processes: Battle.net.exe Agent.exe "Battle.net Helper.exe"
    executable: setup
    name: wineexec
- task:
    description: 'Installing Warcraft III: The Frozen Throne'
    executable: setup2
    name: wineexec
    prefix: $GAMEDIR
system:
  env:
    DXVK_HUD: compiler
    DXVK_STATE_CACHE_PATH: $GAMEDIR
    STAGING_SHARED_MEMORY: 1
    __GL_SHADER_DISK_CACHE: 1
    __GL_SHADER_DISK_CACHE_PATH: $GAMEDIR
wine:
  dxvk: true
  esync: true
  overrides:
    d3d12: disabled
    nvapi: disabled
    nvapi64: disabled
  version: tkg-4.0-x86_64
{
  "installer": [
    {
      "task": {
        "description": "Creating 64bit Wine prefix.",
        "name": "create_prefix",
        "prefix": "$GAMEDIR",
        "arch": "win64"
      }
    },
    {
      "task": {
        "description": "Installing Arial font...",
        "arch": "win64",
        "name": "winetricks",
        "silent": true,
        "app": "arial",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "task": {
        "description": "Setting Windows 7 mode for Wine",
        "name": "set_regedit",
        "path": "HKEY_CURRENT_USER\\Software\\Wine",
        "arch": "win64",
        "value": "win7",
        "key": "Version",
        "prefix": "$GAMEDIR"
      }
    },
    {
      "write_json": {
        "description": "Writing a Battle.Net config file",
        "data": {
          "Client": {
            "GameSearch": {
              "BackgroundSearch": "true"
            },
            "GameLaunchWindowBehavior": "2",
            "Streaming": {
              "StreamingEnabled": "false"
            },
            "HardwareAcceleration": "false",
            "Sound": {
              "Enabled": "false"
            }
          }
        },
        "file": "$GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config"
      }
    },
    {
      "task": {
        "description": "Installing Blizzard App. An installer will open.\n------------------------------\nLog into your Blizzard account and keep the Blizzard app opened while installing Warcraft 3 TFT!",
        "name": "wineexec",
        "exclude_processes": "Battle.net.exe Agent.exe \"Battle.net Helper.exe\"",
        "executable": "setup",
        "arch": "win64"
      }
    },
    {
      "task": {
        "description": "Installing Warcraft III: The Frozen Throne",
        "name": "wineexec",
        "executable": "setup2",
        "prefix": "$GAMEDIR"
      }
    }
  ],
  "game": {
    "arch": "win64",
    "prefix": "$GAMEDIR",
    "exe": "drive_c/Program Files/Warcraft III/x86/Warcraft III.exe"
  },
  "system": {
    "env": {
      "__GL_SHADER_DISK_CACHE_PATH": "$GAMEDIR",
      "DXVK_HUD": "compiler",
      "__GL_SHADER_DISK_CACHE": 1,
      "STAGING_SHARED_MEMORY": 1,
      "DXVK_STATE_CACHE_PATH": "$GAMEDIR"
    }
  },
  "wine": {
    "esync": true,
    "overrides": {
      "nvapi64": "disabled",
      "d3d12": "disabled",
      "nvapi": "disabled"
    },
    "version": "tkg-4.0-x86_64",
    "dxvk": true
  },
  "files": [
    {
      "setup": "http://dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe"
    },
    {
      "setup2": "N/A:Select the installer for Warcraft III: Reign of Chaos"
    }
  ]
}
Back to game