User Tools

Site Tools


games:bsd: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' winecfg /v 'winxp' && sync && WINEPREFIX=~/'.wine/Warcraft III' WINEARCH='win32' wine ~/'Downloads/Warcraft III/War3-1.27-Installer-enUS-ROC/Installer.exe'

The Frozen Throne

sync && 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 && WINEPREFIX=~/'.wine/Warcraft III' wine ~/'Downloads/Warcraft III/War3TFT_127b_English.exe'

Local

sync && 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 -v -f ~/'Downloads/Warcraft III/Maps/'*'.w3x' ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Maps/Custom/'

Disable Intro Videos

  • May require starting the game once in a virtual desktop
WINEPREFIX=~/'.wine/Warcraft III' wine reg add 'HKEY_CURRENT_USER\Software\Blizzard Entertainment\Warcraft III\Misc' /v 'seeintromovie' /t 'REG_DWORD' /d '1' /f
cd ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' && WINEDEBUG='' WINEPREFIX=~/'.wine/Warcraft III' wine explorer /desktop='WC3FT','1280x720' ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III/Frozen Throne.exe' -opengl -windowed

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' ~/'.config/menus/applications-merged/wine-Programs-Warcraft III'*'.menu' && update-desktop-database --quiet ~/'.local/share/applications' && mkdir -p ~/'.local/share/applications/wine/Programs/Warcraft III'

Reign of Chaos

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

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

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

# End

The Frozen Throne

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

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

[Desktop Action Notes]
StartupNotify=false
Exec=gio open 'https://wiki.realmofespionage.xyz/games;bsd;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 'wine.bin'

Execute

Reign of Chaos

cd ~/'.wine/Warcraft III/drive_c/Program Files/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' && 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/bsd/wine/warcraft_3.txt · Last modified: by Sean Rhone