User Tools

Site Tools


games:wine:diablo_2_resurrected

Information

  • Battle.net App 1)
  • Diablo II: Resurrected 2)
  • 64-bit

Prerequisites

Notes

  • TODO

Install

Battle.net App

  • Install to default directory when prompted 3)
  • [ ] Launch Battle.net when you start your computer
  • Log-in
  • :!: Change Battle.net App settings
  • 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/Diablo II Resurrected' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe'

Restore Data

mv ~/'Downloads/Diablo II Resurrected' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)' && sync

Diablo II Resurrected

  • Install Diablo II Resurrected 4)
cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe'

Clean Up

rm -f ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/Diablo II Resurrected.desktop' && sync

DXVK

Information

  • D3D11 to Vulkan
  • :!: This is only useful for DXGI
  • :!: 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

Install

rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && chmod +x '/tmp/dxvk-'*'/setup_dxvk.sh' && cd ~ && WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/Diablo II Resurrected/dxvk_state_cache' && sync

VKD3D-Proton

Information

Download

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/Diablo II Resurrected' '/tmp/vkd3d-proton/setup_vkd3d_proton.sh' install && rm -Rf '/tmp/vkd3d-proton' && sync

Windows 10

WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winetricks 'win10'

Desktop Launcher

Initial

rm -Rf ~/'.local/share/applications/wine/Programs/Battle.net' ~/'.local/share/applications/wine/Programs/Diablo II Resurrected' && mkdir -p ~/'.local/share/applications/wine/Programs/Diablo II Resurrected'

Diablo II Resurrected (Battle.net App)

  • :!: 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'
[Desktop Entry]
Name=Diablo II: Resurrected
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
Exec=env 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'
Type=Application
StartupNotify=true
Path=/home/CHANGEME/Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected
Icon=B271_Diablo II Resurrected Launcher.0.png
Actions=Kill;Cache;

[Desktop Action Kill]
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II Resurrected' wineserver -k
Name=Force-close

[Desktop Action Cache]
Exec=bash -c "rm -Rf ~/'Wine Prefixes/Diablo II Resurrected/mesa_shader_cache' ~/'Wine Prefixes/Diablo II Resurrected/drive_c/windows/temp/'* ~/'Wine Prefixes/Diablo II Resurrected/drive_c/users/'$USER'/Temp/'* && sync"
Name=Cache Clean-up
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Diablo II Resurrected/Diablo II Resurrected.desktop'

Quick Commands

Winecfg

WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winecfg

Winetricks

WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' winetricks

Registry Editor

WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' regedit

Kill

WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wineserver -k

Execute

Battle.net App

cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net' && 
WINEDEBUG='-all'
RADV_DEBUG='nohiz'
WINEPREFIX=~/'Wine Prefixes/Diablo II Resurrected' wine ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe'

Diablo II Resurrected (Battle.net App)

cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && 
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'

Diablo II Resurrected

cd ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected' && 
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/D2R.exe'

File Manager

Root

gio open ~/'Wine Prefixes/Diablo II Resurrected/drive_c/Program Files (x86)/Diablo II Resurrected'
3)
C:/Program Files (x86)/Battle.net
4)
Locate the game does not work; the install process will detect the existing data files and patch as-necessary
games/wine/diablo_2_resurrected.txt · Last modified: 2021/11/24 18:53 by Sean Rhone