Installer warcraft-iii-the-frozen-thron-digital-vulkan-wo-dx

files:
- dxvk_script: https://github.com/doitsujin/dxvk/releases/download/v1.5.3/dxvk-1.5.3.tar.gz
- setup: https://github.com/s4iya/Warcraft-III-Classic-Linux/releases/download/1.0/wc3-setup.tar.gz
game:
  arch: win64
  exclude_processes: Agent.exe "Battle.net Helper.exe"
  exe: drive_c/Program Files (x86)/Warcraft III/Warcraft-III-Setup.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: Setting Windows 10 mode for Wine
    key: Version
    name: set_regedit
    path: HKEY_CURRENT_USER\Software\Wine
    prefix: $GAMEDIR
    value: win10
- write_json:
    data:
      AdditionalLaunchArguments: -windowmode fullscreen
      Client: null
      GameLaunchWindowBehavior: '2'
      GameSearch:
        BackgroundSearch: 'true'
      HardwareAcceleration: 'false'
      Sound:
        Enabled: 'false'
      Streaming:
        StreamingEnabled: 'false'
      w3: null
    description: Writing a Battle.Net config file
    file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
- task:
    name: winekill
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/tmp/
    src: setup
- extract:
    dst: $GAMEDIR/drive_c/tmp/
    file: setup
- chmodx: $GAMEDIR/drive_c/tmp/setup_warcraft_iii.sh
- execute:
    command: WINEPREFIX=$PWD bash $GAMEDIR/drive_c/tmp/setup_warcraft_iii.sh
    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'
    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 Warcraft III: The Frozen Throne'
    executable: setup
    name: wineexec
    prefix: $GAMEDIR
- merge:
    dst: $GAMEDIR/drive_c/tmp/
    src: dxvk_script
- extract:
    dst: $GAMEDIR/drive_c/tmp/
    file: dxvk_script
- chmodx: $GAMEDIR/drive_c/tmp/setup_dxvk.sh
- execute:
    command: WINEPREFIX=$PWD bash $GAMEDIR/drive_c/tmp/setup_dxvk.sh install --without-dxgi
    prefix: $GAMEDIR
system:
  env:
    DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
    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:
  dxvk_version: Manual
  overrides:
    api-ms-win-crt-private-l1-1-0: n,b
    d3d12: disabled
    nvapi: disabled
    nvapi64: disabled
    ucrtbase: n,b
description: Installer for those who only have Warcraft III Classic associated to
  the Battle.net account. No Reforged key.
game_slug: warcraft-iii-the-frozen-throne
gogslug: ''
humblestoreid: ''
installer_slug: warcraft-iii-the-frozen-thron-digital-vulkan-wo-dx
name: 'Warcraft III: The Frozen Throne'
notes: "- Post-Reforged installer\r\n- You need a valid Warcraft III Classic key associated\
  \ to your Battle.Net account.\r\n- It will install the special Warcraft III launcher.\
  \ Once it's done installing and configuring files, the installer will close. You\
  \ can then launch the game from Lutris and it will automatically download Warcraft\
  \ III Classic.\r\n- Fix crash on startup."
runner: wine
script:
  files:
  - dxvk_script: https://github.com/doitsujin/dxvk/releases/download/v1.5.3/dxvk-1.5.3.tar.gz
  - setup: https://github.com/s4iya/Warcraft-III-Classic-Linux/releases/download/1.0/wc3-setup.tar.gz
  game:
    arch: win64
    exclude_processes: Agent.exe "Battle.net Helper.exe"
    exe: drive_c/Program Files (x86)/Warcraft III/Warcraft-III-Setup.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: Setting Windows 10 mode for Wine
      key: Version
      name: set_regedit
      path: HKEY_CURRENT_USER\Software\Wine
      prefix: $GAMEDIR
      value: win10
  - write_json:
      data:
        AdditionalLaunchArguments: -windowmode fullscreen
        Client: null
        GameLaunchWindowBehavior: '2'
        GameSearch:
          BackgroundSearch: 'true'
        HardwareAcceleration: 'false'
        Sound:
          Enabled: 'false'
        Streaming:
          StreamingEnabled: 'false'
        w3: null
      description: Writing a Battle.Net config file
      file: $GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config
  - task:
      name: winekill
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/tmp/
      src: setup
  - extract:
      dst: $GAMEDIR/drive_c/tmp/
      file: setup
  - chmodx: $GAMEDIR/drive_c/tmp/setup_warcraft_iii.sh
  - execute:
      command: WINEPREFIX=$PWD bash $GAMEDIR/drive_c/tmp/setup_warcraft_iii.sh
      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'
      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 Warcraft III: The Frozen Throne'
      executable: setup
      name: wineexec
      prefix: $GAMEDIR
  - merge:
      dst: $GAMEDIR/drive_c/tmp/
      src: dxvk_script
  - extract:
      dst: $GAMEDIR/drive_c/tmp/
      file: dxvk_script
  - chmodx: $GAMEDIR/drive_c/tmp/setup_dxvk.sh
  - execute:
      command: WINEPREFIX=$PWD bash $GAMEDIR/drive_c/tmp/setup_dxvk.sh install --without-dxgi
      prefix: $GAMEDIR
  system:
    env:
      DXVK_CONFIG_FILE: $GAMEDIR/dxvk.conf
      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:
    dxvk_version: Manual
    overrides:
      api-ms-win-crt-private-l1-1-0: n,b
      d3d12: disabled
      nvapi: disabled
      nvapi64: disabled
      ucrtbase: n,b
