Installer warcraft-iii-reign-of-chaos-digital-127-ws

custom-name: Warcraft III - CD
files:
- menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_digit.bat
- regfile: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_cd_utf8.reg
- wppa: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iiia.bmp
- wppb: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iiib.bmp
- rew: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/RenderEdge_Widescreen.mix
- script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/resolution.sh
game:
  args: c:\\warcraft_iii_digit.bat
  exe: drive_c/windows/syswow64/wineconsole.exe
  prefix: $GAMEDIR
installer:
- task:
    arch: win64
    install_gecko: true
    install_mono: false
    name: create_prefix
    prefix: $GAMEDIR
- task:
    app: baekmuk arial lavfilters
    name: winetricks
    prefix: $GAMEDIR
- copy:
    dst: $GAMEDIR/drive_c/
    src: menu
- copy:
    dst: $GAMEDIR/drive_c
    src: wppa
- copy:
    dst: $GAMEDIR/drive_c
    src: wppb
- merge:
    dst: $GAMEDIR/drive_c/tmp
    src: rew
- merge:
    dst: $GAMEDIR/drive_c/tmp
    src: regfile
- merge:
    dst: $GAMEDIR/drive_c/tmp
    src: script
- chmodx: $GAMEDIR/drive_c/tmp/resolution.sh
- execute:
    args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT warcraft_iii_cd_utf8.reg
    file: $GAMEDIR/drive_c/tmp/resolution.sh
- task:
    args: $GAMEDIR/drive_c/tmp/warcraft_iii_cd_utf8.reg
    executable: regedit
    name: wineexec
    prefix: $GAMEDIR
- input_menu:
    description: 'Please choose Warcraft III language version you want to install:'
    id: LANG
    options:
    - enUS: English
    - frFR: French
    - itIT: Italian
    - deDE: German
    - esES: Spanish
    - jaJA: Japanese
    - koKR: Korean
    - plPL: Polish
    - ruRU: Russian
    - zhZN: Chinese (S)
    - zhTW: Chinese (T)
    preselect: enUS
- execute:
    command: cd "$GAMEDIR/drive_c"; cp warcraft_iiia.bmp warcraft_iii.bmp; cd tmp;
      wget --no-check-certificate -O w3roc.exe "https://us.battle.net/download/getLegacy?product=WAR3&locale=$INPUT_LANG&os=WIN";
- task:
    arch: win64
    key: background
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    arch: win64
    key: ActiveTitle
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 0 0 0
- task:
    arch: win64
    key: GradientActiveTitle
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Colors\
    prefix: $GAMEDIR
    type: REG_SZ
    value: 255 255 255
- task:
    arch: win64
    key: wallpaper
    name: set_regedit
    path: HKEY_CURRENT_USER\Control Panel\Desktop\
    prefix: $GAMEDIR
    type: REG_SZ
    value: c:\\warcraft_iii.bmp
wine:
  Desktop: true
  dxvk: false
  vkd3d: false
description: '"Warcraft III - Reign of Chaos" 1.27 digital edition using a Widescreen
  patch'
game_slug: warcraft-iii-reign-of-chaos
gogslug: ''
humblestoreid: ''
installer_slug: warcraft-iii-reign-of-chaos-digital-127-ws
name: 'Warcraft III: Reign of Chaos'
notes: "- This script will download official Blizzard client \"Warcraft III: Reign\
  \ of Chaos\" 1.27 in English, French, Italian, German, Spanish, Japanese, Korean,\
  \ Polish, Russian, Chinese.\r\n- You will need a valid \"Warcraft III - Reign of\
  \ Chaos\" key.\r\n- Widescreen mode without stretch.\r\n- You can not play multiplayer\
  \ games on Internet, only Local LAN network games will be available. If it's a problem\
  \ prefer playing Reforged version instead.\r\n- Cinematics will not play correctly\
  \ and game could be unstable if you use DXVK or Wine with fshack patch. Prefer using\
  \ Wine vanilla or your Wine system version.\r\n- Running with Wine, this game could\
  \ be a little unstable, it's advised to save regularly your party."
