C:\Program Files\Warcraft IIIgames:bsd:wine:warcraft_3
This is an old revision of the document!
Table of Contents
Information
- Warcraft III: Reign of Chaos
- Warcraft III: The Frozen Throne
- 32-bit
WIP
Prerequisites
- Wine (old WoW64)
Notes
This is classic Warcraft III with CD keys (not Reforged)
Install
Sources
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 1)
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
Settings
Game
mkdir -p ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/WTF' && ee ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/WTF/Config.wtf'
SET gxWindow "1" SET gxMaximize "1" SET windowResizeLock "1" SET gxApi "opengl" SET realmName "localhost" SET SmallCull "0" SET basemip "0" SET SkyCloudLOD "3" SET componentCompress "0" SET violenceLevel "5" SET useUiScale "1" SET uiScale "1" SET environmentDetail "2" SET groundEffectDensity "256" SET groundEffectDist "140" SET spellEffectLevel "250"
cvar_default x
realmlist.wtf
mv -fv ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Data/enUS/realmlist.wtf' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Data/enUS/realmlist.wtf~'
echo 'set realmlist 127.0.0.1' | tee ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Data/enUS/realmlist.wtf' > '/dev/null'
Macros
Hide Time/Clock
- Hides the time on the minimap along with the hiding the time being shown on Calendar-button hover
Interface → Display →
[x]Show Clock needs to be enabled in order for this macro to hide both it and the Calendar hover 2)
/run TimeManagerClockButton:Hide() TimeManagerClockButton:HookScript("OnShow", function(self) self:Hide() end) GameTimeFrame:HookScript("OnEnter", function() GameTooltip:SetOwner(UIParent) end)
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'
[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
xfce4-panel -r
Icon
wrestool
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'
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 1280×720
-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
Specific Graphics APIs
D3D9
- Default when no API is specified on command-line nor
Config.wtf
-d3d9
cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Wow.exe' -d3d9 -console
cat ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log' | grep 'CGxDeviceD3d'
gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log'
D3D9Ex
This may be more ideal for Vsync, certain compositors, G-SYNC/FreeSync, remote streaming, or
gamescope
-d3d9ex
cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Wow.exe' -d3d9ex -console
cat ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log' | grep 'CGxDeviceD3d9Ex'
gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log'
OpenGL
- Disables the in-game Video →
Hardware Cursoroption - Limits
Shadow Qualityto blobs and no dynamic options
-opengl
cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wine ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Wow.exe' -opengl -console
cat ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log' | grep 'CGxDeviceOpenGl'
gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log'
Root Folder
gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/'
/usr/local/www/wiki/data/attic/games/bsd/wine/warcraft_3.1762072845.txt.gz · Last modified: by Sean Rhone