slug: warcraft-iii-the-frozen-thron-digital-vulkan-wo-dx
steamid: null
version: Digital (Vulkan w/o DXGI)
year: 2003
{
  "game_slug": "warcraft-iii-the-frozen-throne",
  "version": "Digital (Vulkan w/o DXGI)",
  "description": "Installer for those who only have Warcraft III Classic associated to the Battle.net account. No Reforged key.",
  "notes": "- Post-Reforged installer\r\n- You need a valid Warcraft III Classic key associated to your Battle.Net account.\r\n- It will install the special Warcraft III launcher. Once it's done installing and configuring files, the installer will close. You can then launch the game from Lutris and it will automatically download Warcraft III Classic.\r\n- Fix crash on startup.",
  "name": "Warcraft III: The Frozen Throne",
  "year": 2003,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "warcraft-iii-the-frozen-thron-digital-vulkan-wo-dx",
  "installer_slug": "warcraft-iii-the-frozen-thron-digital-vulkan-wo-dx",
  "script": {
    "files": [
      {
        "dxvk_script": "https://github.com/doitsujin/dxvk/releases/download/v1.5.3/dxvk-1.5.3.tar.gz"
      },
      {
        "setup": "https://github.com/s4iya/Warcraft-III-Classic-Linux/releases/download/1.0/wc3-setup.tar.gz"
      }
    ],
    "game": {
      "arch": "win64",
      "exclude_processes": "Agent.exe \"Battle.net Helper.exe\"",
      "exe": "drive_c/Program Files (x86)/Warcraft III/Warcraft-III-Setup.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": "Setting Windows 10 mode for Wine",
          "key": "Version",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Software\\Wine",
          "prefix": "$GAMEDIR",
          "value": "win10"
        }
      },
      {
        "write_json": {
          "data": {
            "AdditionalLaunchArguments": "-windowmode fullscreen",
            "Client": null,
            "GameLaunchWindowBehavior": "2",
            "GameSearch": {
              "BackgroundSearch": "true"
            },
            "HardwareAcceleration": "false",
            "Sound": {
              "Enabled": "false"
            },
            "Streaming": {
              "StreamingEnabled": "false"
            },
            "w3": null
          },
          "description": "Writing a Battle.Net config file",
          "file": "$GAMEDIR/drive_c/users/$USER/Application Data/Battle.net/Battle.net.config"
        }
      },
      {
        "task": {
          "name": "winekill",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp/",
          "src": "setup"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp/",
          "file": "setup"
        }
      },
      {
        "chmodx": "$GAMEDIR/drive_c/tmp/setup_warcraft_iii.sh"
      },
      {
        "execute": {
          "command": "WINEPREFIX=$PWD bash $GAMEDIR/drive_c/tmp/setup_warcraft_iii.sh",
          "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"
              }
            }
          },
          "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 Warcraft III: The Frozen Throne",
          "executable": "setup",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp/",
          "src": "dxvk_script"
        }
      },
      {
        "extract": {
          "dst": "$GAMEDIR/drive_c/tmp/",
          "file": "dxvk_script"
        }
      },
      {
        "chmodx": "$GAMEDIR/drive_c/tmp/setup_dxvk.sh"
      },
      {
        "execute": {
          "command": "WINEPREFIX=$PWD bash $GAMEDIR/drive_c/tmp/setup_dxvk.sh install --without-dxgi",
          "prefix": "$GAMEDIR"
        }
      }
    ],
    "system": {
      "env": {
        "DXVK_CONFIG_FILE": "$GAMEDIR/dxvk.conf",
        "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": {
      "dxvk_version": "Manual",
      "overrides": {
        "api-ms-win-crt-private-l1-1-0": "n,b",
        "d3d12": "disabled",
        "nvapi": "disabled",
        "nvapi64": "disabled",
        "ucrtbase": "n,b"
      }
    }
  }
}
Back to game