Installer world-of-warcraft-classic-standard

files:
- setup:
    filename: Battle.net-Setup.exe
    url: https://battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe
game:
  arch: win64
  exe: drive_c/Program Files (x86)/Battle.net/Battle.net.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
- task:
    arch: win64
    description: 'Wine Staging: Enabling DXVA2'
    key: backend
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine\DXVA2
    prefix: $GAMEDIR
    value: va
- task:
    name: winekill
    prefix: $GAMEDIR
- write_json:
    data:
      Client:
        GameLaunchWindowBehavior: '2'
        HardwareAcceleration: 'false'
        Sound:
          Enabled: 'false'
        Streaming:
          StreamingEnabled: 'false'
    description: Disabling Sound/Hardware Acceleration/Streaming in Blizzard App
    file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
- task:
    arch: win64
    description: 'Installing Blizzard App

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

      Do not try to log into Battle.net. Lutris will automatically close the login
      window. After Lutris installer is finished, you can start Blizzard App with
      "Launch the game", and install / locate your Blizzard game.'
    exclude_processes: Battle.net.exe Agent.exe "Battle.net Helper.exe"
    executable: setup
    name: wineexec
- task:
    name: winekill
    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
  exclude_processes: Agent.exe "Battle.net Helper.exe"
wine:
  overrides:
    nvapi: disabled
    nvapi64: disabled
description: 'Platinum: installs and runs flawlessly'
game_slug: world-of-warcraft-classic
gogslug: ''
humblestoreid: ''
installer_slug: world-of-warcraft-classic-standard
name: World of Warcraft (Classic)
notes: "**IMPORTANT: INSTALL THE DEPENDENCIES FIRST**\r\nRead: Game: World-of-Warcraft\
  \ before trying to install World of Warcraft. And install the needed dependencies\
  \ for Wine into your system. Also, make sure you have Vulkan set up correctly.\r\
  \nSame steps as with WoW retail, if you've already installed retail successfully\
  \ you can just download Classic within your Battle.net launcher."
runner: wine
script:
  files:
  - setup:
      filename: Battle.net-Setup.exe
      url: https://battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe
  game:
    arch: win64
    exe: drive_c/Program Files (x86)/Battle.net/Battle.net.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
  - task:
      arch: win64
      description: 'Wine Staging: Enabling DXVA2'
      key: backend
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine\DXVA2
      prefix: $GAMEDIR
      value: va
  - task:
      name: winekill
      prefix: $GAMEDIR
  - write_json:
      data:
        Client:
          GameLaunchWindowBehavior: '2'
          HardwareAcceleration: 'false'
          Sound:
            Enabled: 'false'
          Streaming:
            StreamingEnabled: 'false'
      description: Disabling Sound/Hardware Acceleration/Streaming in Blizzard App
      file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
  - task:
      arch: win64
      description: 'Installing Blizzard App

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

        Do not try to log into Battle.net. Lutris will automatically close the login
        window. After Lutris installer is finished, you can start Blizzard App with
        "Launch the game", and install / locate your Blizzard game.'
      exclude_processes: Battle.net.exe Agent.exe "Battle.net Helper.exe"
      executable: setup
      name: wineexec
  - task:
      name: winekill
      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
    exclude_processes: Agent.exe "Battle.net Helper.exe"
  wine:
    overrides:
      nvapi: disabled
      nvapi64: disabled
slug: world-of-warcraft-classic-standard
steamid: null
version: Standard
year: 2019
{
  "game_slug": "world-of-warcraft-classic",
  "version": "Standard",
  "description": "Platinum: installs and runs flawlessly",
  "notes": "**IMPORTANT: INSTALL THE DEPENDENCIES FIRST**\r\nRead: Game: World-of-Warcraft before trying to install World of Warcraft. And install the needed dependencies for Wine into your system. Also, make sure you have Vulkan set up correctly.\r\nSame steps as with WoW retail, if you've already installed retail successfully you can just download Classic within your Battle.net launcher.",
  "name": "World of Warcraft (Classic)",
  "year": 2019,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "world-of-warcraft-classic-standard",
  "installer_slug": "world-of-warcraft-classic-standard",
  "script": {
    "files": [
      {
        "setup": {
          "filename": "Battle.net-Setup.exe",
          "url": "https://battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe"
        }
      }
    ],
    "game": {
      "arch": "win64",
      "exe": "drive_c/Program Files (x86)/Battle.net/Battle.net.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"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Wine Staging: Enabling DXVA2",
          "key": "backend",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine\\DXVA2",
          "prefix": "$GAMEDIR",
          "value": "va"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "write_json": {
          "data": {
            "Client": {
              "GameLaunchWindowBehavior": "2",
              "HardwareAcceleration": "false",
              "Sound": {
                "Enabled": "false"
              },
              "Streaming": {
                "StreamingEnabled": "false"
              }
            }
          },
          "description": "Disabling Sound/Hardware Acceleration/Streaming in Blizzard App",
          "file": "$GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config"
        }
      },
      {
        "task": {
          "arch": "win64",
          "description": "Installing Blizzard App\n------------------------------\nDo not try to log into Battle.net. Lutris will automatically close the login window. After Lutris installer is finished, you can start Blizzard App with \"Launch the game\", and install / locate your Blizzard game.",
          "exclude_processes": "Battle.net.exe Agent.exe \"Battle.net Helper.exe\"",
          "executable": "setup",
          "name": "wineexec"
        }
      },
      {
        "task": {
          "name": "winekill",
          "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"
      },
      "exclude_processes": "Agent.exe \"Battle.net Helper.exe\""
    },
    "wine": {
      "overrides": {
        "nvapi": "disabled",
        "nvapi64": "disabled"
      }
    }
  }
}
Back to game