mkdir -p ~/'.wine' && wget 'https://us.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe&id=undefined' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'.wine/Diablo III' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe'
mv ~/'Downloads/Diablo III' ~/'.wine/Diablo III/drive_c/Program Files (x86)' && sync
cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'.wine/Diablo III' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe'
rm -f ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/Diablo III.desktop' && cd ~ && 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 III/drive_c/windows/system32/' && cp --backup '/tmp/dxvk-master/x32/'*'.dll' ~/'.wine/Diablo III/drive_c/windows/syswow64/' && WINEPREFIX=~/'.wine/Diablo III' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && mkdir -p ~/'.wine/Diablo III/dxvk_shader_cache' && sync
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'
nano ~/'.local/share/applications/wine/Programs/Diablo III/Diablo III.desktop'
[Desktop Entry] Name=Diablo III Categories=Game;AdventureGame;RolePlaying Exec='/bin/bash' -c "cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Diablo III' DXVK_STATE_CACHE_PATH=~/'.wine/Diablo III/dxvk_shader_cache' WINEPREFIX=~/'.wine/Diablo III' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III/Diablo III Launcher.exe'" Type=Application StartupNotify=true Icon=B9E6_Diablo III Launcher.0 StartupWMClass=diablo iii64.exe Actions=Cache;Kill;Notes; [Desktop Action Cache] Exec='/bin/bash' -c "rm -Rf ~/'.wine/Diablo III/mesa_shader_cache/'* ~/'.wine/Diablo III/dxvk_shader_cache/'* && sync && notify-send 'The Diablo III cache has been cleaned.'" Name=Cache Cleanup [Desktop Action Kill] Exec='/bin/bash' -c "WINEPREFIX=~/'.wine/Diablo III' wineserver --kill" Name=Force-close [Desktop Action Notes] StartupNotify=false Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:wine:diablo_3'" Name=Installation Notes # End
WINEPREFIX=~/'.wine/Diablo III' winecfg
WINEPREFIX=~/'.wine/Diablo III' winetricks
WINEPREFIX=~/'.wine/Diablo III' regedit
WINEPREFIX=~/'.wine/Diablo III' wineserver --kill
Battle.net Launcher.exe
cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Battle.net' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Diablo III' DXVK_STATE_CACHE_PATH=~/'.wine/Diablo III/dxvk_shader_cache' WINEPREFIX=~/'.wine/Diablo III' WINEDEBUG='' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe'
Diablo III Launcher.exe
cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Diablo III' DXVK_STATE_CACHE_PATH=~/'.wine/Diablo III/dxvk_shader_cache' WINEPREFIX=~/'.wine/Diablo III' WINEDEBUG='' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III/Diablo III Launcher.exe'
Diablo III.exe
cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Diablo III' DXVK_STATE_CACHE_PATH=~/'.wine/Diablo III/dxvk_shader_cache' WINEPREFIX=~/'.wine/Diablo III' WINEDEBUG='' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III/Diablo III.exe' -launch
Diablo III64.exe
cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III' && PULSE_LATENCY_MSEC='400' MESA_SHADER_CACHE_DIR=~/'.wine/Diablo III' DXVK_STATE_CACHE_PATH=~/'.wine/Diablo III/dxvk_shader_cache' WINEPREFIX=~/'.wine/Diablo III' WINEDEBUG='' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III/x64/Diablo III64.exe' -launch
gio open ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III'