Table of Contents

Information

Prerequisites

Notes

Install

Battle.net App

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'

Restore Data

mv ~/'Downloads/Diablo III' ~/'.wine/Diablo III/drive_c/Program Files (x86)' && sync

Diablo III

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'

Clean Up

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

Libraries

DXVK

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

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
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

Quick Commands

Winecfg

WINEPREFIX=~/'.wine/Diablo III' winecfg

Winetricks

WINEPREFIX=~/'.wine/Diablo III' winetricks

Registry Editor

WINEPREFIX=~/'.wine/Diablo III' regedit

Kill

WINEPREFIX=~/'.wine/Diablo III' wineserver --kill

Execute

Battle.net App

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 (Battle.net App)

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

32-bit

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

64-bit

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

File Manager

Root

gio open ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III'
3)
C:/Program Files (x86)/Battle.net
4)
don't auto-start, exit on game launch
5)
need to be signed into GitHub, and select the latest master artifacts package