Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:wine:diablo_3 [2019/08/19 02:51] – Sean Rhone | games:wine:diablo_3 [2023/09/16 07:03] (current) – removed Sean Rhone |
---|
====== Information ====== | |
| |
* Battle.net App ((http://us.battle.net/en/app)) | |
* Diablo III ((http://diablo3.com)) | |
* 64-bit | |
| |
===== Prerequisites ===== | |
| |
* [[distros:fedora_workstation_gnome|Fedora Workstation]] | |
* [[distros:opensuse_tumbleweed_gnome|openSUSE Tumbleweed (GNOME)]] | |
* [[notes:wine|Wine]] | |
| |
===== Notes ===== | |
| |
* TODO | |
| |
====== Install ====== | |
| |
===== Battle.net App ===== | |
| |
* Install to default directory when prompted ((C:/Program Files (x86)/Battle.net)) | |
* [ ] Launch Battle.net when you start your computer | |
* Log-in | |
* :!: Change Battle.net App settings | |
* Close | |
| |
mkdir -p ~/'Wine Prefixes' && wget 'dist.blizzard.com/downloads/bna-installers/322d5bb9ae0318de3d4cde7641c96425/retail.1/Battle.net-Setup-enUS.exe' -O ~/'Downloads/Battle.net-Setup.exe' && WINEPREFIX=~/'Wine Prefixes/Diablo III' WINEARCH='win64' wine ~/'Downloads/Battle.net-Setup.exe' | |
| |
===== Restore Diablo III ===== | |
| |
**** | |
| |
mv ~/'Downloads/Diablo III' ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)' && sync | |
| |
===== Diablo III ===== | |
| |
* Install Diablo III ((Locate the game does not work; the install process will detect the existing data files and patch as-necessary)) | |
* This requires about double the required disk space initially ((about 32GB, Diablo III's actual data folder, and the rest to satisfy the disk-space requirement for Battle.net app to start the install)) | |
| |
cd ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/Diablo III' wine ~/'Wine Prefixes/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' && sync | |
| |
====== DXVK ====== | |
| |
===== Information ===== | |
| |
* https://github.com/doitsujin/dxvk | |
| |
* D3D11 to Vulkan | |
| |
===== Download ===== | |
| |
* https://github.com/doitsujin/dxvk/releases | |
| |
===== Install ===== | |
| |
**** | |
| |
rm -rf '/tmp/dxvk-'* && cd '/tmp' && tar -xvzf ~/'Downloads/dxvk-'*'.tar.gz' && cd ~ && WINEPREFIX=~/'Wine Prefixes/Diablo III' '/tmp/dxvk-'*'/setup_dxvk.sh' install && rm -rf '/tmp/dxvk-'* && mkdir -p ~/'Wine Prefixes/Diablo III/dxvk_state_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' | |
| |
<code> | |
[Desktop Entry] | |
Name=Diablo III | |
Comment=TODO | |
Categories=Game | |
Exec=env DXVK_LOG_LEVEL='none' DXVK_STATE_CACHE_PATH='/home/CHANGEME/Wine Prefixes/Diablo III/dxvk_state_cache' MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Diablo III' WINEDEBUG=-all WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo III' wine '/home/CHANGEME/Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III/Diablo III Launcher.exe' | |
Type=Application | |
StartupNotify=true | |
Path=/home/CHANGEME/Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III | |
Icon=380F_Diablo III Launcher.0 | |
Actions=Kill;Cache; | |
| |
[Desktop Action Kill] | |
Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo III' wineserver -k | |
Name=Force-close | |
| |
[Desktop Action Cache] | |
Exec=bash -c "rm -Rf ~/'Wine Prefixes/Diablo III/dxvk_state_cache' ~/'Wine Prefixes/WDiablo III/mesa_shader_cache' ~/'Wine Prefixes/Diablo III/drive_c/windows/temp/'* ~/'Wine Prefixes/Diablo III/drive_c/users/'$USER'/Temp/'* && sync" | |
Name=Cache Clean-up</code> | |
| |
sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Diablo III/Diablo III.desktop' | |
| |
====== Quick Commands ====== | |
| |
===== Winecfg ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo III' winecfg | |
| |
===== Winetricks ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo III' winetricks | |
| |
===== Registry Editor ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo III' regedit | |
| |
===== Kill ===== | |
| |
**** | |
| |
WINEPREFIX=~/'Wine Prefixes/Diablo III' wineserver -k | |
| |
===== Execute ===== | |
| |
==== Battle.net App ==== | |
| |
**** | |
| |
cd ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Battle.net' && WINEPREFIX=~/'Wine Prefixes/Diablo III' wine ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe' | |
| |
==== Diablo III (Battle.net App) ==== | |
| |
**** | |
| |
cd ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III' && WINEPREFIX=~/'Wine Prefixes/Diablo III' wine ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III/Diablo III Launcher.exe' | |
| |
==== Diablo III ==== | |
| |
**** | |
| |
cd ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III' && WINEPREFIX=~/'Wine Prefixes/Diablo III' wine ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III/Diablo III.exe' -launch | |
| |
===== File Manager ===== | |
| |
==== Root ==== | |
| |
**** | |
| |
xdg-open ~/'Wine Prefixes/Diablo III/drive_c/Program Files (x86)/Diablo III' | |