Next revision | Previous revisionLast revisionBoth sides next revision |
games:wine:world_of_warcraft_2022 [2022/03/18 22:05] – created 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 ====== |
| |
* Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) | * Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) |
* [ ] Launch Battle.net when you start your computer | |
* Log-in | * Log-in |
* :!: Change Battle.net App settings | * :!: Change Battle.net App settings |
* 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 ===== |
===== World of Warcraft ===== | ===== World of Warcraft ===== |
| |
* Install World of Warcraft ((Locate the game does not work; the install process will detect the existing data files and patch as-necessary)) | * 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 ===== |
* https://github.com/doitsujin/dxvk | * https://github.com/doitsujin/dxvk |
| |
* D3D11 to Vulkan | * :!: This is expected to be used to provide DXGI for VKD3D-Proton |
* :!: This is only useful for DXGI | * Untested, but DXVK by itself //should// work for D3D11 to Vulkan |
* :!: May not be necessary for Fedora, but it won't necessarily hurt anything | |
* :!: The Async build of DXVK is unnecessary here, but presumably won't hurt anything either | |
| |
===== 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 ===== |
| |
* :!: It's not clear if VKD3D-Proton has a state cache folder like DXVK | **** |
| |
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' && 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 |
| |
===== 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_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/World of Warcraft' WINEDEBUG=-all 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 |
Path=/home/CHANGEME/Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft | Path=/home/CHANGEME/Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft |
Icon=B271_World of Warcraft Launcher.0.png | Icon=5298_World of Warcraft Launcher.0 |
Actions=Kill;Cache; | Actions=Kill;Cache; |
| |
| |
[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' && |
| |
WINEDEBUG='-all' | 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' | 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' && |
| |
WINEDEBUG='-all' | 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' | 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' && |
| |
WINEDEBUG='-all' | DXVK_HUD='full' |
| |
WINEPREFIX=~/'Wine Prefixes/World of Warcraft' wine ~/'Wine Prefixes/World of Warcraft/drive_c/Program Files (x86)/World of Warcraft/D2R.exe' | 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 ===== | ===== 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' |
| |