User Tools

Site Tools


games:wine:world_of_warcraft_classic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
games:wine:world_of_warcraft_classic [2023/05/17 17:51] Sean Rhonegames:wine:world_of_warcraft_classic [2023/05/29 14:58] Sean Rhone
Line 1: Line 1:
 ====== 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
Line 12: Line 12:
  
 ====== Install ====== ====== Install ======
 +
 +===== Clean-up =====
 +
 +****
 +
 +  cd ~ && rm -Rf ~/'.wine/World of Warcraft Classic' && sync
  
 ===== Battle.net App ===== ===== Battle.net App =====
Line 21: Line 27:
   * 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 =====
Line 27: Line 33:
 **** ****
  
-  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 Classic ===== ===== World of Warcraft Classic =====
Line 33: Line 39:
   * 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 =====
Line 39: Line 45:
 **** ****
  
-  rm -f ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.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 =====
Line 74: Line 75:
 **** ****
  
-  rm -Rf '/tmp/vkd3d-proton' && unzip -'/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.shinstall && rm -Rf '/tmp/vkd3d-proton' && cd ~ && sync +  ls ~/'Downloads/vkd3d-proton-'*'.zip' && rm -Rf '/tmp/vkd3d-proton-actions' && mkdir -'/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 ======
Line 88: Line 83:
 **** ****
  
-  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 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 Classic (Battle.net App) ===== ===== World of Warcraft Classic (Battle.net App) =====
Line 96: Line 91:
 <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'
Line 118: Line 109:
 ===== 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>
Line 128: Line 119:
  
 # 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 ======
Line 149: Line 139:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winecfg+  WINEPREFIX=~/'.wine/World of Warcraft Classic' winecfg
  
 ===== Winetricks ===== ===== Winetricks =====
Line 155: Line 145:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winetricks+  WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks
  
 ===== Registry Editor ===== ===== Registry Editor =====
Line 161: Line 151:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' regedit+  WINEPREFIX=~/'.wine/World of Warcraft Classic' regedit
  
 ===== Kill ===== ===== Kill =====
Line 167: Line 157:
 **** ****
  
-  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 =====
Line 179: Line 163:
 ==== 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 ====
Line 205: Line 181:
   * 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 =====
Line 219: Line 193:
 **** ****
  
-  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 ====
Line 225: Line 199:
 **** ****
  
-  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/'