| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:wine:world_of_warcraft_wotlk_classic [2024/08/06 17:29] – removed Sean Rhone | games:linux:wine:world_of_warcraft_wotlk_classic [2025/09/11 06:43] (current) – external edit 127.0.0.1 |
|---|
| | ====== Information ====== |
| | |
| | * World of Warcraft: Wrath of the Lich King Classic ((https://wowclassic.blizzard.com/en-us/)) ((presumably this also will cover Cataclysm Classic)) |
| | * Battle.net App ((http://us.battle.net/en/app)) |
| | * 64-bit |
| | |
| | ===== Prerequisites ===== |
| | |
| | * [[distros:fedora_workstation_gnome|Fedora Workstation]] |
| | * [[notes:wine|Wine]] |
| | |
| | ====== Install ====== |
| | |
| | ===== Battle.net App ===== |
| | |
| | * Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) |
| | * Log-in |
| | * Change Battle.net App settings ((don't auto-start, exit on game launch)) |
| | * Close |
| | |
| | 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 WotLK Classic' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe' |
| | |
| | ===== Restore Data ===== |
| | |
| | **** |
| | |
| | mv ~/'Downloads/World of Warcraft WotLK Classic/World of Warcraft' ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)' && sync |
| | |
| | ===== World of Warcraft WotLK Classic ===== |
| | |
| | * Install World of Warcraft WotLK Classic |
| | |
| | cd ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' wine ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
| | |
| | ===== Clean Up ===== |
| | |
| | **** |
| | |
| | rm -Rf ~/'Downloads/World of Warcraft WotLK Classic' ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/Burning Crusade Classic.desktop' && cd ~ && sync |
| | |
| | ====== Libraries ====== |
| | |
| | ===== DXVK ===== |
| | |
| | * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) |
| | * D3D11 to Vulkan |
| | |
| | ls ~/'Downloads/dxvk-master-'*'.zip' && rm -Rf '/tmp/dxvk-master' && mkdir -p '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master/' && cp --backup '/tmp/dxvk-master/x64/'*'.dll' ~/'.wine/World of Warcraft WotLK Classic/drive_c/windows/system32/' && cp --backup '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/World of Warcraft WotLK Classic/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && mkdir -p ~/'.wine/World of Warcraft WotLK Classic/dxvk_shader_cache' && sync |
| | |
| | ===== vkd3d-proton ===== |
| | |
| | * https://github.com/HansKristian-Work/vkd3d-proton/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) |
| | * D3D12 to Vulkan |
| | |
| | ls ~/'Downloads/vkd3d-proton-master-'*'.zip' && rm -Rf '/tmp/vkd3d-proton-master' && mkdir -p '/tmp/vkd3d-proton-master' && unzip ~/'Downloads/vkd3d-proton-master-'*'.zip' -d '/tmp/vkd3d-proton-master/' && cp --backup '/tmp/vkd3d-proton-master/x64/'*'.dll' ~/'.wine/World of Warcraft WotLK Classic/drive_c/windows/system32/' && cp --backup '/tmp/vkd3d-proton-master/x86/'*'.dll' ~/'.wine/World of Warcraft WotLK Classic/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' winetricks 'd3d12=native' 'd3d12core=native' && mkdir -p ~/'.wine/World of Warcraft WotLK Classic/vkd3d_shader_cache' && sync |
| | |
| | ====== Desktop Launcher ====== |
| | |
| | ===== Initial ===== |
| | |
| | **** |
| | |
| | rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/Burning Crusade Classic' && mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft WotLK Classic' |
| | |
| | ===== World of Warcraft WotLK Classic (Battle.net App) ===== |
| | |
| | * 2023/11/03: ''DXVK_CONFIG=dxgi.useMonitorFallback=True'' is possibly a performance improvement ([[https://github.com/doitsujin/dxvk/issues/3632#issuecomment-1755496274|#3632]]) and included |
| | |
| | nano ~/'.local/share/applications/wine/Programs/World of Warcraft WotLK Classic/World of Warcraft WotLK Classic.desktop' |
| | |
| | <code> |
| | [Desktop Entry] |
| | Name=World of Warcraft: Wrath of the Lich King Classic |
| | Categories=Game;AdventureGame;RolePlaying |
| | Exec='/bin/bash' -c "cd ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/World of Warcraft/' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft WotLK Classic' DXVK_STATE_CACHE_PATH=~/'.wine/World of Warcraft WotLK Classic/dxvk_shader_cache' DXVK_CONFIG='dxgi.useMonitorFallback=True' VKD3D_SHADER_CACHE_PATH=~/'.wine/World of Warcraft WotLK Classic/vkd3d_shader_cache' WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' wine ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe'" |
| | Type=Application |
| | StartupNotify=true |
| | Icon=5298_World of Warcraft Launcher.0 |
| | StartupWMClass=wowclassic.exe |
| | Actions=Cache;Kill;Notes; |
| | |
| | [Desktop Action Cache] |
| | Exec='/bin/bash' -c "rm -Rf ~/'.wine/World of Warcraft WotLK Classic/mesa_shader_cache/'* ~/'.wine/World of Warcraft WotLK Classic/dxvk_shader_cache/'* ~/'.wine/World of Warcraft WotLK Classic/vkd3d_shader_cache/'* ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Cache/'* ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/Fonts/'* && sync && notify-send 'The World of Warcraft WotLK Classic cache has been cleaned.'" |
| | Name=Cache Cleanup |
| | |
| | [Desktop Action Kill] |
| | Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' wineserver --kill" |
| | Name=Force-close |
| | |
| | [Desktop Action Notes] |
| | StartupNotify=false |
| | Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:wine:world_of_warcraft_wotlk_classic'" |
| | Name=Installation Notes |
| | |
| | # End</code> |
| | |
| | ====== Quick Commands ====== |
| | |
| | ===== Winecfg ===== |
| | |
| | **** |
| | |
| | WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' winecfg |
| | |
| | ===== Winetricks ===== |
| | |
| | **** |
| | |
| | WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' winetricks |
| | |
| | ===== Registry Editor ===== |
| | |
| | **** |
| | |
| | WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' regedit |
| | |
| | ===== Kill ===== |
| | |
| | **** |
| | |
| | WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' wineserver --kill |
| | |
| | ===== Execute ===== |
| | |
| | ==== Battle.net App ==== |
| | |
| | **** |
| | |
| | cd ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/Battle.net/' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft WotLK Classic' DXVK_STATE_CACHE_PATH=~/'.wine/World of Warcraft WotLK Classic/dxvk_shader_cache' VKD3D_SHADER_CACHE_PATH=~/'.wine/World of Warcraft WotLK Classic/vkd3d_shader_cache' WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' WINEDEBUG='' wine ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
| | |
| | ==== World of Warcraft WotLK Classic (Battle.net App) ==== |
| | |
| | **** |
| | |
| | cd ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/World of Warcraft/' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft WotLK Classic' DXVK_STATE_CACHE_PATH=~/'.wine/World of Warcraft WotLK Classic/dxvk_shader_cache' VKD3D_SHADER_CACHE_PATH=~/'.wine/World of Warcraft WotLK Classic/vkd3d_shader_cache' WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' WINEDEBUG='' wine ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' |
| | |
| | ==== World of Warcraft WotLK Classic ==== |
| | |
| | * Useful for quick graphical testing as this bypasses Battle.net launcher and boots WoW directly |
| | |
| | cd ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/World of Warcraft/' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft WotLK Classic' DXVK_STATE_CACHE_PATH=~/'.wine/World of Warcraft WotLK Classic/dxvk_shader_cache' VKD3D_SHADER_CACHE_PATH=~/'.wine/World of Warcraft WotLK Classic/vkd3d_shader_cache' WINEPREFIX=~/'.wine/World of Warcraft WotLK Classic' WINEDEBUG='' wine ~/'.wine/World of Warcraft WotLK Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/WowClassic.exe' |
| | |
| | ===== File Manager ===== |
| | |
| | ==== Root ==== |
| | |
| | **** |
| | |
| | gio open ~/'.wine/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_/Interface/AddOns/' |
| |