Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:world_of_warcraft_3.3.5 [2019/08/24 16:53] – Sean Rhone | games:wine:world_of_warcraft_3.3.5 [2024/03/09 17:45] (current) – [3.3.5] Sean Rhone |
---|
====== Information ====== | ====== Information ====== |
| |
* World of Warcraft: Wrath of the Lich King ((http://us.blizzard.com/en-us/games/wrath/)) | * World of Warcraft: Wrath of the Lich King ((https://web.archive.org/web/20200911184050/https://www.blizzard.com/en-us/games/wrath/)) |
* Patch 3.3.5a | * Patch 3.3.5a |
* [[https://appdb.winehq.org/objectManager.php?sClass=version&iId=32890|WineHQ AppDB]] | * [[https://appdb.winehq.org/objectManager.php?sClass=version&iId=32890|WineHQ AppDB]] |
| |
| |
===== Prerequisites ===== | ===== Prerequisites ===== |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | * [[distros:fedora_workstation_gnome|Fedora Workstation]] |
* [[notes:wine|Wine]] | * [[notes:wine|Wine]] |
| |
| ===== Notes ===== |
| |
| * 2023/07/31: This works best on GNOME on Wayland on Intel UHD 630 |
| * :!: This is for private server use; see [[games:wine:world_of_warcraft_wotlk_classic|WotLK Classic]] for official WotLK |
| |
====== Install ====== | ====== Install ====== |
===== World of Warcraft ===== | ===== World of Warcraft ===== |
| |
**** | * [[https://wowdl.net/client/3.3.5a-win-us|World-of-Warcraft-3.3.5a.12340-enUS.zip]] |
| |
mkdir -p ~/'Wine Prefixes' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft 3.3.5' WINEARCH='win32' wineboot && mv ~/'Downloads/World of Warcraft 3.3.5a' ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' && sync | mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' WINEARCH='win32' wineboot && WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' winetricks 'winxp' && sync |
| |
| md5sum ~/'Downloads/World-of-Warcraft-3.3.5a.12340-enUS.zip' | grep 'ab8284d28a063e8594d03636fbe28dc7' && unzip -qq -b -d ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files' ~/'Downloads/World-of-Warcraft-3.3.5a.12340-enUS.zip' && sync |
| |
====== Settings ====== | ====== Settings ====== |
===== Game ===== | ===== Game ===== |
| |
* Start WoW at least once to create Config.wtf | * :!: Start WoW at least once prior to running this |
* Expects 1920x1080@60Hz | |
| |
nano ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/WTF/Config.wtf' | <code>echo -e 'SET Sound_EnableHardware "1"\nSET gxApi "d3d9ex"\nSET violenceLevel "5"\nSET SmallCull "0"\nSET groundEffectDensity "256"\nSET spellEffectLevel "250"\nSET basemip "0"\nSET extShadowQuality "2"\nSET maxfps "75"\nSET componentCompress "0"\nSET gxCursor "0"\nSET SkyCloudLOD "3"\nSET environmentDetail "2"\n' | tee --append ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/WTF/Config.wtf' > '/dev/null'</code> |
| |
<code> | <code>nano ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/WTF/Config.wtf'</code> |
SET locale "enUS" | |
SET realmList "wow.realmofespionage.xyz" | |
SET hwDetect "0" | |
SET gxResolution "1920x1080" | |
SET gxRefresh "60" | |
SET gxMultisampleQuality "0.000000" | |
SET gxFixLag "0" | |
SET videoOptionsVersion "3" | |
SET textureFilteringMode "5" | |
SET accountName "Espionage724" | |
SET movie "0" | |
SET mouseSpeed "1" | |
SET DesktopGamma "1" | |
SET Gamma "1.000000" | |
SET readTOS "1" | |
SET readEULA "1" | |
SET showToolsUI "0" | |
SET accounttype "LK" | |
SET Sound_OutputQuality "2" | |
SET Sound_NumChannels "64" | |
SET Sound_EnableReverb "1" | |
SET Sound_OutputDriverName "System Default" | |
SET Sound_MusicVolume "0.40000000596046" | |
SET Sound_AmbienceVolume "0.60000002384186" | |
SET Sound_ZoneMusicNoDelay "1" | |
SET Sound_EnableSoundWhenGameIsInBG "1" | |
SET componentTextureLevel "9" | |
SET shadowLevel "0" | |
SET farclip "507" | |
SET specular "1" | |
SET SkyCloudLOD "3" | |
SET groundEffectDensity "256" | |
SET groundEffectDist "140" | |
SET environmentDetail "2" | |
SET farClipOverride "1" | |
SET gxApi "d3d9ex" | |
SET SmallCull "0" | |
SET spellEffectLevel "250" | |
SET violenceLevel "5" | |
SET basemip "0" | |
SET extShadowQuality "1" | |
SET projectedTextures "1" | |
SET weatherDensity "3" | |
SET realmName "RoE (WotLK)" | |
SET gameTip "1"</code> | |
| |
===== realmlist.wtf ===== | ===== realmlist.wtf ===== |
| |
nano ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Data/enUS/realmlist.wtf' | * :!: Run this before first-start as there is not a default address |
| |
set realmlist wow.realmofespionage.xyz | echo 'set realmlist localhost' | tee ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' |
| |
| echo 'set realmlist wow.realmofespionage.xyz' | tee ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' |
| |
| nano ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Data/'*'/realmlist.wtf' |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
| |
===== Initial ===== | ===== 3.3.5 ===== |
| |
**** | * Local Server requires [[/servers:games:trinitycore_3.3.5_localhost|TrinityCore 3.3.5 localhost]] ((''gnome-terminal'' mentions can likely be changed to other Terminals like ''konsole'' but is untested)) |
| |
mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft' | mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft' && nano ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' |
| |
===== Wrath of the Lich King ===== | <code> |
| [Desktop Entry] |
| Name=World of Warcraft 3.3.5 |
| Categories=Game; |
| Exec='/bin/bash' -c "cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft 3.3.5' 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" |
| Type=Application |
| StartupNotify=true |
| StartupWMClass=wow.exe |
| Icon=WBE5_Wow.0 |
| Actions=Kill;Server;Saves;Notes; |
| |
nano ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' | [Desktop Action Kill] |
| Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wineserver --kill" |
| Exec='/bin/killall' -9 'Wow.exe' |
| Name=Force-close World of Warcraft 3.3.5 |
| |
[Desktop Entry] | [Desktop Action Server] |
Name=World of Warcraft 3.3.5 | StartupNotify=false |
Categories=Game; | Exec='/bin/bash' -c "cd ~/'Projects/trinity-335/run/bin' && gnome-terminal -- ./authserver && gnome-terminal -- ./worldserver" |
Exec=env WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft 3.3.5' wine '/home/CHANGEME/Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe' | Name=Launch Local Server |
Type=Application | |
StartupNotify=true | |
Path=/home/CHANGEME/Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft | |
Icon=WBE5_Wow.0 | |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft 3.3.5.desktop' | [Desktop Action Saves] |
| StartupNotify=false |
| Exec='/bin/bash' -c "gnome-terminal -- ~/'Projects/trinity-335/run/etc/localhost-save-backup.sh'" |
| Name=Local Server Databases Back-up |
| |
| [Desktop Action Notes] |
| StartupNotify=false |
| Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:world_of_warcraft_3.3.5' |
| Name=Installation Notes |
| |
| # End</code> |
| |
==== Icon ==== | ==== Icon ==== |
**** | **** |
| |
mkdir -p ~/'.local/share/icons/hicolor/256x256/apps' && wget 'https://i.imgur.com/JTeeAJY.png' -O ~/'.local/share/icons/hicolor/256x256/apps/WBE5_Wow.0.png' | <code> |
| mkdir -p ~/'.local/share/icons/hicolor/48x48/apps' && cd ~/'.local/share/icons/hicolor/48x48/apps' && wrestool --output='WBE5_Wow.0.png' --extract --name='101' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Wow.exe' && cd ~</code> |
| |
| ==== Save Data Back-up Script ==== |
| |
| * Requires [[/servers:games:trinitycore_3.3.5_localhost|TrinityCore 3.3.5 localhost]] |
| * See [[servers:games:trinitycore_3.3.5_localhost#restore|Restore]] notes for restoring back-ups |
| |
| nano ~/'Projects/trinity-335/run/etc/localhost-save-backup.sh' && chmod +x ~/'Projects/trinity-335/run/etc/localhost-save-backup.sh' |
| |
| <code> |
| #!/bin/sh |
| |
| cd ~/'Downloads' |
| sudo mariadb-dump --databases 'authserver' --result-file='localserver-authserver-database-'$(date +%Y-%m-%d-%s)'.sql' |
| sudo mariadb-dump --databases 'characters' --result-file='localserver-characters-database-'$(date +%Y-%m-%d-%s)'.sql' |
| sudo chown $USER:$USER ~/'Downloads/localserver-authserver-database-'*'.sql' ~/'Downloads/localserver-characters-database-'*'.sql' |
| sync |
| notify-send 'localserver databases have been successfully dumped.' |
| |
| # End</code> |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft 3.3.5' winecfg | WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' winecfg |
| |
===== Winetricks ===== | ===== Winetricks ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft 3.3.5' winetricks | WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' winetricks |
| |
===== Registry Editor ===== | ===== Registry Editor ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft 3.3.5' regedit | WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' regedit |
| |
===== Kill ===== | ===== Kill ===== |
| |
**** | WINEPREFIX=~/'.wine/World of Warcraft 3.3.5' wineserver --kill |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft 3.3.5' wineserver -k | killall -9 'Wow.exe' |
| |
===== Reset ===== | ===== Reset ===== |
**** | **** |
| |
rm -Rf ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Cache' ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Cameras' ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Logs' ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/WTF' && sync | rm -Rf ~/'.wine/World of Warcraft 3.3.5/mesa_shader_cache' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Cache' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Cameras' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Interface' ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/WTF' && sync |
| |
===== Execute ===== | ===== Execute ===== |
==== Wrath of the Lich King ==== | ==== Wrath of the Lich King ==== |
| |
**** | cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && |
| |
| WINEDEBUG='' |
| |
| MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft 3.3.5' 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 |
| |
| === Virtual Desktop === |
| |
| * 1280x720 |
| |
| cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft 3.3.5' 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 3.3.5a.12340'*'/Wow.exe' -d3d9ex |
| |
| ==== Specific Graphics APIs ==== |
| |
| === D3D9 === |
| |
| * Default when no API is specified on command-line nor ''Config.wtf'' |
| |
| <code>-d3d9</code> |
| |
| <code>cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft 3.3.5' 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</code> |
| |
| <code>cat ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log' | grep 'CGxDeviceD3d'</code> |
| |
| <code>gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log'</code> |
| |
| === D3D9Ex === |
| |
| * Theoretically™ the best choice |
| |
| <code>-d3d9ex</code> |
| |
| <code>cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft 3.3.5' 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</code> |
| |
| <code>cat ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log' | grep 'CGxDeviceD3d9Ex'</code> |
| |
| <code>gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log'</code> |
| |
| === OpenGL === |
| |
| * Disables the in-game Video -> ''Hardware Cursor'' option |
| * Limits ''Shadow Quality'' to blobs and no dynamic options |
| |
| <code>-opengl</code> |
| |
| <code>cd ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' && MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft 3.3.5' 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</code> |
| |
| <code>cat ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log' | grep 'CGxDeviceOpenGl'</code> |
| |
cd ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft 3.3.5' wine ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Wow.exe' | <code>gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Logs/gx.log'</code> |
| |
===== File Manager ===== | ===== File Manager ===== |
**** | **** |
| |
gio open ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft' | gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/' |
| |
==== Addons ==== | ==== Addons ==== |
**** | **** |
| |
gio open ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Interface/AddOns' | gio open ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Interface/AddOns' |
| |
===== Copy Addons ===== | ===== Copy Addons ===== |
**** | **** |
| |
cp -R ~/'Wine Prefixes/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft/Interface/AddOns' ~/'Downloads' | cp -R ~/'.wine/World of Warcraft 3.3.5/drive_c/Program Files/World of Warcraft 3.3.5a.12340'*'/Interface/AddOns' ~/'Downloads' |