| Both sides previous revisionPrevious revisionNext revision | Previous revision |
| games:linux:wine:diablo_3_x64 [2025/08/27 00:11] – Sean Rhone | games:linux:wine:diablo_3_x64 [2025/12/16 23:56] (current) – Sean Rhone |
|---|
| ====== Information ====== | ====== Information ====== |
| |
| * Diablo III ((https://us.diablo3.blizzard.com/en-us/)) | * Diablo III |
| * Battle.net App ((http://us.battle.net/en/app)) | * Battle.net App |
| * 64-bit | * 64-bit |
| |
| ===== Prerequisites ===== | ===== Prerequisites ===== |
| |
| * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] | * [[linux:distros:ubuntu|Ubuntu]] |
| * [[linux;notes;wine|Wine]] (old WoW64) | * [[linux;notes;wine|Wine]] (new WoW64) |
| |
| ====== Install ====== | ====== Install ====== |
| ===== Battle.net App ===== | ===== Battle.net App ===== |
| |
| * Install Location: ''C:/Program Files (x86)/Battle.net'' | * Install to default location ((''C:/Program Files (x86)/Battle.net'')) |
| * ''[ ]'' Launch Battle.net when you start your computer | * ''[ ]'' Launch Battle.net when you start your computer |
| * ''[x]'' Keep me logged in -> Log in | * Settings -> Game Launch and Clicking X -> Exit Battle.net completely |
| |
| mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Diablo III' WINEARCH='win64' wineboot --init && WINEPREFIX=~/'.wine/Diablo III' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f && wget 'https://downloader.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'.wine/Diablo III' wine ~/'Downloads/Battle.net-Setup.exe' | mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Diablo III' WINEARCH='win64' wineboot --init && WINEPREFIX=~/'.wine/Diablo III' wine REG ADD 'HKEY_CURRENT_USER\Software\Wine\DllOverrides' /v 'winemenubuilder.exe' /t 'REG_SZ' /d '' /f && wget -O '/tmp/Battle.net-Setup.exe' 'https://downloader.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe' && WINEPREFIX=~/'.wine/Diablo III' wine '/tmp/Battle.net-Setup.exe' |
| |
| ===== Restore Data ===== | ===== Restore Data ===== |
| **** | **** |
| |
| mv ~/'Downloads/Blizzard/Diablo III' ~/'.wine/Diablo III/drive_c/Program Files (x86)' | mv ~/'Downloads/Diablo III' ~/'.wine/Diablo III/drive_c/Program Files (x86)' |
| |
| ===== Diablo III ===== | ===== Diablo III ===== |
| |
| * Install or Locate Game -> Diablo III | * Diablo III -> Install ((default location ''C:\Program Files (x86)\Diablo III\'')) -> Start Install |
| |
| 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' | 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 ===== | ===== Clean Up ===== |
| |
| **** | **** |
| |
| rm -f ~/'Downloads/Battle.net-Setup.exe' | rm -f '/tmp/Battle.net-Setup.exe' |
| |
| ====== Libraries ====== | ====== Libraries ====== |
| ===== DXVK ===== | ===== DXVK ===== |
| |
| ==== master ==== | ==== Release ==== |
| |
| * https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | * https://github.com/doitsujin/dxvk/releases |
| * Last tested: ''dxvk-master-bcb0abde99af4c86b9662309b40f6d6e98b72cae.zip'' | * Last tested: ''dxvk-2.7.1.tar.gz'' |
| | * TODO: See if all 4 dlls are needed |
| |
| rm -Rf '/tmp/dxvk-master' && unzip ~/'Downloads/dxvk-master-'*'.zip' -d '/tmp/dxvk-master' && mv -fv '/tmp/dxvk-master/x64/d3d11.dll' '/tmp/dxvk-master/x64/dxgi.dll' ~/'.wine/Diablo III/drive_c/windows/system32' && mv -fv '/tmp/dxvk-master/x32/d3d11.dll' '/tmp/dxvk-master/x32/dxgi.dll' ~/'.wine/Diablo III/drive_c/windows/syswow64' | rm -Rf '/tmp/dxvk-'* && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' -C '/tmp' && mv -fv '/tmp/dxvk-'*'/x64/d3d11.dll' '/tmp/dxvk-'*'/x64/dxgi.dll' ~/'.wine/Diablo III/drive_c/windows/system32' && mv -fv '/tmp/dxvk-'*'/x32/d3d11.dll' '/tmp/dxvk-'*'/x32/dxgi.dll' ~/'.wine/Diablo III/drive_c/windows/syswow64' && rm -Rf '/tmp/dxvk-'* |
| |
| ==== Dll Overrides ==== | ==== Dll Overrides ==== |
| Icon=B9E6_Diablo III Launcher.0 | Icon=B9E6_Diablo III Launcher.0 |
| StartupWMClass=diablo iii64.exe | StartupWMClass=diablo iii64.exe |
| Actions=Cache;Kill;Notes; | Actions=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] | [Desktop Action Kill] |
| |
| [Desktop Action Notes] | [Desktop Action Notes] |
| StartupNotify=false | Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:linux:wine:diablo_3_x64'" |
| Exec='/bin/bash' -c "gio open 'https://wiki.realmofespionage.xyz/games:wine:diablo_3'" | |
| Name=Installation Notes | Name=Installation Notes |
| |
| |
| cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III' && WINEPREFIX=~/'.wine/Diablo III' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III/x64/Diablo III64.exe' -launch | cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III' && WINEPREFIX=~/'.wine/Diablo III' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III/x64/Diablo III64.exe' -launch |
| | |
| | ===== DXVK TODO ===== |
| | |
| | * https://github.com/doitsujin/dxvk/blob/master/dxvk.conf |
| | |
| | nano ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III/dxvk.conf' |
| | |
| | <code> |
| | # General |
| | d3d11.samplerLodBias = "-2.0" |
| | |
| | # Intel |
| | dxvk.hideIntegratedGraphics = "False" |
| | dxgi.hideIntelGpu = "False" |
| | |
| | # HUD |
| | #dxvk.hud = "full" |
| | |
| | # End</code> |
| |