runner: wine
script:
  custom-name: Warcraft III - CD
  files:
  - menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_digit.bat
  - regfile: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_cd_utf8.reg
  - wppa: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iiia.bmp
  - wppb: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iiib.bmp
  - rew: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/RenderEdge_Widescreen.mix
  - script: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/resolution.sh
  game:
    args: c:\\warcraft_iii_digit.bat
    exe: drive_c/windows/syswow64/wineconsole.exe
    prefix: $GAMEDIR
  installer:
  - task:
      arch: win64
      install_gecko: true
      install_mono: false
      name: create_prefix
      prefix: $GAMEDIR
  - task:
      app: baekmuk arial lavfilters
      name: winetricks
      prefix: $GAMEDIR
  - copy:
      dst: $GAMEDIR/drive_c/
      src: menu
  - copy:
      dst: $GAMEDIR/drive_c
      src: wppa
  - copy:
      dst: $GAMEDIR/drive_c
      src: wppb
  - merge:
      dst: $GAMEDIR/drive_c/tmp
      src: rew
  - merge:
      dst: $GAMEDIR/drive_c/tmp
      src: regfile
  - merge:
      dst: $GAMEDIR/drive_c/tmp
      src: script
  - chmodx: $GAMEDIR/drive_c/tmp/resolution.sh
  - execute:
      args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT warcraft_iii_cd_utf8.reg
      file: $GAMEDIR/drive_c/tmp/resolution.sh
  - task:
      args: $GAMEDIR/drive_c/tmp/warcraft_iii_cd_utf8.reg
      executable: regedit
      name: wineexec
      prefix: $GAMEDIR
  - input_menu:
      description: 'Please choose Warcraft III language version you want to install:'
      id: LANG
      options:
      - enUS: English
      - frFR: French
      - itIT: Italian
      - deDE: German
      - esES: Spanish
      - jaJA: Japanese
      - koKR: Korean
      - plPL: Polish
      - ruRU: Russian
      - zhZN: Chinese (S)
      - zhTW: Chinese (T)
      preselect: enUS
  - execute:
      command: cd "$GAMEDIR/drive_c"; cp warcraft_iiia.bmp warcraft_iii.bmp; cd tmp;
        wget --no-check-certificate -O w3roc.exe "https://us.battle.net/download/getLegacy?product=WAR3&locale=$INPUT_LANG&os=WIN";
  - task:
      arch: win64
      key: background
      name: set_regedit
      path: HKEY_CURRENT_USER\Control Panel\Colors\
      prefix: $GAMEDIR
      type: REG_SZ
      value: 0 0 0
  - task:
      arch: win64
      key: ActiveTitle
      name: set_regedit
      path: HKEY_CURRENT_USER\Control Panel\Colors\
      prefix: $GAMEDIR
      type: REG_SZ
      value: 0 0 0
  - task:
      arch: win64
      key: GradientActiveTitle
      name: set_regedit
      path: HKEY_CURRENT_USER\Control Panel\Colors\
      prefix: $GAMEDIR
      type: REG_SZ
      value: 255 255 255
  - task:
      arch: win64
      key: wallpaper
      name: set_regedit
      path: HKEY_CURRENT_USER\Control Panel\Desktop\
      prefix: $GAMEDIR
      type: REG_SZ
      value: c:\\warcraft_iii.bmp
  wine:
    Desktop: true
    dxvk: false
    vkd3d: false
