games:wine:diablo_2_resurrected
This is an old revision of the document!
Table of Contents
Information
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
Download
Install
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && 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
- D3D12 to Vulkan
Download
- Need to be signed into GitHub
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 III' && mkdir -p ~/'.local/share/applications/wine/Programs/Diablo III'
Diablo III (Battle.net App)
nano ~/'.local/share/applications/wine/Programs/Diablo III/Diablo III.desktop'
[Desktop Entry] Name=Diablo III Comment=TODO Categories=Game Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Diablo III/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Diablo III' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo III' wine '/home/CHANGEME/Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III/Diablo III Launcher.exe' Type=Application StartupNotify=true Path=/home/CHANGEME/Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III Icon=0B54_Diablo III Launcher.0.png Actions=Kill;Cache; [Desktop Action Kill] Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo III' wineserver -k Name=Force-close [Desktop Action Cache] Exec=bash -c "rm -Rf ~/'Wine Prefixes/Diablo III/dxvk_state_cache' ~/'Wine Prefixes/WDiablo III/mesa_shader_cache' ~/'Wine Prefixes/Diablo III/drive_c/windows/temp/'* ~/'Wine Prefixes/Diablo III/drive_c/users/'$USER'/Temp/'* && sync" Name=Cache Clean-up
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Diablo III/Diablo III.desktop'
Quick Commands
Winecfg
WINEPREFIX=~/'Wine Prefixes/Diablo III' winecfg
Winetricks
WINEPREFIX=~/'Wine Prefixes/Diablo III' winetricks
Registry Editor
WINEPREFIX=~/'Wine Prefixes/Diablo III' regedit
Kill
WINEPREFIX=~/'Wine Prefixes/Diablo III' wineserver -k
Execute
Battle.net App
cd ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Battle.net' &&
DXVK_HUD='full'
WINEDEBUG='-all'
WINEPREFIX=~/'Wine Prefixes/Diablo III' wine ~/'Wine Prefixes/Diablo III/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'
/var/www/wiki/data/attic/games/wine/diablo_2_resurrected.1633913575.txt.gz · Last modified: 2021/10/10 20:52 by Sean Rhone