| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:wine:world_of_warcraft_classic [2023/05/28 19:48] – Sean Rhone | games:wine:world_of_warcraft_classic [2023/10/09 09:09] (current) – removed Sean Rhone |
|---|
| ====== Information ====== | |
| |
| * World of Warcraft Classic ((https://worldofwarcraft.com/wowclassic)) | |
| * Battle.net App ((http://us.battle.net/en/app)) | |
| * 64-bit | |
| * [[https://appdb.winehq.org/objectManager.php?sClass=application&iId=1922|WineHQ AppDB]] | |
| |
| ===== Prerequisites ===== | |
| |
| * [[distros:ubuntu_desktop|Ubuntu]] | |
| * [[notes:wine|Wine]] | |
| |
| ====== Install ====== | |
| |
| ===== Clean-up ===== | |
| |
| **** | |
| |
| cd ~ && rm -Rf ~/'.wine/World of Warcraft Classic' && sync | |
| |
| ===== Battle.net App ===== | |
| |
| * Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) | |
| * [ ] Launch Battle.net when you start your computer | |
| * Log-in | |
| * :!: Change Battle.net App settings | |
| * 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 Classic' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe' | |
| |
| ===== Restore Data ===== | |
| |
| **** | |
| |
| mv ~/'Downloads/Classic WoW/World of Warcraft' ~/'.wine/World of Warcraft Classic/drive_c/Program Files (x86)' && sync | |
| |
| ===== World of Warcraft Classic ===== | |
| |
| * Install World of Warcraft Classic | |
| |
| 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 ===== | |
| |
| **** | |
| |
| 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 ====== | |
| |
| ===== Information ===== | |
| |
| * https://github.com/doitsujin/dxvk | |
| |
| ===== Download ===== | |
| |
| * https://github.com/doitsujin/dxvk/releases | |
| |
| ===== Install ===== | |
| |
| **** | |
| |
| mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' && sync | |
| |
| ===== Windows 10 ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winetricks 'win10' | |
| |
| ====== 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' | |
| |
| <code> | |
| [Desktop Entry] | |
| Name=Diablo II: Resurrected | |
| 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. | |
| 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' | |
| Type=Application | |
| StartupNotify=true | |
| Path=/home/CHANGEME/Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected | |
| Icon=B271_Diablo II Resurrected Launcher.0 | |
| Actions=Kill;Cache; | |
| |
| [Desktop Action Kill] | |
| Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' wineserver -k | |
| Name=Force-close | |
| |
| [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' | |
| |
| ===== Steam Launcher ===== | |
| |
| * Diablo II Resurrected (Battle.net App) | |
| |
| Diablo II: Resurrected | |
| |
| nano ~/'Wine Prefixes/Diablo II Resurrected/steam-launcher.sh' && chmod +x ~/'Wine Prefixes/Diablo II Resurrected/steam-launcher.sh' | |
| |
| <code> | |
| #!/bin/sh | |
| |
| # Environment Variables | |
| export MESA_SHADER_CACHE_DIR=~/'Wine Prefixes/Diablo II Resurrected' | |
| export VKD3D_SHADER_CACHE_PATH=~/'Wine Prefixes/Diablo II Resurrected' | |
| export __GL_SHADER_DISK_CACHE_PATH=~/'Wine Prefixes/Diablo II Resurrected' | |
| export WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' | |
| |
| # Working Directory | |
| cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' | |
| |
| # Launch | |
| wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/Diablo II Resurrected Launcher.exe' | |
| |
| # End</code> | |
| |
| Wine Prefixes/Diablo II Resurrected/steam-launcher.sh | |
| |
| ====== Quick Commands ====== | |
| |
| ===== Winecfg ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winecfg | |
| |
| ===== Winetricks ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winetricks | |
| |
| ===== Registry Editor ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' regedit | |
| |
| ===== Kill ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wineserver -k | |
| |
| ==== Test ==== | |
| |
| **** | |
| |
| killall 'Agent.exe' 'winedevice.exe' 'Diablo II Resur' 'start.exe' -signal 'SIGKILL' --wait | |
| |
| ===== Execute ===== | |
| |
| ==== Battle.net App ==== | |
| |
| cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net' && | |
| |
| WINEESYNC='0' | |
| |
| MANGOHUD='1' MANGOHUD_CONFIG='full,font_scale=2.0' | |
| |
| 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) ==== | |
| |
| cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && | |
| |
| WINEESYNC='0' | |
| |
| MANGOHUD='1' MANGOHUD_CONFIG='full,font_scale=2.0' | |
| |
| 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 ==== | |
| |
| * 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_/' && | |
| |
| MANGOHUD='1' MANGOHUD_CONFIG='full,font_scale=2.0' | |
| |
| 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/' | |
| |