Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:world_of_warcraft_2022 [2022/08/31 08:06] – [Information] Sean Rhone | games:wine:world_of_warcraft_2022 [2023/10/09 09:10] (current) – removed Sean Rhone |
---|
====== Information ====== | |
| |
* Battle.net App ((http://us.battle.net/en/app)) | |
* World of Warcraft ((https://worldofwarcraft.com)) | |
* 64-bit | |
| |
===== Prerequisites ===== | |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | |
* [[notes:wine|Wine]] | |
| |
====== Install ====== | |
| |
===== Battle.net App ===== | |
| |
* Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) | |
* 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 ((Locate the game does not work; the install process will detect the existing data files, fail, and install with the Update process)) | |
| |
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 ===== | |
| |
* https://github.com/doitsujin/dxvk | |
| |
* :!: This is expected to be used to provide DXGI for VKD3D-Proton | |
* Untested, but DXVK by itself //should// work for D3D11 to Vulkan | |
| |
===== Download ===== | |
| |
* https://github.com/doitsujin/dxvk/releases | |
| |
===== 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 ===== | |
| |
* https://github.com/HansKristian-Work/vkd3d-proton | |
| |
* D3D12 to Vulkan | |
| |
===== Download ===== | |
| |
* https://github.com/HansKristian-Work/vkd3d-proton/actions/workflows/artifacts.yml | |
* :!: 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' | |
| |
<code> | |
[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' 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/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 ===== | |
| |
* 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' | |
| |
<code> | |
#!/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</code> | |
| |
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' | |
| |