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/12 19:02] – [Battle.net App] 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
-  * [[#|WineHQ AppDB]] ((TODO; this doesn't exist yet))+  * [[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 =====+====== Install ======
  
-  * As long as WoW support Windows 7, D3D11 should be supported, in which case DXVK should continue to work+===== Clean-up =====
  
-====== Install ======+**** 
 + 
 +  cd ~ && rm -Rf ~/'.wine/World of Warcraft Classic' && sync
  
 ===== Battle.net App ===== ===== Battle.net App =====
Line 24: 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/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'
- +
-  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'+
  
 ===== Clean Up ===== ===== Clean Up =====
Line 44: 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-'&& 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/Interface/AddOns' && gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/Interface/AddOns'+===== Install =====
  
-===== AddOn Name =====+****
  
-  * Addon URL (obvious TODO) +  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
- +
-====== Settings ====== +
- +
-===== Fonts ===== +
- +
-  * Create ''Fonts'' folder in WoW root folder +
-  * Drop fonts into this folder ending in ''.ttf'' and rename to the following +
- +
-  ARIALN +
- +
-  FRIENDS +
- +
-  FRIZQT__ +
- +
-  MORPHEUS +
- +
-  skurri +
- +
-===== 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 113: 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 122: Line 92:
 [Desktop Entry] [Desktop Entry]
 Name=World of Warcraft Classic Name=World of Warcraft Classic
-Comment=TODO +Comment=Classic-era World of Warcraft 
-Categories=Game;AdventureGame;RolePlaying +Categories=Game 
-Exec=env 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] +  sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop'
-Exec=bash -c "rm -Rf ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/Cache' ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/Logs' ~/'Wine Prefixes/World of Warcraft/drive_c/windows/temp/'* ~/'Wine Prefixes/World of Warcraft/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/World of Warcraft.desktop'+===== Steam Launcher =====
  
-==== High-Quality Icon ====+  * World of Warcraft Classic (Battle.net App)
  
-  * 512x512 icon +  World of Warcraft Classic
-  * Only really necessary for desktop environments where an icon size larger than 48x48 is displayed ((GNOME mainly, Budgie also looks a bit nicer but is bearable without; Xfce and MATE use small icons by-default))+
  
-  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/World of Warcraft.desktop'+  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' 
 + 
 +# End</code> 
 + 
 +  .wine/World of Warcraft Classic/steam-launcher.sh
  
 ====== Quick Commands ====== ====== Quick Commands ======
Line 154: Line 139:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winecfg+  WINEPREFIX=~/'.wine/World of Warcraft Classic' winecfg
  
 ===== Winetricks ===== ===== Winetricks =====
Line 160: Line 145:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winetricks+  WINEPREFIX=~/'.wine/World of Warcraft Classic' winetricks
  
 ===== Registry Editor ===== ===== Registry Editor =====
Line 166: Line 151:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/World of Warcraft' regedit+  WINEPREFIX=~/'.wine/World of Warcraft Classic' regedit
  
 ===== Kill ===== ===== Kill =====
Line 172: Line 157:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wineserver -k+  killall 'Agent.exe' 'Battle.net.exe' 'winedevice.exe' 'wineserver' 'WowClassic.exe' -signal 'SIGKILL' --wait
  
 ===== Execute ===== ===== Execute =====
Line 178: 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/drive_c/Program Files (x86)/Battle.net&& WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/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/drive_c/Program Files (x86)/World of Warcraft' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/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/drive_c/Program Files (x86)/World of Warcraft' && +==== World of Warcraft Classic ====
  
-  DXVK_HUD='devinfo,fps,memory,version'+  * Useful for quick graphical testing as this bypasses Battle.net launcher and boots WoW directly
  
-  DXVK_USE_PIPECOMPILER='1'+  cd ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/&& 
  
-  WINEDEBUG='-all'+  WINEDEBUG='' VKD3D_DEBUG=''
  
-  WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/Wow-64.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 208: Line 193:
 **** ****
  
-  gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft'+  gio open ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/'
  
 ==== AddOns ==== ==== AddOns ====
Line 214: Line 199:
 **** ****
  
-  gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/AddOns'+  gio open ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_era_/Interface/AddOns/'