Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:linux:wine:diablo_3_x64 [2024/08/13 16:07] – [Notes] Sean Rhone | games:linux:wine:diablo_3_x64 [2025/04/25 04:11] (current) – Sean Rhone |
---|
===== Prerequisites ===== | ===== Prerequisites ===== |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | * [[linux;distros;opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] |
* [[notes:wine|Wine]] | * [[linux;notes;wine|Wine]] |
| |
===== Notes ===== | ===== TODOs ===== |
| |
* 64-bit is D3D11 | * Everything WIP |
* See [[games;linux;wine;diablo_3_x86|Diablo III 32-bit]] notes for D3D9 and Gallium Nine | |
| |
====== Install ====== | ====== Install ====== |
===== Battle.net App ===== | ===== Battle.net App ===== |
| |
* Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) | * Install Location: ''C:/Program Files (x86)/Battle.net'' |
* Log-in | * ''[ ]'' Launch Battle.net when you start your computer |
* Change Battle.net App settings ((don't auto-start, exit on game launch)) | * ''[x]'' Keep me logged in -> Log in |
* Close | |
| |
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' | mkdir -p ~/'.wine' && wget 'https://downloader.battle.net/download/getInstaller?os=win&installer=Battle.net-Setup.exe' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'.wine/Diablo III' WINEARCH='win64' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'Downloads/Battle.net-Setup.exe' |
| |
| ==== Settings ==== |
| |
| * :!: Scan For Games window might take focus in background |
| * Right-click tray icon -> Settings |
| * App -> General -> On Game Launch: Exit Battle.net completely |
| * App -> General -> When Clicking X (Close Window): Exit Battle.net completely |
| * App -> Startup -> On Startup, View: Last Viewed Game Page |
| * App -> Advanced Features -> ''[ ]'' Use browser hardware acceleration |
| * Exit |
| |
===== Restore Data ===== | ===== Restore Data ===== |
* Install or Locate Game -> Diablo III | * Install or Locate Game -> 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' | cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'.wine/Diablo III' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' |
| |
===== Clean Up ===== | ===== DXVK ===== |
| |
**** | **** |
| |
rm -f ~/'Downloads/Battle.net-Setup.exe' ~/'Desktop/Battle.net.desktop' ~/'Desktop/Diablo III.desktop' && cd ~ && sync | WINEPREFIX=~/'.wine/Diablo III' '/usr/libexec/dxvk/bin/setup_dxvk.sh' install |
| |
====== Libraries ====== | ===== Clean Up ===== |
| |
===== DXVK ===== | **** |
| |
* https://github.com/doitsujin/dxvk/actions ((need to be signed into GitHub, and select the latest ''master'' artifacts package)) | 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 | |
| |
====== Desktop Launcher ====== | ====== Desktop Launcher ====== |
* ''Diablo III 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' | cd ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III' && WINEPREFIX=~/'.wine/Diablo III' WINEDEBUG='' wine ~/'.wine/Diablo III/drive_c/Program Files (x86)/Diablo III/Diablo III Launcher.exe' |
| |
==== Diablo III ==== | ==== Diablo III ==== |