Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision |
games:wine:diablo_2_resurrected [2021/11/24 16:02] – [Diablo II Resurrected (Battle.net App)] Sean Rhone | games:wine:diablo_2_resurrected [2022/03/23 07:31] – DLSS via NVAPI (partial) Sean Rhone |
---|
* :!: This is only useful for DXGI | * :!: This is only useful for DXGI |
* :!: May not be necessary for Fedora, but it won't necessarily hurt anything | * :!: 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 ===== |
| |
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/Diablo II Resurrected' '/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/Diablo II Resurrected' '/tmp/vkd3d-proton/setup_vkd3d_proton.sh' install && rm -Rf '/tmp/vkd3d-proton' && sync |
| |
| ====== DXVK-NVAPI ====== |
| |
| ===== Information ===== |
| |
| * https://github.com/jp7677/dxvk-nvapi |
| |
| * NVAPI through DXVK |
| * :!: This notably provides DLSS support |
| |
| ===== Download ===== |
| |
| * https://github.com/jp7677/dxvk-nvapi/releases |
| |
| ===== Install ===== |
| |
| ==== Install ==== |
| |
| * :!: TODO: Implement ''--context'' on ''mv'' and ''cp'' on other notes to possibly workaround SELinux permissions |
| |
| rm -rf '/tmp/dxvk-nvapi' && mkdir -p '/tmp/dxvk-nvapi' && cd '/tmp/dxvk-nvapi' && tar -xvzf ~/'Downloads/dxvk-nvapi-'*'.tar.gz' && mv --force --context ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/system32/nvapi64.dll' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/system32/nvapi64.dll.bak' && mv --force --context ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/syswow64/nvapi.dll' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/syswow64/nvapi.dll.bak' && sync && cp --force --context '/tmp/dxvk-nvapi/x64/nvapi64.dll' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/system32' && cp --force --context '/tmp/dxvk-nvapi/x32/nvapi.dll' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/syswow64' && sync |
| |
| ==== Test ==== |
| |
| * :!: See [[https://github.com/jp7677/dxvk-nvapi/wiki/Tips-and-tricks-for-usage-with-DXVK-NVAPI|Tips and tricks for usage with DXVK NVAPI]] if this test fails |
| |
| WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' WINEDLLOVERRIDES='dxgi,nvapi64=n' wine '/tmp/dxvk-nvapi/x64/nvapi64-tests.exe' |
| |
| ==== Clean-up ==== |
| |
| **** |
| |
| rm -rf '/tmp/dxvk-nvapi' && sync |
| |
| ==== NGX ==== |
| |
| * https://github.com/jp7677/dxvk-nvapi/wiki/Tips-and-tricks-for-usage-with-DXVK-NVAPI#dlss-2x |
| |
| cp --force --context '/usr/lib64/nvidia/wine/nvngx.dll' '/usr/lib64/nvidia/wine/_nvngx.dll' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/system32' && sync |
| |
===== Windows 10 ===== | ===== Windows 10 ===== |
===== Diablo II Resurrected (Battle.net App) ===== | ===== Diablo II Resurrected (Battle.net App) ===== |
| |
* :!: AMD graphics cards need ''RADV_DEBUG=nohiz'' to avoid everything having black textures | * :!: AMD graphics cards needed ''RADV_DEBUG=nohiz'' to avoid everything having black textures, but this doesn't seem to be the case anymore |
| |
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' |
Comment=Pursue the mysterious Dark Wanderer and fight the denizens of hell as you uncover the fate of the Prime Evils Diablo, Mephisto, and Baal. | Comment=Pursue the mysterious Dark Wanderer and fight the denizens of hell as you uncover the fate of the Prime Evils Diablo, Mephisto, and Baal. |
Categories=Game | Categories=Game |
Exec=env RADV_DEBUG='nohiz' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' wine '/home/CHANGEME/Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/Diablo II Resurrected Launcher.exe' | Exec=env MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' VKD3D_CONFIG='dxr,dxr11' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' wine '/home/CHANGEME/Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/Diablo II Resurrected Launcher.exe' |
Type=Application | Type=Application |
StartupNotify=true | StartupNotify=true |
cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net' && | cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net' && |
| |
WINEDEBUG='-all' | VKD3D_CONFIG='dxr,dxr11' |
| |
RADV_DEBUG='nohiz' | WINEDEBUG='-all' |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
| |
cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && | cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && |
| |
| VKD3D_CONFIG='dxr,dxr11' |
| |
WINEDEBUG='-all' | WINEDEBUG='-all' |
| |
RADV_DEBUG='nohiz' | |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/Diablo II Resurrected Launcher.exe' | WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/Diablo II Resurrected Launcher.exe' |
cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && | cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && |
| |
WINEDEBUG='-all' | VKD3D_CONFIG='dxr,dxr11' |
| |
RADV_DEBUG='nohiz' | WINEDEBUG='-all' |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/D2R.exe' | WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/D2R.exe' |