Installer warcraft-iii-reign-of-chaos-cd-update-127b-ws

custom-name: Warcraft III - CD
files:
- menu: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_cd.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_cd.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:
    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:
    app: baekmuk arial lavfilters
    name: winetricks
    prefix: $GAMEDIR
- insert-disc:
    requires: war3.ico
- task:
    args: /desktop=WarcraftIII,1024x780 "$DISC/autoplay.exe"
    description: Installing Warcraft III...
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- input_menu:
    description: Please choose your CD native language in the list. Do not choose
      another language than the one from your CD or the update will not install and
      you will have to reinstall all the game.
    id: LANG
    options:
    - English: English
    - Francais: "Fran\xE7ais"
    - Italiano: Italiano
    - Deutsch: Deutsch
    - Castellano: Castellano
    - Cesky: Cesky
    - Chinese_Simp: simplified Chinese
    - Chinese_Trad: traditionnal Chinese
    - Japanese: Japanese
    - Korean: Korean
    - Polski: Polski
    - Russian: Russian
    preselect: English
- 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/Program Files (x86)/Warcraft III/
    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:
    command: cd "$GAMEDIR/drive_c/"; cp warcraft_iiia.bmp warcraft_iii.bmp; cd tmp;
      wget http://ftp.blizzard.com/pub/war3x/patches/pc/War3ROC_127b_$INPUT_LANG.exe;
- task:
    args: /desktop=WarcraftIIIupdate,1024x780 '$GAMEDIR/drive_c/tmp/War3ROC_127b_'$INPUT_LANG'.exe'
    description: Updating Warcraft III to 1.27b...
    executable: $GAMEDIR/drive_c/windows/explorer.exe
    include_processes: explorer.exe
    name: wineexec
- 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
- 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" CD edition using 1.27b update and a
  Widescreen patch'
game_slug: warcraft-iii-reign-of-chaos
gogslug: ''
humblestoreid: ''
installer_slug: warcraft-iii-reign-of-chaos-cd-update-127b-ws
name: 'Warcraft III: Reign of Chaos'
notes: "- This script is compatible with all \"Warcraft III - ROC\" PC CD whatever\
  \ the language is. \r\n- During install, your game will be updated with latest update\
  \ available version for CD: 1.27b.\r\n- You will need the CD only one time during\
  \ install.\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_cd.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_cd.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:
      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:
      app: baekmuk arial lavfilters
      name: winetricks
      prefix: $GAMEDIR
  - insert-disc:
      requires: war3.ico
  - task:
      args: /desktop=WarcraftIII,1024x780 "$DISC/autoplay.exe"
      description: Installing Warcraft III...
      executable: $GAMEDIR/drive_c/windows/explorer.exe
      include_processes: explorer.exe
      name: wineexec
  - input_menu:
      description: Please choose your CD native language in the list. Do not choose
        another language than the one from your CD or the update will not install
        and you will have to reinstall all the game.
      id: LANG
      options:
      - English: English
      - Francais: "Fran\xE7ais"
      - Italiano: Italiano
      - Deutsch: Deutsch
      - Castellano: Castellano
      - Cesky: Cesky
      - Chinese_Simp: simplified Chinese
      - Chinese_Trad: traditionnal Chinese
      - Japanese: Japanese
      - Korean: Korean
      - Polski: Polski
      - Russian: Russian
      preselect: English
  - 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/Program Files (x86)/Warcraft III/
      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:
      command: cd "$GAMEDIR/drive_c/"; cp warcraft_iiia.bmp warcraft_iii.bmp; cd tmp;
        wget http://ftp.blizzard.com/pub/war3x/patches/pc/War3ROC_127b_$INPUT_LANG.exe;
  - task:
      args: /desktop=WarcraftIIIupdate,1024x780 '$GAMEDIR/drive_c/tmp/War3ROC_127b_'$INPUT_LANG'.exe'
      description: Updating Warcraft III to 1.27b...
      executable: $GAMEDIR/drive_c/windows/explorer.exe
      include_processes: explorer.exe
      name: wineexec
  - 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
  - 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-cd-update-127b-ws
steamid: null
version: CD + update 1.27b + WS
year: 2002
{
  "game_slug": "warcraft-iii-reign-of-chaos",
  "version": "CD + update 1.27b + WS",
  "description": "\"Warcraft III - Reign of Chaos\" CD edition using 1.27b update and a Widescreen patch",
  "notes": "- This script is compatible with all \"Warcraft III - ROC\" PC CD whatever the language is. \r\n- During install, your game will be updated with latest update available version for CD: 1.27b.\r\n- You will need the CD only one time during install.\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-cd-update-127b-ws",
  "installer_slug": "warcraft-iii-reign-of-chaos-cd-update-127b-ws",
  "script": {
    "custom-name": "Warcraft III - CD",
    "files": [
      {
        "menu": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_cd.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_cd.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": {
          "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": {
          "app": "baekmuk arial lavfilters",
          "name": "winetricks",
          "prefix": "$GAMEDIR"
        }
      },
      {
        "insert-disc": {
          "requires": "war3.ico"
        }
      },
      {
        "task": {
          "args": "/desktop=WarcraftIII,1024x780 \"$DISC/autoplay.exe\"",
          "description": "Installing Warcraft III...",
          "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
          "include_processes": "explorer.exe",
          "name": "wineexec"
        }
      },
      {
        "input_menu": {
          "description": "Please choose your CD native language in the list. Do not choose another language than the one from your CD or the update will not install and you will have to reinstall all the game.",
          "id": "LANG",
          "options": [
            {
              "English": "English"
            },
            {
              "Francais": "Fran\u00e7ais"
            },
            {
              "Italiano": "Italiano"
            },
            {
              "Deutsch": "Deutsch"
            },
            {
              "Castellano": "Castellano"
            },
            {
              "Cesky": "Cesky"
            },
            {
              "Chinese_Simp": "simplified Chinese"
            },
            {
              "Chinese_Trad": "traditionnal Chinese"
            },
            {
              "Japanese": "Japanese"
            },
            {
              "Korean": "Korean"
            },
            {
              "Polski": "Polski"
            },
            {
              "Russian": "Russian"
            }
          ],
          "preselect": "English"
        }
      },
      {
        "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/Program Files (x86)/Warcraft III/",
          "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": {
          "command": "cd \"$GAMEDIR/drive_c/\"; cp warcraft_iiia.bmp warcraft_iii.bmp; cd tmp; wget http://ftp.blizzard.com/pub/war3x/patches/pc/War3ROC_127b_$INPUT_LANG.exe;"
        }
      },
      {
        "task": {
          "args": "/desktop=WarcraftIIIupdate,1024x780 '$GAMEDIR/drive_c/tmp/War3ROC_127b_'$INPUT_LANG'.exe'",
          "description": "Updating Warcraft III to 1.27b...",
          "executable": "$GAMEDIR/drive_c/windows/explorer.exe",
          "include_processes": "explorer.exe",
          "name": "wineexec"
        }
      },
      {
        "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"
        }
      },
      {
        "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