| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:wine:world_of_warcraft_classic [2023/05/17 17:36] – [Clean Up] 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 ====== | |
| |
| ===== 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 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' | |
| |
| ===== Restore World of Warcraft ===== | |
| |
| **** | |
| |
| 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 | |
| |
| ===== World of Warcraft ===== | |
| |
| * Install World of Warcraft Classic | |
| * Requires 4GB+ free space | |
| * :!: Will likely report "something broke" after starting the install, this can be safely ignored | |
| |
| 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 ===== | |
| |
| **** | |
| |
| rm -rf ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/Burning Crusade Classic.desktop' && cd ~ && sync | |
| |
| ====== DXVK ====== | |
| |
| ===== Information ===== | |
| |
| * https://github.com/doitsujin/dxvk | |
| |
| * D3D11 to Vulkan | |
| |
| ===== Download ===== | |
| |
| * https://github.com/doitsujin/dxvk/releases | |
| |
| ===== Install ===== | |
| |
| **** | |
| |
| rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' && sync | |
| |
| ====== AddOns ====== | |
| |
| ===== Folder ===== | |
| |
| **** | |
| |
| 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' | |
| |
| ===== 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' | |
| |
| ===== 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 ====== | |
| |
| ===== Initial ===== | |
| |
| **** | |
| |
| 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' | |
| |
| ===== World of Warcraft (Battle.net App) ===== | |
| |
| nano ~/'.local/share/applications/wine/Programs/World of Warcraft Classic/World of Warcraft Classic.desktop' | |
| |
| <code> | |
| [Desktop Entry] | |
| 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. | |
| Categories=Game;AdventureGame;RolePlaying | |
| Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/dxvk_state_cache' MESA_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' | |
| Type=Application | |
| StartupNotify=true | |
| Path=/home/CHANGEME/Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft | |
| Icon=5C12_World of Warcraft Launcher.0 | |
| Actions=Kill;Cache; | |
| |
| [Desktop Action Kill] | |
| Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft Classic' wineserver -k | |
| Name=Force-close | |
| |
| [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' | |
| |
| ==== High-Quality Icon ==== | |
| |
| * 512x512 icon | |
| |
| 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' | |
| |
| ====== Quick Commands ====== | |
| |
| ===== Winecfg ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winecfg | |
| |
| ===== Winetricks ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' winetricks | |
| |
| ===== Registry Editor ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' regedit | |
| |
| ===== Kill ===== | |
| |
| **** | |
| |
| WINEPREFIX=~/'Wine Prefixes/World of Warcraft Classic' wineserver -k | |
| |
| ===== Execute ===== | |
| |
| ==== Battle.net App ==== | |
| |
| * [[notes:wine#environment_variables|More Environment Variables]] | |
| |
| cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/Battle.net' && | |
| |
| DXVK_HUD='full' | |
| |
| WINEDEBUG='-all' | |
| |
| 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' | |
| |
| ==== World of Warcraft (Battle.net App) ==== | |
| |
| * [[notes:wine#environment_variables|More Environment Variables]] | |
| |
| cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft' && | |
| |
| DXVK_HUD='full' | |
| |
| WINEDEBUG='-all' | |
| |
| 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' | |
| |
| ==== World of Warcraft ==== | |
| |
| * [[notes:wine#environment_variables|More Environment Variables]] | |
| |
| cd ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_' && | |
| |
| DXVK_HUD='full' | |
| |
| WINEDEBUG='-all' | |
| |
| 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' | |
| |
| ===== File Manager ===== | |
| |
| ==== Root ==== | |
| |
| **** | |
| |
| gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_' | |
| |
| ==== AddOns ==== | |
| |
| **** | |
| |
| gio open ~/'Wine Prefixes/World of Warcraft Classic/drive_c/Program Files (x86)/World of Warcraft/_classic_/AddOns' | |