User Tools

Site Tools


games:wine:world_of_warcraft_wotlk_classic

This is an old revision of the document!


Information

  • World of Warcraft: Wrath of the Lich King Classic 1)
  • Battle.net App 2)
  • 64-bit

Prerequisites

Notes

  • :!: 2023/10/08: These notes expect Wrath of the Lich King Classic and nothing else 3)

Install

Clean-up

cd ~ && rm -Rf ~/'.wine/World of Warcraft WotLK Classic' && sync

Battle.net App

  • Install to default directory when prompted 4)
  • Log-in
  • Change Battle.net App settings 5)
  • 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 Classic

  • Install World of Warcraft 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 -f ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/Burning Crusade Classic.desktop' && cd ~ && sync

Libraries

DXVK

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

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/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 Classic (Battle.net App)

nano ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop'
[Desktop Entry]
Name=World of Warcraft Classic
Comment=Classic-era World of Warcraft
Categories=Game
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
StartupNotify=true
Path=/home/CHANGEME/.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft
Icon=5298_World of Warcraft Launcher.0
Actions=Kill;

[Desktop Action Kill]
Exec=env WINEPREFIX='/home/CHANGEME/.wine/World of Warcraft Classic' wineserver -k
Name=Force-close
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop'

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'
#!/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'

# End
.wine/World of Warcraft Classic/steam-launcher.sh

Quick Commands

Winecfg

WINEPREFIX=~/'.wine/World of Warcraft Classic' winecfg

Winetricks

WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks

Registry Editor

WINEPREFIX=~/'.wine/World of Warcraft Classic' regedit

Kill

killall 'Agent.exe' 'Battle.net.exe' 'winedevice.exe' 'wineserver' 'WowClassic.exe' -signal 'SIGKILL' --wait

Execute

Battle.net App

cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net/' && 
WINEDEBUG='' VKD3D_DEBUG=''
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/World of Warcraft Classic/drive_c/Program Files (x86)/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'

World of Warcraft Classic

  • Useful for quick graphical testing as this bypasses Battle.net launcher and boots WoW directly
cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/' && 
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

Root

gio open ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/'

AddOns

gio open ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/Interface/AddOns/'
3)
no Cata+, nor Classic Era-TBC
4)
C:/Program Files (x86)/Battle.net
5)
don't auto-start, exit on game launch
6) , 7)
need to be signed into GitHub, and select the latest master artifacts package
/srv/www/wiki/data/attic/games/wine/world_of_warcraft_wotlk_classic.1696784449.txt.gz ยท Last modified: (external edit)