Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision |
games:wine:world_of_warcraft_2022 [2022/08/13 15:25] – Sean Rhone | games:wine:world_of_warcraft_2022 [2022/08/31 08:10] – [World of Warcraft (Battle.net App)] Sean Rhone |
---|
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | * [[distros:fedora_workstation_gnome|Fedora Workstation]] |
* [[notes:wine|Wine]] | * [[notes:wine|Wine]] |
| |
===== Notes ===== | |
| |
* TODO | |
| |
====== Install ====== | ====== Install ====== |
* Close | * 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' wine ~/'Downloads/Battle.net-Setup.exe' | 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 ===== | ===== Restore Data ===== |
* 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)) | * 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' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | 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 ===== | ===== Clean Up ===== |
| |
* :!: This is expected to be used to provide DXGI for VKD3D-Proton | * :!: This is expected to be used to provide DXGI for VKD3D-Proton |
* By itself this should allow D3D11 to Vulkan | * Untested, but DXVK by itself //should// work for D3D11 to Vulkan |
| |
===== Download ===== | ===== Download ===== |
| |
* https://github.com/HansKristian-Work/vkd3d-proton/actions/workflows/artifacts.yml | * https://github.com/HansKristian-Work/vkd3d-proton/actions/workflows/artifacts.yml |
* :!: Need to be signed into GitHub | * :!: Need to be signed into GitHub to be able to click artifact links |
| |
===== Install ===== | ===== 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 | 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 |
| |
====== NVIDIA Libs ====== | |
| |
===== Information ===== | |
| |
* https://github.com/SveSop/nvidia-libs | |
| |
* It's not certain if this is needed for Ray-traced Shadows or if it benefits from RTX, but doesn't hurt anything | |
| |
===== Download ===== | |
| |
* https://github.com/SveSop/nvidia-libs/releases | |
| |
===== Install ===== | |
| |
**** | |
| |
cd ~ && rm -rf '/tmp/nvidia-libs' && cd '/tmp' && tar --extract --xz --verbose --file ~/'Downloads/nvidia-libs-'*'.tar.xz' && chmod +x '/tmp/nvidia-libs/setup_nvlibs.sh' && cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' '/tmp/nvidia-libs/setup_nvlibs.sh' install && rm -Rf '/tmp/nvidia-libs' && sync | |
| |
==== Test ==== | |
| |
**** | |
| |
cd ~ && rm -rf '/tmp/nvidia-libs' && cd '/tmp' && tar --extract --xz --verbose --file ~/'Downloads/nvidia-libs-'*'.tar.xz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine '/tmp/nvidia-libs/bin/nvapi64-tests.exe' | |
| |
==== Clean-up ==== | |
| |
**** | |
| |
rm -Rf '/tmp/nvidia-libs' && sync | |
| |
===== Windows 10 ===== | ===== Windows 10 ===== |
Comment=Descend into World of Warcraft and join millions of mighty heroes in an online world of myth, magic and limitless adventure | Comment=Descend into World of Warcraft and join millions of mighty heroes in an online world of myth, magic and limitless adventure |
Categories=Game | 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' 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' | 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 | Type=Application |
StartupNotify=true | StartupNotify=true |
| |
[Desktop Action Cache] | [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" | 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</code> | Name=Cache Clean-up</code> |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/World of Warcraft/World of Warcraft.desktop' | 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 ====== | ====== Quick Commands ====== |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wineserver -k | WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wineserver -k |
| |
| ==== Test ==== |
| |
| **** |
| |
| killall 'Agent.exe' 'winedevice.exe' 'World of Warcra' 'start.exe' -signal 'SIGKILL' --wait |
| |
===== Execute ===== | ===== Execute ===== |
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net' && | cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net' && |
| |
VKD3D_CONFIG='dxr,dxr11' | WINEESYNC='0' |
| |
| DXVK_HUD='full' |
| |
WINEDEBUG='-all' | WINEDEBUG='' |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' && | cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' && |
| |
VKD3D_CONFIG='dxr,dxr11' | WINEESYNC='0' |
| |
WINEDEBUG='-all' | 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' | 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 Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' && | cd ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' && |
| |
VKD3D_CONFIG='dxr,dxr11' | DXVK_HUD='full' |
| |
WINEDEBUG='-all' | WINEDEBUG='' |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/D2R.exe' | 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 ===== | ===== File Manager ===== |
| |
**** | **** |
| |
| 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' | gio open ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft' |
| |