description: Play "Warcraft III - Reign of Chaos" Digital edition on Linux!
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 \"Warcraft III: Reign of Chaos\" 1.27 from official\
\ Blizzard servers in English, French, Italian, German, Spanish, Japanese, Korean,\
\ Polish, Russian or Chinese language\r\n- Included latest 1.27b update and widescreen\
\ patch\r\n- You will need to provide a valid key during install\r\n- Multiplayer\
\ online is no more functionnal, but you can still play local network games (LAN).\
\ If it's a problem prefer playing \"W3 - Reforged\" version instead\r\n- Running\
\ with Wine, this game could be a little unstable, it's advised to save regularly\
\ your party\r\n- This game have issues playing cinematics. During my tests, game\
\ can play cinematics if: DXVK off, game launched in window mode (-window) with\
\ opengl renderer (-opengl). Depending on the graphics card used, MESA Zink and\
\ Gamescope could help too"
runner: wine
script:
files:
- reg_file: https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_cd_utf8.reg
- mod: 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: -window -opengl
exe: drive_c/Program Files (x86)/Warcraft III/Warcraft III.exe
prefix: $GAMEDIR
installer:
- task:
arch: win64
name: create_prefix
prefix: $GAMEDIR
- task:
app: baekmuk arial lavfilters
name: winetricks
prefix: $GAMEDIR
- merge:
dst: $GAMEDIR/drive_c/Program Files (x86)/Warcraft III
src: reg_file
- chmodx: script
- execute:
args: $RESOLUTION_WIDTH $RESOLUTION_HEIGHT
file: script
- task:
filename: $GAMEDIR/drive_c/Program Files (x86)/Warcraft III/warcraft_iii_cd_utf8.reg
name: set_regedit_file
- copy:
dst: $GAMEDIR/drive_c/Program Files (x86)/Warcraft III
src: mod
- input_menu:
description: 'Please choose Warcraft III language version you want to install:'
id: LANG
options:
- enUSEnglish: English
- frFRFrancais: French
- itITItaliano: Italian
- deDEDeutsch: German
- esESCastellano: Spanish
- jaJAJapanese: Japanese
- koKRKorean: Korean
- plPLPolski: Polish
- ruRURussian: Russian
- zhZNChinese_Simp: Chinese (S)
- zhTWChinese_Trad: Chinese (T)
preselect: enUSEnglish
- execute:
command: user_choice="$INPUT_LANG"; user_lang="${user_choice:4}"; user_locale="${user_choice:0:4}"; cd
"$GAMEDIR/drive_c/Program Files (x86)/Warcraft III/"; wget --no-check-certificate
-O w3roc_digital.exe "https://us.battle.net/download/getLegacy?product=WAR3&locale=$user_locale&os=WIN";
wget --no-check-certificate -O w3roc_update.exe http://ftp.blizzard.com/pub/war3x/patches/pc/War3ROC_127b_$user_lang.exe;
echo "les variables sont "$user_choice" "$user_locale" "$user_lang
- task:
description: Installing Warcraft III...Press OK and let the default options
executable: $GAMEDIR/drive_c/Program Files (x86)/Warcraft III/w3roc_digital.exe
name: wineexec
return_code: 25856
- task:
args: /desktop=WarcraftIIIupdate,640x480 '$GAMEDIR/drive_c/Program Files (x86)/Warcraft
III/w3roc_update.exe'
description: Updating Warcraft III to 1.27b...Close the Window once update finished.
executable: $GAMEDIR/drive_c/windows/explorer.exe
include_processes: explorer.exe
name: wineexec
system:
gamescope: false
gamescope_fps_limiter: '60'
gamescope_game_res: 1920x1080
gamescope_output_res: 1920x1080
wine:
dxvk: 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": "Play \"Warcraft III - Reign of Chaos\" Digital edition on Linux!",
"notes": "- This script will download \"Warcraft III: Reign of Chaos\" 1.27 from official Blizzard servers in English, French, Italian, German, Spanish, Japanese, Korean, Polish, Russian or Chinese language\r\n- Included latest 1.27b update and widescreen patch\r\n- You will need to provide a valid key during install\r\n- Multiplayer online is no more functionnal, but you can still play local network games (LAN). If it's a problem prefer playing \"W3 - Reforged\" version instead\r\n- Running with Wine, this game could be a little unstable, it's advised to save regularly your party\r\n- This game have issues playing cinematics. During my tests, game can play cinematics if: DXVK off, game launched in window mode (-window) with opengl renderer (-opengl). Depending on the graphics card used, MESA Zink and Gamescope could help too",
"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": {
"files": [
{
"reg_file": "https://github.com/legluondunet/MyLittleLutrisScripts/raw/master/Warcraft%20III%20-%20Reign%20of%20Chaos/warcraft_iii_cd_utf8.reg"
},
{
"mod": "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": "-window -opengl",
"exe": "drive_c/Program Files (x86)/Warcraft III/Warcraft III.exe",
"prefix": "$GAMEDIR"
},
"installer": [
{
"task": {
"arch": "win64",
"name": "create_prefix",
"prefix": "$GAMEDIR"
}
},
{
"task": {
"app": "baekmuk arial lavfilters",
"name": "winetricks",
"prefix": "$GAMEDIR"
}
},
{
"merge": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Warcraft III",
"src": "reg_file"
}
},
{
"chmodx": "script"
},
{
"execute": {
"args": "$RESOLUTION_WIDTH $RESOLUTION_HEIGHT",
"file": "script"
}
},
{
"task": {
"filename": "$GAMEDIR/drive_c/Program Files (x86)/Warcraft III/warcraft_iii_cd_utf8.reg",
"name": "set_regedit_file"
}
},
{
"copy": {
"dst": "$GAMEDIR/drive_c/Program Files (x86)/Warcraft III",
"src": "mod"
}
},
{
"input_menu": {
"description": "Please choose Warcraft III language version you want to install:",
"id": "LANG",
"options": [
{
"enUSEnglish": "English"
},
{
"frFRFrancais": "French"
},
{
"itITItaliano": "Italian"
},
{
"deDEDeutsch": "German"
},
{
"esESCastellano": "Spanish"
},
{
"jaJAJapanese": "Japanese"
},
{
"koKRKorean": "Korean"
},
{
"plPLPolski": "Polish"
},
{
"ruRURussian": "Russian"
},
{
"zhZNChinese_Simp": "Chinese (S)"
},
{
"zhTWChinese_Trad": "Chinese (T)"
}
],
"preselect": "enUSEnglish"
}
},
{
"execute": {
"command": "user_choice=\"$INPUT_LANG\"; user_lang=\"${user_choice:4}\"; user_locale=\"${user_choice:0:4}\"; cd \"$GAMEDIR/drive_c/Program Files (x86)/Warcraft III/\"; wget --no-check-certificate -O w3roc_digital.exe \"https://us.battle.net/download/getLegacy?product=WAR3&locale=$user_locale&os=WIN\"; wget --no-check-certificate -O w3roc_update.exe http://ftp.blizzard.com/pub/war3x/patches/pc/War3ROC_127b_$user_lang.exe; echo \"les variables sont \"$user_choice\" \"$user_locale\" \"$user_lang"
}
},
{
"task": {
"description": "Installing Warcraft III...Press OK and let the default options",
"executable": "$GAMEDIR/drive_c/Program Files (x86)/Warcraft III/w3roc_digital.exe",
"name": "wineexec",
"return_code": 25856
}
},
{
"task": {
"args": "/desktop=WarcraftIIIupdate,640x480 '$GAMEDIR/drive_c/Program Files (x86)/Warcraft III/w3roc_update.exe'",
"description": "Updating Warcraft III to 1.27b...Close the Window once update finished.",
"executable": "$GAMEDIR/drive_c/windows/explorer.exe",
"include_processes": "explorer.exe",
"name": "wineexec"
}
}
],
"system": {
"gamescope": false,
"gamescope_fps_limiter": "60",
"gamescope_game_res": "1920x1080",
"gamescope_output_res": "1920x1080"
},
"wine": {
"dxvk": false
}
}
}