slug: warcraft-iii-reign-of-chaos-digital-127-ws
steamid: null
version: Digital 1.27 + WS
year: 2002
{
  "game_slug": "warcraft-iii-reign-of-chaos",
  "version": "Digital 1.27 + WS",
  "description": "\"Warcraft III - Reign of Chaos\" 1.27 digital edition using a Widescreen patch",
  "notes": "- This script will download official Blizzard client \"Warcraft III: Reign of Chaos\" 1.27 in English, French, Italian, German, Spanish, Japanese, Korean, Polish, Russian, Chinese.\r\n- You will need a valid \"Warcraft III - Reign of Chaos\" key.\r\n- Widescreen mode without stretch.\r\n- You can not play multiplayer games on Internet, only Local LAN network games will be available. If it's a problem prefer playing Reforged version instead.\r\n- Cinematics will not play correctly and game could be unstable if you use DXVK or Wine with fshack patch. Prefer using Wine vanilla or your Wine system version.\r\n- Running with Wine, this game could be a little unstable, it's advised to save regularly your party.",
  "name": "Warcraft III: Reign of Chaos",
  "year": 2002,
  "steamid": null,
  "gogslug": "",
  "humblestoreid": "",
  "runner": "wine",
  "slug": "warcraft-iii-reign-of-chaos-digital-127-ws",
  "installer_slug": "warcraft-iii-reign-of-chaos-digital-127-ws",
  "script": {
    "custom-name": "Warcraft III - CD",
    "files": [
      {
        "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_digit.bat"
      },
      {
        "regfile": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_cd_utf8.reg"
      },
      {
        "wppa": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iiia.bmp"
      },
      {
        "wppb": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iiib.bmp"
      },
      {
        "rew": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/RenderEdge_Widescreen.mix"
      },
      {
        "script": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/resolution.sh"
      }
    ],
    "game": {
      "args": "c:\\\\warcraft_iii_digit.bat",
      "exe": "drive_c/windows/syswow64/wineconsole.exe",
      "prefix": "$GAMEDIR"
    },
    "installer": [
      {
        "task": {
          "arch": "win64",
          "install_gecko": true,
          "install_mono": false,
          "name": "create_prefix",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "task": {
          "app": "baekmuk arial lavfilters",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c/",
          "src": "menu"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c",
          "src": "wppa"
        }
      },
      {
        "copy": {
          "dst": "$GAMEDIR/drive_c",
          "src": "wppb"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp",
          "src": "rew"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp",
          "src": "regfile"
        }
      },
      {
        "merge": {
          "dst": "$GAMEDIR/drive_c/tmp",
          "src": "script"
        }
      },
      {
        "chmodx": "$GAMEDIR/drive_c/tmp/resolution.sh"
      },
      {
        "execute": {
          "args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT warcraft_iii_cd_utf8.reg",
          "file": "$GAMEDIR/drive_c/tmp/resolution.sh"
        }
      },
      {
        "task": {
          "args": "$GAMEDIR/drive_c/tmp/warcraft_iii_cd_utf8.reg",
          "executable": "regedit",
          "name": "wineexec",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "input_menu": {
          "description": "Please choose Warcraft III language version you want to install:",
          "id": "LANG",
          "options": [
            {
              "enUS": "English"
            },
            {
              "frFR": "French"
            },
            {
              "itIT": "Italian"
            },
            {
              "deDE": "German"
            },
            {
              "esES": "Spanish"
            },
            {
              "jaJA": "Japanese"
            },
            {
              "koKR": "Korean"
            },
            {
              "plPL": "Polish"
            },
            {
              "ruRU": "Russian"
            },
            {
              "zhZN": "Chinese (S)"
            },
            {
              "zhTW": "Chinese (T)"
            }
          ],
          "preselect": "enUS"
        }
      },
      {
        "execute": {
          "command": "cd \"$GAMEDIR/drive_c\"; cp warcraft_iiia.bmp warcraft_iii.bmp; cd tmp; wget --no-check-certificate -O w3roc.exe \"https://us.battle.net/download/getLegacy?product=WAR3&locale=$INPUT_LANG&os=WIN\";"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "background",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "0 0 0"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "ActiveTitle",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "0 0 0"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "GradientActiveTitle",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Control Panel\\Colors\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "255 255 255"
        }
      },
      {
        "task": {
          "arch": "win64",
          "key": "wallpaper",
          "name": "set_regedit",
          "path": "HKEY_CURRENT_USER\\Control Panel\\Desktop\\",
          "prefix": "$GAMEDIR",
          "type": "REG_SZ",
          "value": "c:\\\\warcraft_iii.bmp"
        }
      }
    ],
    "wine": {
      "Desktop": true,
      "dxvk": false,
      "vkd3d": false
    }
  }
}
Back to game