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
games:wine:diablo_2_resurrected [2024/01/02 17:23] – [Notes] Sean Rhonegames:wine:diablo_2_resurrected [2024/02/08 18:29] (current) Sean Rhone
Line 16: Line 16:
   * 2023/09/14: Resurrected graphics has too-low of FPS on Intel UHD 630; switch to Legacy graphics in-game ((actual in-game and not main menu)) by pressing ''G''   * 2023/09/14: Resurrected graphics has too-low of FPS on Intel UHD 630; switch to Legacy graphics in-game ((actual in-game and not main menu)) by pressing ''G''
   * :!: Using a game controller requires the hardware specs to run Resurrected graphics at reasonable framerates, even if switched to Legacy graphics ((presumably Resurrected assets need to be running for the controller mappings and UI being done by the game engine))   * :!: Using a game controller requires the hardware specs to run Resurrected graphics at reasonable framerates, even if switched to Legacy graphics ((presumably Resurrected assets need to be running for the controller mappings and UI being done by the game engine))
-  * [[games:wine:diablo_2_resurrected?rev=1688917348#nvidia_libs|See this notes section from an older revision]] for ''nvidia-libs'' and DLSS+  * [[games:wine:diablo_2_resurrected?rev=1688917348#nvidia_libs|See this notes section from an older revision]] for ''nvidia-libs'' and DLSS ((until the notes are re-added to this main page, assume the commands may need refactored in 2024+)) 
 +  * :!: When directly-launching ''D2R.exe'' with ''-username'' and ''-password'', if the Battle.net account or the system flags you for captchas, log-in isn't possible 
 + 
 +====== Battle.net Client Broken ====== 
 + 
 +  * :!: 2023/12: See [[notes:battle.net_client_broken_2023|notes]] 
 +  * These notes still mostly work but will require undocumented tricks to navigate the Battle.net client, and it might not be possible to clean-install games in this state
  
 ====== Install ====== ====== Install ======
Line 54: Line 60:
   * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package))   * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package))
   * Provides DXGI for ''vkd3d-proton''   * Provides DXGI for ''vkd3d-proton''
-  * Since D2R can only use D3D12 and thus ''vkd3d-proton'', there's no need for DXVK's cache folder ((if adapting for other games, get this syntax from somewhere else))+  * Since D2R can only use D3D12 and thus ''vkd3d-proton'', <del>there's no need for DXVK's cache folder</del> 
 +  * TODO: Add DXVK's cache folder as the Battle.net client probably uses it anyway
  
   ls ~/'Downloads/dxvk-master-'*'.zip' && rm -Rf '/tmp/dxvk-master' && mkdir -p '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master/' && cp --backup '/tmp/dxvk-master/x64/'*'.dll' ~/'.wine/Diablo II Resurrected/drive_c/windows/system32/' && cp --backup '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Diablo II Resurrected/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/Diablo II Resurrected' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && sync   ls ~/'Downloads/dxvk-master-'*'.zip' && rm -Rf '/tmp/dxvk-master' && mkdir -p '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master/' && cp --backup '/tmp/dxvk-master/x64/'*'.dll' ~/'.wine/Diablo II Resurrected/drive_c/windows/system32/' && cp --backup '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Diablo II Resurrected/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/Diablo II Resurrected' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && sync
Line 74: Line 81:
  
 ===== Diablo II Resurrected (Battle.net App) ===== ===== Diablo II Resurrected (Battle.net App) =====
 +
 +  * :!: 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]])
  
   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 86: Line 96:
 Icon=B271_Diablo II Resurrected Launcher.0 Icon=B271_Diablo II Resurrected Launcher.0
 StartupWMClass=d2r.exe StartupWMClass=d2r.exe
-Actions=Cache;Kill;Notes;+Actions=Cache;Kill;Notes;Direct;
  
 [Desktop Action Cache] [Desktop Action Cache]
Line 100: Line 110:
 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]
 +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"
 +Name=Launch D2R without Battle.net
  
 # End</code> # End</code>
Line 148: Line 163:
   * Useful for quick graphical testing as this bypasses Battle.net launcher and boots D2R directly   * Useful for quick graphical testing as this bypasses Battle.net launcher and boots D2R directly
   * :!: This may fail to load online characters occasionally   * :!: This may fail to load online characters occasionally
 +  * TODO: ''-username'', ''-password'', and other options ([[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]])
  
   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' WINEDEBUG='' wine ~/'.wine/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/D2R.exe'   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' WINEDEBUG='' wine ~/'.wine/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected/D2R.exe'
/var/www/wiki/data/attic/games/wine/diablo_2_resurrected.1704234199.txt.gz · Last modified: 2024/01/02 17:23 by Sean Rhone