User Tools

Site Tools


games:wine:diablo_2_resurrected

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
games:wine:diablo_2_resurrected [2021/11/24 16:02] – [Diablo II Resurrected (Battle.net App)] Sean Rhonegames:wine:diablo_2_resurrected [2022/03/23 07:31] – DLSS via NVAPI (partial) Sean Rhone
Line 53: Line 53:
   * :!: 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 =====
Line 82: Line 83:
  
   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 =====
Line 99: Line 139:
 ===== 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'
Line 108: Line 148:
 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
Line 157: Line 197:
   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'
Line 166: Line 206:
  
   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'
Line 177: Line 217:
   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'
/var/www/wiki/data/pages/games/wine/diablo_2_resurrected.txt · Last modified: 2024/02/08 18:29 by Sean Rhone