Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
games:wine:world_of_warcraft_classic [2019/08/12 21:39] – [World of Warcraft] Sean Rhone | games:wine:world_of_warcraft_classic [2023/05/29 14:50] – Sean Rhone |
---|
====== Information ====== | ====== Information ====== |
| |
* World of Warcraft Classic ((https://worldofwarcraft.com/wowclassic)) | * World of Warcraft Classic ((https://worldofwarcraft.com/wowclassic)) ((these notes should work fine for Classic, TBC, and WotLK, or even Retail and PTR versions technically, but as of 2023/05/28 this is only tested with Classic)) |
* Battle.net App ((http://us.battle.net/en/app)) | * Battle.net App ((http://us.battle.net/en/app)) |
* 64-bit | * 64-bit |
* [[#|WineHQ AppDB]] ((TODO; this doesn't exist yet)) | * [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=1922|WineHQ AppDB]] |
| |
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | * [[distros:ubuntu_desktop|Ubuntu]] |
| * [[notes:wine|Wine]] |
| |
===== Notes ===== | ====== Install ====== |
| |
* As long as WoW support Windows 7, D3D11 should be supported, in which case DXVK should continue to work | ===== Clean-up ===== |
| |
====== Install ====== | **** |
| |
| cd ~ && rm -Rf ~/'.wine/World of Warcraft Classic' && sync |
| |
===== Battle.net App ===== | ===== 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)) | * Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) |
* [ ] Launch Battle.net when you start your computer | * [ ] Launch Battle.net when you start your computer |
* Close | * 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' | mkdir -p ~/'.wine' && wget 'https://us.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe&id=undefined' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'.wine/World of Warcraft Classic' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe' |
| |
===== Restore World of Warcraft ===== | ===== Restore Data ===== |
| |
**** | **** |
| |
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 | mv ~/'Downloads/Classic WoW/World of Warcraft' ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)' && sync |
| |
===== World of Warcraft ===== | ===== World of Warcraft Classic ===== |
| |
* Install World of Warcraft Classic | * Install World of Warcraft Classic |
| |
* Requires 4GB+ free space | cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'.wine/World of Warcraft Classic' wine ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
| |
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 ===== | ===== Clean Up ===== |
**** | **** |
| |
rm -rf ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/World of Warcraft Classic.desktop' && sync | rm -f ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/World of Warcraft Classic.desktop' ~/'Desktop/Burning Crusade Classic.desktop' && cd ~ && sync |
| |
====== DXVK ====== | ===== Windows 10 ===== |
| |
===== Information ===== | **** |
| |
* https://github.com/doitsujin/dxvk | WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks 'win10' |
| |
* D3D11 to Vulkan | ====== DXVK ====== |
| |
===== Download ===== | ===== Download ===== |
| |
* https://github.com/doitsujin/dxvk/releases | * https://github.com/doitsujin/dxvk/actions |
| |
===== Install ===== | ===== 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-'* && mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' && sync | ls ~/'Downloads/dxvk-'*'.zip' && rm -Rf '/tmp/dxvk-actions' && mkdir -p '/tmp/dxvk-actions' && unzip ~/'Downloads/dxvk-'*'.zip' -d '/tmp/dxvk-actions' && cp --backup '/tmp/dxvk-actions/x64/'*'.dll' ~/'.wine/World of Warcraft Classic/drive_c/windows/system32/' && cp --backup '/tmp/dxvk-actions/x32/'*'.dll' ~/'.wine/World of Warcraft Classic/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && sync |
| |
====== AddOns ====== | ====== vkd3d-proton ====== |
| |
===== Folder ===== | ===== Download ===== |
| |
**** | * https://github.com/HansKristian-Work/vkd3d-proton/actions |
| |
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' | ===== Install ===== |
| |
===== 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' | ls ~/'Downloads/vkd3d-proton-'*'.zip' && rm -Rf '/tmp/vkd3d-proton-actions' && mkdir -p '/tmp/vkd3d-proton-actions' && unzip ~/'Downloads/vkd3d-proton-'*'.zip' -d '/tmp/vkd3d-proton-actions' && cp --backup '/tmp/vkd3d-proton-actions/x64/'*'.dll' ~/'.wine/World of Warcraft Classic/drive_c/windows/system32/' && cp --backup '/tmp/vkd3d-proton-actions/x86/'*'.dll' ~/'.wine/World of Warcraft Classic/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks 'd3d12=native' 'd3d12core=native' && sync |
| |
===== 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 ====== | ====== Desktop Launcher ====== |
**** | **** |
| |
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' | rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic' ~/'.local/share/applications/wine/Programs/Burning Crusade Classic' && mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft Classic' |
| |
===== World of Warcraft (Battle.net App) ===== | ===== World of Warcraft Classic (Battle.net App) ===== |
| |
nano ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' | nano ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' |
[Desktop Entry] | [Desktop Entry] |
Name=World of Warcraft Classic | 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. | Comment=Classic-era World of Warcraft |
Categories=Game;AdventureGame;RolePlaying | Categories=Game |
Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' 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/World of Warcraft Launcher.exe' | Exec=env MESA_SHADER_CACHE_DIR='/home/CHANGEME/.wine/World of Warcraft Classic' WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wine '/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
Path=/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft | Path=/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft |
Icon=5C12_World of Warcraft Launcher.0 | Icon=5298_World of Warcraft Launcher.0 |
Actions=Kill;Cache; | Actions=Kill; |
| |
[Desktop Action Kill] | [Desktop Action Kill] |
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic' wineserver -k | Exec=env WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wineserver -k |
Name=Force-close | Name=Force-close</code> |
| |
[Desktop Action Cache] | |
Exec=bash -c "rm -Rf ~/'Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' ~/'Wine Prefixes/World of Warcraft Classic/mesa_shader_cache' ~/'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' | sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' |
| |
==== High-Quality Icon ==== | ===== Steam Launcher ===== |
| |
| * World of Warcraft Classic (Battle.net App) |
| |
| World of Warcraft Classic |
| |
| nano ~/'.wine/World of Warcraft Classic/steam-launcher.sh' && chmod +x ~/'.wine/World of Warcraft Classic/steam-launcher.sh' |
| |
| <code> |
| #!/bin/sh |
| |
| # Environment Variables |
| export MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft Classic' |
| #export __GL_SHADER_DISK_CACHE_PATH=~/'.wine/World of Warcraft Classic' |
| export WINEPREFIX=~/'.wine/World of Warcraft Classic' |
| |
| # Working Directory |
| cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/' |
| |
| # Launch |
| wine ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' |
| |
* 512x512 icon | # End</code> |
* 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)) | |
* :!: TODO: What's the source of this icon? | |
| |
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 Classic/World of Warcraft Classic.desktop' | .wine/World of Warcraft Classic/steam-launcher.sh |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winecfg | WINEPREFIX=~/'.wine/World of Warcraft Classic' winecfg |
| |
===== Winetricks ===== | ===== Winetricks ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winetricks | WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks |
| |
===== Registry Editor ===== | ===== Registry Editor ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' regedit | WINEPREFIX=~/'.wine/World of Warcraft Classic' regedit |
| |
===== Kill ===== | ===== Kill ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wineserver -k | killall 'Agent.exe' 'Battle.net.exe' 'winedevice.exe' 'wineserver' 'WowClassic.exe' -signal 'SIGKILL' --wait |
| |
===== Execute ===== | ===== Execute ===== |
==== Battle.net App ==== | ==== Battle.net App ==== |
| |
**** | cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/' && |
| |
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' | WINEDEBUG='' VKD3D_DEBUG='' |
| |
==== World of Warcraft (Battle.net App) ==== | WINEPREFIX=~/'.wine/World of Warcraft Classic' wine ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
| |
**** | ==== World of Warcraft Classic (Battle.net App) ==== |
| |
cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wine ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' | cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/' && |
| |
==== World of Warcraft ==== | WINEDEBUG='' VKD3D_DEBUG='' |
| |
**** | WINEPREFIX=~/'.wine/World of Warcraft Classic' wine ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' |
| |
cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_' && | ==== World of Warcraft Classic ==== |
| |
DXVK_HUD='full' | * Useful for quick graphical testing as this bypasses Battle.net launcher and boots WoW directly |
| |
WINEDEBUG='-all' | cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/' && |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wine ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Wow.exe' | WINEDEBUG='' VKD3D_DEBUG='' |
| |
| WINEPREFIX=~/'.wine/World of Warcraft Classic' wine ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/WowClassic.exe' |
| |
===== File Manager ===== | ===== File Manager ===== |
**** | **** |
| |
gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_' | gio open ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/' |
| |
==== AddOns ==== | ==== AddOns ==== |
**** | **** |
| |
gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/AddOns' | gio open ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/Interface/AddOns/' |