Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
games:wine:world_of_warcraft_classic [2023/05/28 16:20] – [Initial] Sean Rhone | games:wine:world_of_warcraft_classic [2023/05/29 14:58] – 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 |
| |
====== Install ====== | ====== Install ====== |
| |
| ===== Clean-up ===== |
| |
| **** |
| |
| cd ~ && rm -Rf ~/'.wine/World of Warcraft Classic' && sync |
| |
===== Battle.net App ===== | ===== Battle.net App ===== |
* Close | * Close |
| |
mkdir -p ~/'Wine Prefixes' && wget 'https://us.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe&id=undefined' -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 Data ===== | ===== Restore Data ===== |
**** | **** |
| |
mv ~/'Downloads/Classic WoW/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 Classic ===== | ===== World of Warcraft Classic ===== |
* Install World of Warcraft Classic | * Install World of Warcraft Classic |
| |
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' | 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' |
| |
===== Clean Up ===== | ===== Clean Up ===== |
rm -f ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/World of Warcraft Classic.desktop' ~/'Desktop/Burning Crusade Classic.desktop' && cd ~ && 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' |
| |
| ====== DXVK ====== |
| |
===== Download ===== | ===== Download ===== |
| |
* https://github.com/doitsujin/dxvk/releases | * https://github.com/doitsujin/dxvk/actions |
| |
===== Install ===== | ===== Install ===== |
| |
**** | * TODO: Backup original prefix dlls first in separate command |
| |
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && chmod +x '/tmp/dxvk-'*'/setup_dxvk.sh' && cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && cd ~ && mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' && sync | |
| |
====== VKD3D-Proton ====== | |
| |
===== Information ===== | |
| |
* https://github.com/HansKristian-Work/vkd3d-proton | 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 |
| |
* D3D12 to Vulkan | ====== vkd3d-proton ====== |
| |
===== Download ===== | ===== Download ===== |
| |
* https://github.com/HansKristian-Work/vkd3d-proton/actions/workflows/artifacts.yml | * https://github.com/HansKristian-Work/vkd3d-proton/actions |
* :!: Need to be signed into GitHub to be able to click artifact links | |
| |
===== Install ===== | ===== Install ===== |
**** | **** |
| |
rm -Rf '/tmp/vkd3d-proton' && unzip -d '/tmp/vkd3d-proton' ~/'Downloads/vkd3d-proton-'*'.zip' && chmod +x '/tmp/vkd3d-proton/setup_vkd3d_proton.sh' && cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' '/tmp/vkd3d-proton/setup_vkd3d_proton.sh' install && rm -Rf '/tmp/vkd3d-proton' && cd ~ && sync | 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 |
| |
===== Windows 10 ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winetricks 'win10' | |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
<code> | <code> |
[Desktop Entry] | [Desktop Entry] |
Name=Diablo II: Resurrected | Name=World of Warcraft Classic |
Comment=Pursue the mysterious Dark Wanderer and fight the denizens of hell as you uncover the fate of the Prime Evils Diablo, Mephisto, and Baal. | Comment=Classic-era World of Warcraft |
Categories=Game | Categories=Game |
Exec=env MESA_SHADER_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' VKD3D_SHADER_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' __GL_SHADER_DISK_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' wine '/home/CHANGEME/Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/Diablo II Resurrected 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/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected | Path=/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft |
Icon=B271_Diablo II Resurrected 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/Diablo II Resurrected' 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/Diablo II Resurrected/mesa_shader_cache' ~/'Wine Prefixes/Diablo II Resurrected/vkd3d-proton.cache' ~/'Wine Prefixes/Diablo II Resurrected/GLCache' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/temp/'* ~/'Wine Prefixes/Diablo II Resurrected/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' |
===== Steam Launcher ===== | ===== Steam Launcher ===== |
| |
* Diablo II Resurrected (Battle.net App) | * World of Warcraft Classic (Battle.net App) |
| |
Diablo II: Resurrected | World of Warcraft Classic |
| |
nano ~/'Wine Prefixes/Diablo II Resurrected/steam-launcher.sh' && chmod +x ~/'Wine Prefixes/Diablo II Resurrected/steam-launcher.sh' | nano ~/'.wine/World of Warcraft Classic/steam-launcher.sh' && chmod +x ~/'.wine/World of Warcraft Classic/steam-launcher.sh' |
| |
<code> | <code> |
| |
# Environment Variables | # Environment Variables |
export MESA_SHADER_CACHE_DIR=~/'Wine Prefixes/Diablo II Resurrected' | export MESA_SHADER_CACHE_DIR=~/'.wine/World of Warcraft Classic' |
export VKD3D_SHADER_CACHE_PATH=~/'Wine Prefixes/Diablo II Resurrected' | #export __GL_SHADER_DISK_CACHE_PATH=~/'.wine/World of Warcraft Classic' |
export __GL_SHADER_DISK_CACHE_PATH=~/'Wine Prefixes/Diablo II Resurrected' | export WINEPREFIX=~/'.wine/World of Warcraft Classic' |
export WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' | |
| |
# Working Directory | # Working Directory |
cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' | cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/' |
| |
# Launch | # Launch |
wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/Diablo II Resurrected Launcher.exe' | wine ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' |
| |
# End</code> | # End</code> |
| |
Wine Prefixes/Diablo II Resurrected/steam-launcher.sh | .wine/World of Warcraft Classic/steam-launcher.sh |
| |
====== Quick Commands ====== | ====== Quick Commands ====== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winecfg | WINEPREFIX=~/'.wine/World of Warcraft Classic' winecfg |
| |
===== Winetricks ===== | ===== Winetricks ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winetricks | WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks |
| |
===== Registry Editor ===== | ===== Registry Editor ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' regedit | WINEPREFIX=~/'.wine/World of Warcraft Classic' regedit |
| |
===== Kill ===== | ===== Kill ===== |
**** | **** |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wineserver -k | killall 'Agent.exe' 'Battle.net.exe' 'winedevice.exe' 'wineserver' 'WowClassic.exe' -signal 'SIGKILL' --wait |
| |
==== Test ==== | |
| |
**** | |
| |
killall 'Agent.exe' 'winedevice.exe' 'Diablo II Resur' 'start.exe' -signal 'SIGKILL' --wait | |
| |
===== Execute ===== | ===== Execute ===== |
==== Battle.net App ==== | ==== Battle.net App ==== |
| |
cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net' && | cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/' && |
| |
WINEESYNC='0' | WINEDEBUG='' VKD3D_DEBUG='' |
| |
MANGOHUD='1' MANGOHUD_CONFIG='full,font_scale=2.0' | WINEPREFIX=~/'.wine/World of Warcraft Classic' wine ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
| |
WINEDEBUG='' | |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | |
| |
==== World of Warcraft Classic (Battle.net App) ==== | ==== World of Warcraft Classic (Battle.net App) ==== |
| |
cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && | cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/' && |
| |
WINEESYNC='0' | WINEDEBUG='' VKD3D_DEBUG='' |
| |
MANGOHUD='1' MANGOHUD_CONFIG='full,font_scale=2.0' | 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' |
| |
WINEDEBUG='' | |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/Diablo II Resurrected Launcher.exe' | |
| |
==== World of Warcraft Classic ==== | ==== World of Warcraft Classic ==== |
* Useful for quick graphical testing as this bypasses Battle.net launcher and boots WoW directly | * Useful for quick graphical testing as this bypasses Battle.net launcher and boots WoW directly |
| |
cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/' && | cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/' && |
| |
MANGOHUD='1' MANGOHUD_CONFIG='full,font_scale=2.0' | |
| |
WINEDEBUG='' | WINEDEBUG='' VKD3D_DEBUG='' |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wine ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/WowClassic.exe' | 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_/Interface/AddOns' | gio open ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/Interface/AddOns/' |
| |