Both sides previous revisionPrevious revisionNext revision | Previous revision |
games:linux:wine:diablo_2 [2024/10/19 03:18] – Sean Rhone | games:linux:wine:diablo_2 [2024/12/31 01:27] (current) – Sean Rhone |
---|
| |
* **Lord of Destruction** is not standalone and requires **Diablo II** | * **Lord of Destruction** is not standalone and requires **Diablo II** |
* This is the original client with CD keys and TCP/IP multiplayer; see [[games;linux;wine;diablo_2_resurrected|Diablo II: Resurrected]] for the modern version | * This is the original client with CD keys and TCP/IP multiplayer |
| |
====== Install ====== | ====== Install ====== |
**** | **** |
| |
mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Diablo II' WINEARCH='win32' winecfg /v 'winxp' && sync && WINEPREFIX=~/'.wine/Diablo II' wine ~/'Downloads/Diablo II/D2-1.14b-Installer-enUS/Installer.exe' | mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Diablo II' winecfg /v 'winxp' && MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II' WINEPREFIX=~/'.wine/Diablo II' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'Downloads/Diablo II/D2-1.14b-Installer-enUS/Installer.exe' |
| |
===== Lord of Destruction ===== | ===== Lord of Destruction ===== |
**** | **** |
| |
sync && WINEPREFIX=~/'.wine/Diablo II' wine ~/'Downloads/Diablo II/D2LOD-1.14b-Installer-enUS/Installer.exe' | sync && MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II' WINEPREFIX=~/'.wine/Diablo II' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'Downloads/Diablo II/D2LOD-1.14b-Installer-enUS/Installer.exe' |
| |
===== Patch ===== | ===== Patch ===== |
* 1.14d | * 1.14d |
| |
sync && MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II' WINEPREFIX=~/'.wine/Diablo II' wine ~/'Downloads/Diablo II/LODPatch_114d.exe' | sync && MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II' WINEPREFIX=~/'.wine/Diablo II' WINEDLLOVERRIDES='winemenubuilder.exe=d' wine ~/'Downloads/Diablo II/LODPatch_114d.exe' |
| |
===== Glide Wrapper ===== | ===== Glide Wrapper ===== |
| |
* TODO: Local file commands like above | **** |
| |
| unzip -o ~/'Downloads/Diablo II/gl32ogl14e.zip' 'glide3x.dll' 'glide-init.exe' -d ~/'.wine/Diablo II/drive_c/Program Files (x86)/Diablo II' && sync |
| |
==== Online ==== | ==== Online ==== |
* The following command expects ''gl32ogl14e.zip'' (1.4e) to exist at http://www.svenswrapper.de/gl32ogl14e.zip | * The following command expects ''gl32ogl14e.zip'' (1.4e) to exist at http://www.svenswrapper.de/gl32ogl14e.zip |
| |
wget -O '/tmp/gl32ogl14e.zip' 'http://www.svenswrapper.de/gl32ogl14e.zip' && md5sum '/tmp/gl32ogl14e.zip' | grep '1c65a0150665f715ce0fc0a23885c6b8' && unzip '/tmp/gl32ogl14e.zip' 'glide3x.dll' 'glide-init.exe' -d ~/'.wine/Diablo II/drive_c/Program Files/Diablo II' && rm -f '/tmp/gl32ogl14e.zip' && sync | wget -O '/tmp/gl32ogl14e.zip' 'http://www.svenswrapper.de/gl32ogl14e.zip' && md5sum '/tmp/gl32ogl14e.zip' | grep '1c65a0150665f715ce0fc0a23885c6b8' && unzip -o '/tmp/gl32ogl14e.zip' 'glide3x.dll' 'glide-init.exe' -d ~/'.wine/Diablo II/drive_c/Program Files/Diablo II' && rm -f '/tmp/gl32ogl14e.zip' && sync |
| |
===== Clean Up ===== | ===== Clean Up ===== |
**** | **** |
| |
rm -R ~/'Downloads/Diablo II' ~/'Desktop/Diablo II - Lord of Destruction.desktop' && sync | rm -R ~/'Downloads/Diablo II' && sync |
| |
====== Glide Wrapper ====== | ====== Glide Wrapper ====== |
| |
* settings -> [x] captured mouse | * settings -> [x] captured mouse |
* settings -> ''76.9 fps'' fps-limit | * settings -> ''no'' fps-limit or close-to display Hz Zink |
* settings -> [x] desktopresolution | * settings -> [x] desktopresolution |
| |
* renderer -> [x] keep desktop composition | * renderer -> [x] keep desktop composition |
| |
* Extensions -> [ ] WGL_ARB_render_texture (checking usually causes Test to crash) | * :!: Extensions -> [x] WGL_ARB_render_texture ((2024/12/31: Crashes on Intel UHD 630; allows ''supersampling'')) |
* renderer -> [x] supersampling (requires ''WGL_ARB_render_texture'') | |
| |
* Test ((ideally should allow gamma adjustments (click and drag on color bars) and maintain 60+ fps)) | * Test ((ideally should allow gamma adjustments (click and drag on color bars) and maintain 60+ fps)) |
**** | **** |
| |
cd ~/'.wine/Diablo II/drive_c/Program Files/Diablo II' && MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II' WINEPREFIX=~/'.wine/Diablo II' mesa_glthread='false' wine ~/'.wine/Diablo II/drive_c/Program Files/Diablo II/glide-init.exe' | cd ~/'.wine/Diablo II/drive_c/Program Files (x86)/Diablo II' && MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II' WINEPREFIX=~/'.wine/Diablo II' mesa_glthread='false' wine ~/'.wine/Diablo II/drive_c/Program Files (x86)/Diablo II/glide-init.exe' |
| |
===== Reset Settings ===== | ===== Reset Settings ===== |
**** | **** |
| |
cd ~/'.wine/Diablo II/drive_c/Program Files/Diablo II' && MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II' mesa_glthread='false' WINEDEBUG='' WINEPREFIX=~/'.wine/Diablo II' wine ~/'.wine/Diablo II/drive_c/Program Files/Diablo II/Diablo II.exe' -3dfx | cd ~/'.wine/Diablo II/drive_c/Program Files (x86)/Diablo II' && MESA_SHADER_CACHE_DIR=~/'.wine/Diablo II' mesa_glthread='false' WINEDEBUG='' WINEPREFIX=~/'.wine/Diablo II' wine ~/'.wine/Diablo II/drive_c/Program Files (x86)/Diablo II/Diablo II.exe' -3dfx |
| |
==== Zink ==== | ==== Zink ==== |