| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:wine:diablo_2_resurrected [2025/09/21 18:36] – [master] Sean Rhone | games:linux:wine:diablo_2_resurrected [2025/11/12 15:49] (current) – Sean Rhone |
|---|
| ===== Vulkan ===== | ===== Vulkan ===== |
| |
| WINEPREFIX=~/'.wine/Diablo II Resurrected' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Direct3D' /v 'renderer' /t 'REG_SZ' /d 'vulkan' /f | **** |
| |
| WINEPREFIX=~/'.wine/Diablo II Resurrected' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Drivers' /v 'Graphics' /t 'REG_SZ' /d 'wayland' /f | WINEPREFIX=~/'.wine/Diablo II Resurrected' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\Direct3D' /v 'renderer' /t 'REG_SZ' /d 'vulkan' /f |
| |
| ===== Sandbox ===== | ===== Sandbox ===== |
| |
| rm -f '/tmp/Battle.net-Setup.exe' | rm -f '/tmp/Battle.net-Setup.exe' |
| |
| ====== Libraries ====== | |
| |
| ===== DXVK ===== | |
| |
| ==== master ==== | |
| |
| * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | |
| * Last tested: ''dxvk-master-7216d72a9ac61f5903cb43ba95aebb8dc15c6540.zip'' | |
| |
| rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x64/dxgi.dll' ~/'.wine/Diablo II Resurrected/drive_c/windows/system32' && mv -fv '/tmp/dxvk-master/x32/dxgi.dll' ~/'.wine/Diablo II Resurrected/drive_c/windows/syswow64' && mv -fv '/tmp/dxvk-master/x32/d3d10core.dll' ~/'.wine/Diablo II Resurrected/drive_c/windows/syswow64' | |
| |
| ==== Dll Overrides ==== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/Diablo II Resurrected' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'dxgi' /t 'REG_SZ' /d 'native' /f | |
| |
| ===== vkd3d-proton ===== | |
| |
| ==== master ==== | |
| |
| * https://github.com/HansKristian-Work/vkd3d-proton/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | |
| * Last tested: ''vkd3d-proton-master-a57c601cb52df195232afb737bc6c1b0d1397680.zip'' | |
| |
| rm -Rf '/tmp/vkd3d-proton-master' && unzip ~/'Downloads/vkd3d-proton-master-'*'.zip' -d '/tmp/vkd3d-proton-master' && mv -fv '/tmp/vkd3d-proton-master/x64/d3d12.dll' '/tmp/vkd3d-proton-master/x64/d3d12core.dll' ~/'.wine/Diablo II Resurrected/drive_c/windows/system32' | |
| |
| ==== Dll Overrides ==== | |
| |
| **** | |
| |
| WINEPREFIX=~/'.wine/Diablo II Resurrected' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d12' /t 'REG_SZ' /d 'native' /f && WINEPREFIX=~/'.wine/Diablo II Resurrected' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'd3d12core' /t 'REG_SZ' /d 'native' /f | |
| |
| ====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
| |
| * :!: The direct-launch option requires modifying and specifying a Battle.net account email and password | * :!: The direct-launch option requires modifying and specifying a Battle.net account email and password |
| * TODO: Check for offline flag(s) and add separate direct launch option ([[https://d2mods.info/forum/viewtopic.php?f=217&t=67329&p=503731#p503731|source 1]], [[https://old.reddit.com/r/Diablo/comments/qb6ife/psa_you_can_enable_infinite_respecs_in_offline/hhd1g38/|source 2]]) | * TODO: Check for offline flag(s) and add separate direct launch option ([[https://d2mods.info/forum/viewtopic.php?f=217&t=67329&p=503731#p503731|source]]) |
| |
| nano ~/'.local/share/applications/wine/Programs/Diablo II Resurrected/Diablo II Resurrected.desktop' | nano ~/'.local/share/applications/wine/Programs/Diablo II Resurrected/Diablo II Resurrected.desktop' |
| Icon=B271_Diablo II Resurrected Launcher.0 | Icon=B271_Diablo II Resurrected Launcher.0 |
| StartupWMClass=d2r.exe | StartupWMClass=d2r.exe |
| Actions=Cache;Kill;Notes;Direct; | Actions=Kill;Notes;Direct; |
| | |
| [Desktop Action Cache] | |
| Exec='/bin/bash' -c "rm -Rf ~/'.wine/Diablo II Resurrected/mesa_shader_cache/'* ~/'.wine/Diablo II Resurrected/vkd3d_shader_cache/'* && sync && notify-send 'The Diablo II Resurrected cache has been cleaned.'" | |
| Name=Cache Cleanup | |
| |
| [Desktop Action Kill] | [Desktop Action Kill] |
| |
| [Desktop Action Notes] | [Desktop Action Notes] |
| StartupNotify=false | |
| Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:wine:diablo_2_resurrected'" | Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:wine:diablo_2_resurrected'" |
| Name=Installation Notes | Name=Installation Notes |
| |
| [Desktop Action Direct] | [Desktop Action Direct] |
| StartupNotify=false | |
| Exec='/bin/bash' -c "cd ~/'.wine/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II Resurrected' VKD3D_SHADER_CACHE_PATH=~/'.wine/Diablo II Resurrected/vkd3d_shader_cache' WINEPREFIX=~/'.wine/Diablo II Resurrected' wine ~/'.wine/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/D2R.exe' -username espionage724@x -password x" | Exec='/bin/bash' -c "cd ~/'.wine/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II Resurrected' VKD3D_SHADER_CACHE_PATH=~/'.wine/Diablo II Resurrected/vkd3d_shader_cache' WINEPREFIX=~/'.wine/Diablo II Resurrected' wine ~/'.wine/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/D2R.exe' -username espionage724@x -password x" |
| Name=Launch D2R without Battle.net | Name=Launch D2R without Battle.net |