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='win32' wine ~/'Downloads/Battle.net-Setup.exe'
mv ~/'Downloads/Diablo III' ~/'.wine/Diablo III/drive_c/Program Files' && sync
cd ~/'.wine/Diablo III/drive_c/Program Files/Battle.net' && WINEPREFIX=~/'.wine/Diablo III' wine ~/'.wine/Diablo III/drive_c/Program Files/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/x32/'*'.dll' ~/'.wine/Diablo III/drive_c/windows/system32/' && WINEPREFIX=~/'.wine/Diablo III' winetricks 'd3d9=native' 'd3d10core=native' 'd3d11=native' 'dxgi=native' && mkdir -p ~/'.wine/Diablo III/dxvk_shader_cache' && sync
ls ~/'Downloads/gallium-nine-standalone-'*'.tar.gz' && rm -rf '/tmp/gallium-nine-standalone' && cd '/tmp' && tar -xvzf ~/'Downloads/gallium-nine-standalone-'*'.tar.gz' && cd ~ && cp --force '/tmp/gallium-nine-standalone/lib32/d3d9-nine.dll.so' ~/'.wine/Diablo III/drive_c/windows/system32/d3d9.dll' && rm -rf '/tmp/gallium-nine-standalone' ~/'Downloads/gallium-nine-standalone-'*'.tar.gz' && sync
rm -f ~/'.wine/Diablo III/drive_c/windows/system32/d3d9.dll' && WINEPREFIX=~/'.wine/Diablo III' wineboot --update
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/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/Diablo III/Diablo III Launcher.exe'" Type=Application StartupNotify=true Icon=B9E6_Diablo III Launcher.0 StartupWMClass=diablo iii.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/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/Battle.net/Battle.net Launcher.exe'
Diablo III Launcher.exe
cd ~/'.wine/Diablo III/drive_c/Program Files/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/Diablo III/Diablo III Launcher.exe'
Diablo III.exe
cd ~/'.wine/Diablo III/drive_c/Program Files/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/Diablo III/Diablo III.exe' -launch
gio open ~/'.wine/Diablo III/drive_c/Program Files/Diablo III'