| Both sides previous revisionPrevious revision | |
| games:bsd:wine:warcraft_3 [2025/11/02 03:49] – Sean Rhone | games:bsd:wine:warcraft_3 [2026/09/29 19:20] (current) – see "warcraft_3_1.27" Sean Rhone |
|---|
| ====== Information ====== | |
| |
| * Warcraft III: Reign of Chaos | |
| * Warcraft III: The Frozen Throne | |
| * 32-bit | |
| |
| * :!: WIP | |
| |
| ===== Prerequisites ===== | |
| |
| * [[bsd:freebsd_15.0_xfce|FreeBSD 15.0 (Xfce)]] | |
| * [[bsd:notes:wine|Wine]] (old WoW64) | |
| |
| ===== Notes ===== | |
| |
| * :!: This is classic Warcraft III with CD keys (not Reforged) | |
| |
| ====== Install ====== | |
| |
| ===== Sources ===== | |
| |
| * https://archive.org/details/warcraft-3-reign-of-chaos | |
| * https://archive.org/details/warcraft-3-the-frozen-throne | |
| |
| ===== Mount ISOs ===== | |
| |
| su - | |
| |
| mdconfig -a -t 'vnode' -f '/home/espionage724/Downloads/Warcraft III/Warcraft 3 Reign of Chaos.iso' -u '/dev/md0' && mkdir -p '/mnt/RoC' && mount -t 'cd9660' '/dev/md0' '/mnt/RoC' | |
| |
| mdconfig -a -t 'vnode' -f '/home/espionage724/Downloads/Warcraft III/Warcraft 3 The Frozen Throne.iso' -u '/dev/md1' && mkdir -p '/mnt/TFT' && mount -t 'cd9660' '/dev/md1' '/mnt/TFT' | |
| |
| exit | |
| |
| ===== Reign of Chaos ===== | |
| |
| * Default install directory ((''C:\Program Files\Warcraft III'')) | |
| |
| mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Warcraft III' WINEARCH='win32' wine wineboot --init && WINEPREFIX=~/'.wine/Warcraft III' winecfg /v 'win98' && WINEPREFIX=~/'.wine/Warcraft III' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f | |
| |
| WINEPREFIX=~/'.wine/Warcraft III' wine '/mnt/RoC/install.exe' | |
| |
| ===== The Frozen Throne ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/Warcraft III' wine '/mnt/TFT/install.exe' | |
| |
| ==== Patches ==== | |
| |
| * End patch: ''1.26.0.6401'' | |
| |
| WINEPREFIX=~/'.wine/Warcraft III' wine explorer /desktop='WC3FT','1024x768' ~/'Downloads/Warcraft III/War3TFT_126a_English.exe' && sync | |
| |
| ===== Unmount ISOs ===== | |
| |
| su - | |
| |
| umount '/dev/md0' '/dev/md1' | |
| |
| mdconfig -d -u '/dev/md0' | |
| |
| mdconfig -d -u '/dev/md1' | |
| |
| rm -Rf '/mnt/RoC' '/mnt/TFT' | |
| |
| exit | |
| |
| ====== Desktop Launcher ====== | |
| |
| ===== 3.3.5 ===== | |
| |
| mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft' && ee ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' && sed -i -e 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' && update-desktop-database --quiet ~/'.local/share/applications' | |
| |
| <code> | |
| [Desktop Entry] | |
| Name=World of Warcraft 3.3.5 | |
| Categories=Game; | |
| Exec='/bin/sh' -c "cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe' -opengl" | |
| Type=Application | |
| StartupNotify=false | |
| Icon=/home/CHANGEME/.wine/Icons/WoW-335-256.png | |
| StartupWMClass=wow.exe | |
| Actions=Server;Saves;Update;Database-Stop;Database-Start;Window;Kill;Notes; | |
| |
| [Desktop Action Server] | |
| Exec='/bin/sh' -c "~/'Projects/TrinityCore-335/scripts/localhost-server-start.sh'" | |
| Name=Launch Local Server | |
| |
| [Desktop Action Saves] | |
| Exec='/bin/sh' -c "~/'Projects/TrinityCore-335/scripts/localhost-databases-backup.sh'" | |
| Name=Databases Back-up | |
| |
| [Desktop Action Update] | |
| Exec='/bin/sh' -c "xfce4-terminal -T 'TC 3.3.5 [Updater]' -I ~/'.wine/Icons/WoW-335-256.png' -e ~/'Projects/TrinityCore-335/scripts/localhost-server-update.sh'" | |
| Name=Update Local Server | |
| |
| [Desktop Action Database-Stop] | |
| Exec='/bin/sh' -c "mariadb-admin 'shutdown' --socket=$HOME/'Projects/TrinityCore-335/mariadb/mariadb.sock' --user=$USER" | |
| Name=Stop MariaDB | |
| |
| [Desktop Action Database-Start] | |
| Exec='/bin/sh' -c "~/'Projects/TrinityCore-335/scripts/localhost-database-start.sh'" | |
| Name=Start MariaDB (daemon) | |
| |
| [Desktop Action Window] | |
| Exec='/bin/sh' -c "cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine explorer /desktop='3.3.5','1280x720' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe' -opengl" | |
| Name=Start WoW (Windowed) | |
| |
| [Desktop Action Kill] | |
| Exec='/bin/sh' -c "WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wineserver -k" | |
| Name=Force-close WoW | |
| |
| [Desktop Action Notes] | |
| Exec='/bin/sh' -c "gio open 'https://wiki.realmofespionage.xyz/servers:bsd:games:trinitycore_3.3.5_localhost' 'https://wiki.realmofespionage.xyz/games:bsd:wine:world_of_warcraft_3.3.5'" | |
| Name=Install Notes | |
| |
| # End</code> | |
| |
| xfce4-panel -r | |
| |
| ==== Icon ==== | |
| |
| * ''wrestool'' | |
| |
| <code> | |
| mkdir -p ~/'.wine/Icons' && wrestool --output=$HOME/'.wine/Icons/WoW-335-256.png' --extract --name='__GDF_THUMBNAIL' --raw ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe'</code> | |
| |
| ====== Quick Commands ====== | |
| |
| ===== Winecfg ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' winecfg | |
| |
| ===== Winetricks ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' winetricks | |
| |
| ===== Registry Editor ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' regedit | |
| |
| ===== Kill ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wineserver --kill | |
| |
| ===== Execute ===== | |
| |
| * :!: Below WIP | |
| |
| ==== Wrath of the Lich King ==== | |
| |
| * ''-opengl'' | |
| * ''-console'' | |
| |
| cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe' -opengl -console | |
| |
| === Virtual Desktop === | |
| |
| * Virtual desktop window at 1280x720 | |
| * ''-opengl'' | |
| * ''-console'' | |
| |
| cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine explorer /desktop='3.3.5','1280x720' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe' -console | |
| |
| ===== Root Folder ===== | |
| |
| **** | |
| |
| gio open ~/'.wine/Warcraft III/drive_c/Program Files/Warcraft III' | |
| |