Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:world_of_warcraft_classic [2019/08/12 21:20] – Sean Rhone | games:wine:world_of_warcraft_classic [2023/10/09 09:09] (current) – removed Sean Rhone |
---|
====== Information ====== | |
| |
* World of Warcraft Classic ((https://worldofwarcraft.com/wowclassic)) | |
* Battle.net App ((http://us.battle.net/en/app)) | |
* 64-bit | |
* [[#|WineHQ AppDB]] ((TODO; this doesn't exist yet)) | |
| |
===== Prerequisites ===== | |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | |
| |
===== Notes ===== | |
| |
* As long as WoW support Windows 7, D3D11 should be supported, in which case DXVK should continue to work | |
| |
====== Install ====== | |
| |
===== Battle.net App ===== | |
| |
* :!: The URL for the Battle.net installer looks fragile, but Lutris and others use it | |
* Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) | |
* [ ] Launch Battle.net when you start your computer | |
* Log-in | |
* :!: Change Battle.net App settings | |
* Close | |
| |
mkdir -p ~/'Wine Prefixes' && wget 'dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe' | |
| |
===== Restore World of Warcraft ===== | |
| |
**** | |
| |
rm -Rf ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft' && mv ~/'Downloads/World of Warcraft' ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)' && sync | |
| |
===== World of Warcraft ===== | |
| |
* Install World of Warcraft Classic | |
| |
* Requires 4GB+ free space | |
| |
cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wine ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | |
| |
===== Clean Up ===== | |
| |
**** | |
| |
rm -rf ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/World of Warcraft Classic.desktop' && sync | |
| |
====== DXVK ====== | |
| |
===== Information ===== | |
| |
* https://github.com/doitsujin/dxvk | |
| |
* D3D11 to Vulkan | |
| |
===== Download ===== | |
| |
* https://github.com/doitsujin/dxvk/releases | |
| |
===== Install ===== | |
| |
**** | |
| |
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && sync | |
| |
====== AddOns ====== | |
| |
===== Folder ===== | |
| |
**** | |
| |
mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Interface/AddOns' && gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Interface/AddOns' | |
| |
===== AddOn Name ===== | |
| |
* Addon URL (obvious TODO) | |
| |
====== Settings ====== | |
| |
===== Fonts ===== | |
| |
==== Information ==== | |
| |
* Create ''Fonts'' folder in WoW root folder | |
* Drop fonts into this folder ending in ''.ttf'' and rename to the following | |
* :!: TODO: This should work in Classic if it worked in Legion, but this is untested | |
| |
ARIALN | |
| |
FRIENDS | |
| |
FRIZQT__ | |
| |
MORPHEUS | |
| |
skurri | |
| |
==== Folder ==== | |
| |
**** | |
| |
mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Fonts' && gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Fonts' | |
| |
===== CVars ===== | |
| |
==== WeatherDensity ==== | |
| |
* http://wowwiki.wikia.com/wiki/CVar_weatherDensity | |
| |
/console WeatherDensity 3 | |
| |
==== violenceLevel ==== | |
| |
* http://wowwiki.wikia.com/wiki/CVar_violenceLevel | |
| |
/console violenceLevel 5 | |
| |
====== Desktop Launcher ====== | |
| |
===== Initial ===== | |
| |
**** | |
| |
rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic' && mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft Classic' | |
| |
===== World of Warcraft (Battle.net App) ===== | |
| |
nano ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' | |
| |
<code> | |
[Desktop Entry] | |
Name=World of Warcraft Classic | |
Comment=The drums of war thunder once again... Return to a lost era of Azeroth and enjoy the timeless stories that defined this world at war. | |
Categories=Game;AdventureGame;RolePlaying | |
Exec=env MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic' wine '/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/World of Warcraft Launcher.exe' | |
Type=Application | |
StartupNotify=true | |
Path=/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_ | |
Icon=5C12_World of Warcraft Launcher.0 | |
Actions=Kill;Cache; | |
| |
[Desktop Action Kill] | |
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic' wineserver -k | |
Name=Force-close | |
| |
[Desktop Action Cache] | |
Exec=bash -c "rm -Rf ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Cache' ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Logs' ~/'Wine Prefixes/World of Warcraft Classic/drive_c/windows/temp/'* ~/'Wine Prefixes/World of Warcraft Classic/drive_c/users/'$USER'/Temp/'* && sync" | |
Name=Cache Clean-up</code> | |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' | |
| |
==== High-Quality Icon ==== | |
| |
* 512x512 icon | |
* Only really necessary for desktop environments where an icon size larger than 48x48 is displayed ((GNOME mainly, Budgie also looks a bit nicer but is bearable without; Xfce and MATE use small icons by-default)) | |
| |
mkdir -p ~/'.local/share/icons/hicolor/512x512/apps' && wget 'https://i.imgur.com/xZMEiix.png' -O ~/'.local/share/icons/hicolor/512x512/apps/WBE5_Wow.0.png' && sed -i 's/5C12_World of Warcraft Launcher.0/'WBE5_Wow.0'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft.desktop' | |
| |
====== Quick Commands ====== | |
| |
===== Winecfg ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winecfg | |
| |
===== Winetricks ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winetricks | |
| |
===== Registry Editor ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' regedit | |
| |
===== Kill ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wineserver -k | |
| |
===== Execute ===== | |
| |
==== Battle.net App ==== | |
| |
**** | |
| |
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | |
| |
==== World of Warcraft (Battle.net App) ==== | |
| |
**** | |
| |
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' | |
| |
==== World of Warcraft ==== | |
| |
**** | |
| |
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' && | |
| |
DXVK_HUD='devinfo,fps,memory,version' | |
| |
DXVK_USE_PIPECOMPILER='1' | |
| |
WINEDEBUG='-all' | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/Wow-64.exe' | |
| |
===== File Manager ===== | |
| |
==== Root ==== | |
| |
**** | |
| |
gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' | |
| |
==== AddOns ==== | |
| |
**** | |
| |
gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/AddOns' | |