User Tools

Site Tools


games:linux:wine:warcraft_3

Information

  • Warcraft III: Reign of Chaos
  • Warcraft III: The Frozen Throne

Prerequisites

Notes

  • The Frozen Throne is not standalone and requires Reign of Chaos
  • This is legacy Warcraft III through CD-Keys and not Reforged with Battle.net client

Install

Reign of Chaos

mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Warcraft III' WINEARCH='win32' winetricks 'winxp' && sync && PULSE_LATENCY_MSEC='400' WINEPREFIX=~/'.wine/Warcraft III' WINEARCH='win32' wine ~/'Downloads/Warcraft III/War3-1.27-Installer-enUS-ROC/Installer.exe'

The Frozen Throne

sync && PULSE_LATENCY_MSEC='400' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'Downloads/Warcraft III/War3-1.27-Installer-enUS-TFT/Installer.exe'

Patch

1.27b Download

wget --no-check-certificate -O ~/'Downloads/Warcraft III/War3TFT_127b_English.exe' 'https://ftp.blizzard.com/pub/war3x/patches/pc/War3TFT_127b_English.exe' && md5sum ~/'Downloads/Warcraft III/War3TFT_127b_English.exe' | grep '565cfe931dcdefd28a1026b6da4031f7' > '/dev/null' && sync && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Warcraft III' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'Downloads/Warcraft III/War3TFT_127b_English.exe'

Local

sync && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Warcraft III' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'Downloads/War3TFT_127b'*'.exe'

Custom Maps

mkdir -p ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom' && mv ~/'Downloads/Warcraft III/Maps/'*'.w3x' ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom/'

Disable Intro Videos

WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Misc' /v 'seeintromovie' /t 'REG_DWORD' /d '1' /f

Clean Up

rm -Rf ~/'Downloads/Warcraft III' ~/'Desktop/Warcraft III.desktop' ~/'Desktop/Warcraft III - The Frozen Throne.desktop' && sync

Settings

Reset Gamma

WINEPREFIX=~/'.wine/Warcraft III' wine reg delete 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'gamma' /f

32-bit Color

WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'cinematicbpp' /t 'REG_DWORD' /d '32' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'colordepth' /t 'REG_DWORD' /d '32' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'texcolordepth' /t 'REG_DWORD' /d '32' /f

1080p

WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'cinematicheight' /t 'REG_DWORD' /d '1080' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'cinematicwidth' /t 'REG_DWORD' /d '1920' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'resheight' /t 'REG_DWORD' /d '1080' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'reswidth' /t 'REG_DWORD' /d '1920' /f

Refresh Rate

  • 75Hz
WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'cinematicrefresh' /t 'REG_DWORD' /d '75' /f && WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Video' /v 'refreshrate' /t 'REG_DWORD' /d '75' /f

Desktop Launchers

Initial

rm -Rf ~/'.local/share/applications/wine/Programs/Warcraft III' && mkdir -p ~/'.local/share/applications/wine/Programs/Warcraft III'

Reign of Chaos

nano ~/'.local/share/applications/wine/Programs/Warcraft III/Warcraft III: Reign of Chaos.desktop'
[Desktop Entry]
Name=Warcraft III: Reign of Chaos
Categories=Game;AdventureGame;LogicGame;RolePlaying;StrategyGame
Exec='/bin/bash' -c "cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Warcraft III' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Warcraft III.exe'"
Type=Application
StartupNotify=true
Icon=3263_Warcraft III.0
StartupWMClass=war3.exe
Actions=Kill;Notes;

[Desktop Action Kill]
Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Warcraft III' wineserver --kill"
Exec='/bin/killall' -9 'war3.exe'
Name=Force-close Warcraft III

[Desktop Action Notes]
StartupNotify=false
Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:warcraft_3'
Name=Installation Notes

# End

The Frozen Throne

nano ~/'.local/share/applications/wine/Programs/Warcraft III/Warcraft III: The Frozen Throne.desktop'
[Desktop Entry]
Name=Warcraft III: The Frozen Throne
Categories=Game;AdventureGame;LogicGame;RolePlaying;StrategyGame
Exec='/bin/bash' -c "cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Warcraft III' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Frozen Throne.exe'"
Type=Application
StartupNotify=true
Icon=0128_Frozen Throne.0
StartupWMClass=war3.exe
Actions=Kill;Notes;

[Desktop Action Kill]
Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Warcraft III' wineserver --kill"
Exec='/bin/killall' -9 'war3.exe'
Name=Force-close Warcraft III

[Desktop Action Notes]
StartupNotify=false
Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:warcraft_3'
Name=Installation Notes

# End

Quick Commands

Winecfg

WINEPREFIX=~/'.wine/Warcraft III' winecfg

Winetricks

WINEPREFIX=~/'.wine/Warcraft III' winetricks

Registry Editor

WINEPREFIX=~/'.wine/Warcraft III' regedit

Kill

WINEPREFIX=~/'.wine/Warcraft III' wineserver --kill && killall -9 'war3.exe'

Execute

Reign of Chaos

cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Warcraft III' WINEDEBUG='' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Warcraft III.exe'
-opengl

The Frozen Throne

cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Warcraft III' WINEDEBUG='' WINEPREFIX=~/'.wine/Warcraft III' wine ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Frozen Throne.exe'
-opengl

File Manager

Root

gio open ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III'

Custom Maps

gio open ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom'

Saved Games/Profiles

gio open ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Save'

Move Downloaded Maps

mkdir -p ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom' && mv ~/'Downloads/'*'.w3m' ~/'Downloads/'*'.w3x' ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom'

Copy Custom Maps

cp -R ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom' ~/'Downloads'
/var/www/wiki/data/pages/games/linux/wine/warcraft_3.txt · Last modified: by 127.0.0.1