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 [2019/08/14 16:22] 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
-  * [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=1922|WineHQ AppDB]] ((Classic/1.13 doesn't exist yet, but I requested the version add on 2019/08/14))+  * [[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:wine|Wine]]
  
 ====== 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 '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 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 40: Line 45:
 **** ****
  
-  rm -rf ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/World of Warcraft Classic.desktop' && sync+  rm -~/'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 =====
  
-****+  TODO: Backup original prefix dlls first in separate command
  
-  rm -rf '/tmp/dxvk-'&& cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz&& cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' '/tmp/dxvk-'*'/setup_dxvk.shinstall && 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 +
- +
-  gio open '/usr/share/fonts' +
- +
-  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 ======
Line 120: Line 83:
 **** ****
  
-  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'
Line 129: Line 92:
 [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_cacheMESA_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>
  
-  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 ======
Line 160: Line 139:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winecfg+  WINEPREFIX=~/'.wine/World of Warcraft Classic' winecfg
  
 ===== Winetricks ===== ===== Winetricks =====
Line 166: Line 145:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winetricks+  WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks
  
 ===== Registry Editor ===== ===== Registry Editor =====
Line 172: Line 151:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' regedit+  WINEPREFIX=~/'.wine/World of Warcraft Classic' regedit
  
 ===== Kill ===== ===== Kill =====
Line 178: Line 157:
 **** ****
  
-  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 =====
Line 184: Line 163:
 ==== 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 =====
Line 212: 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 218: Line 199:
 **** ****
  
-  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/'