games:wine:world_of_warcraft_2022
This is an old revision of the document!
Table of Contents
Information
Prerequisites
Install
Battle.net App
- Install to default directory when prompted 3)
- 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' WINEARCH='win64' WINEESYNC='0' wine ~/'Downloads/Battle.net-Setup.exe'
Restore Data
mv ~/'Downloads/World of Warcraft' ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)' && sync
World of Warcraft
- Install World of Warcraft 4)
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' WINEESYNC='0' wine ~/'Wine Prefixes/World of Warcraft/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.desktop' && sync
DXVK
Information
- This is expected to be used to provide DXGI for VKD3D-Proton
- Untested, but DXVK by itself should work for D3D11 to Vulkan
Download
Install
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' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/World of Warcraft/dxvk_state_cache' && sync
VKD3D-Proton
Information
- D3D12 to Vulkan
Download
- Need to be signed into GitHub to be able to click artifact links
Install
rm -Rf '/tmp/vkd3d-proton' && unzip -d '/tmp/vkd3d-proton' ~/'Downloads/vkd3d-proton-'*'.zip' && chmod +x '/tmp/vkd3d-proton/setup_vkd3d_proton.sh' && cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' '/tmp/vkd3d-proton/setup_vkd3d_proton.sh' install && rm -Rf '/tmp/vkd3d-proton' && cd ~ && sync
Windows 10
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winetricks 'win10'
Desktop Launcher
Initial
rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/World of Warcraft' && mkdir -p ~/'.local/share/applications/wine/Programs/World of Warcraft'
World of Warcraft (Battle.net App)
nano ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft.desktop'
[Desktop Entry] Name=World of Warcraft Comment=Descend into World of Warcraft and join millions of mighty heroes in an online world of myth, magic and limitless adventure Categories=Game Exec=env MESA_SHADER_CACHE_DIR='/home/CHANGEME/Wine Prefixes/World of Warcraft' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/World of Warcraft/dxvk_state_cache' VKD3D_SHADER_CACHE_PATH='/home/CHANGEME/Wine Prefixes/World of Warcraft' __GL_SHADER_DISK_CACHE_PATH='/home/CHANGEME/Wine Prefixes/World of Warcraft' WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft' wine '/home/CHANGEME/Wine Prefixes/World of Warcraft/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/drive_c/Program Files (x86)/World of Warcraft Icon=5298_World of Warcraft Launcher.0 Actions=Kill;Cache; [Desktop Action Kill] Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/World of Warcraft' wineserver -k Name=Force-close [Desktop Action Cache] Exec=bash -c "rm -Rf ~/'Wine Prefixes/World of Warcraft/mesa_shader_cache' ~/'Wine Prefixes/World of Warcraft/dxvk_state_cache' ~/'Wine Prefixes/World of Warcraft/vkd3d-proton.cache' ~/'Wine Prefixes/World of Warcraft/GLCache' ~/'Wine Prefixes/World of Warcraft/drive_c/windows/temp/'* ~/'Wine Prefixes/World of Warcraft/drive_c/users/'$USER'/Temp/'* && sync" Name=Cache Clean-up
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft.desktop'
Steam Launcher
- World of Warcraft (Battle.net App)
World of Warcraft
nano ~/'Wine Prefixes/World of Warcraft/steam-launcher.sh' && chmod +x ~/'Wine Prefixes/World of Warcraft/steam-launcher.sh'
#!/bin/sh # Environment Variables export MESA_SHADER_CACHE_DIR=~/'Wine Prefixes/World of Warcraft' export VKD3D_SHADER_CACHE_PATH=~/'Wine Prefixes/World of Warcraft' export __GL_SHADER_DISK_CACHE_PATH=~/'Wine Prefixes/World of Warcraft' export WINEPREFIX=~/'Wine Prefixes/World of Warcraft' # Working Directory cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' # Launch wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/World of Warcraft Launcher.exe' # End
Wine Prefixes/World of Warcraft/steam-launcher.sh
Quick Commands
Winecfg
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winecfg
Winetricks
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' winetricks
Registry Editor
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' regedit
Kill
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wineserver -k
Test
killall 'Agent.exe' 'winedevice.exe' 'World of Warcra' 'start.exe' -signal 'SIGKILL' --wait
Execute
Battle.net App
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net' &&
WINEESYNC='0'
DXVK_HUD='full'
WINEDEBUG=''
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe'
World of Warcraft (Battle.net App)
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' &&
WINEESYNC='0'
DXVK_HUD='full'
WINEDEBUG=''
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'
World of Warcraft
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' &&
DXVK_HUD='full'
WINEDEBUG=''
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/_retail_/Wow.exe'
File Manager
Root
gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft'
AddOns
- TODO
gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft'
/var/www/wiki/data/attic/games/wine/world_of_warcraft_2022.1661947824.txt.gz ยท Last modified: 2022/08/31 08:10 by Sean Rhone