User Tools

Site Tools


games:wine:diablo_2

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
games:wine:diablo_2 [2020/01/19 10:07] – [Glide Wrapper] Sean Rhonegames:wine:diablo_2 [2023/09/10 10:52] Sean Rhone
Line 17: Line 17:
 **** ****
  
-  rm -Rf ~/'Wine Prefixes/Diablo II' ~/'.local/share/applications/wine/Programs/Diablo II/Diablo II: Lord of Destruction.desktop' ~/'.local/share/icons/hicolor/'*'/apps/CFF8_Diablo II.0.png' && sync+  rm -Rf ~/'.wine/Diablo II' ~/'.local/share/applications/wine/Programs/Diablo II/Diablo II: Lord of Destruction.desktop' ~/'.local/share/icons/hicolor/'*'/apps/CFF8_Diablo II.0.png' && sync
  
 ====== Install ====== ====== Install ======
Line 25: Line 25:
 **** ****
  
-  mkdir -p ~/'Wine Prefixes' && WINEPREFIX=~/'Wine Prefixes/Diablo II' WINEARCH='win32' wine ~/'Downloads/Diablo II/D2-1.14b-Installer-enUS/Installer.exe'+  mkdir -p ~/'.wine' && WINEPREFIX=~/'.wine/Diablo II' WINEARCH='win32' wine ~/'Downloads/Diablo II/D2-1.14b-Installer-enUS/Installer.exe'
  
 ===== Lord of Destruction ===== ===== Lord of Destruction =====
Line 31: Line 31:
 **** ****
  
-  sync && WINEPREFIX=~/'Wine Prefixes/Diablo II' wine ~/'Downloads/Diablo II/D2LOD-1.14b-Installer-enUS/Installer.exe'+  sync && WINEPREFIX=~/'.wine/Diablo II' wine ~/'Downloads/Diablo II/D2LOD-1.14b-Installer-enUS/Installer.exe'
  
 ===== Patch ===== ===== Patch =====
Line 37: Line 37:
   * 1.14d   * 1.14d
  
-  sync && WINEPREFIX=~/'Wine Prefixes/Diablo II' wine ~/'Downloads/Diablo II/LODPatch_114d.exe'+  sync && WINEPREFIX=~/'.wine/Diablo II' wine ~/'Downloads/Diablo II/LODPatch_114d.exe'
  
 ===== Glide Wrapper ===== ===== Glide Wrapper =====
Line 44: Line 44:
   * Check http://www.svenswrapper.de/english/downloads.html for new versions   * Check http://www.svenswrapper.de/english/downloads.html for new versions
  
-  wget -O '/tmp/gl32ogl14e.zip' 'http://www.svenswrapper.de/gl32ogl14e.zip' && unzip '/tmp/gl32ogl14e.zip' 'glide3x.dll' 'glide-init.exe' -d ~/'Wine Prefixes/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' && 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
  
 ===== Clean Up ===== ===== Clean Up =====
Line 58: Line 58:
  
   * settings -> [x] captured mouse   * settings -> [x] captured mouse
-  * settings -> [ ] vertical synchronization(VSYNC) 
   * settings -> [x] desktopresolution   * settings -> [x] desktopresolution
  
Line 73: Line 72:
   * Quit   * Quit
  
-  cd ~/'Wine Prefixes/Diablo II/drive_c/Program Files/Diablo II' && WINEPREFIX=~/'Wine Prefixes/Diablo II' wine ~/'Wine Prefixes/Diablo II/drive_c/Program Files/Diablo II/glide-init.exe'+  cd ~/'.wine/Diablo II/drive_c/Program Files/Diablo II' && WINEPREFIX=~/'.wine/Diablo II' wine ~/'.wine/Diablo II/drive_c/Program Files/Diablo II/glide-init.exe'
  
 ===== Reset Settings ===== ===== Reset Settings =====
Line 79: Line 78:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Diablo II' wine reg DELETE 'HKCU\Software\GLIDE3toOpenGL' /f+  WINEPREFIX=~/'.wine/Diablo II' wine reg DELETE 'HKCU\Software\GLIDE3toOpenGL' /f
  
 ===== Notes ===== ===== Notes =====
Line 98: Line 97:
  
 ===== Lord of Destruction ===== ===== Lord of Destruction =====
- 
-  * :!: Remove MESA_LOADER_DRIVER_OVERRIDE='iris' if not using an Intel iGPU that supports the Iris/Gallium driver 
  
   nano ~/'.local/share/applications/wine/Programs/Diablo II/Diablo II: Lord of Destruction.desktop'   nano ~/'.local/share/applications/wine/Programs/Diablo II/Diablo II: Lord of Destruction.desktop'
Line 108: Line 105:
 Comment=Diablo, the Lord of Terror, has fallen to a brave hero beneath the church of Tristram. Now that hero is gone, replaced by a Dark Wanderer who roams the world of Sanctuary leaving death and destruction in his wake. As a hero of humanity, you must face the minions of Diablo’s evil brothers and stop the Dark Wanderer before he fulfills his terrible destiny. The expansion to Diablo II adds a host of new features to the game, including two new playable classes – the shapeshifting Druid and the cunning Assassin. Explore the snowy homeland of the Barbarians, face fiendish new monsters, and arm yourself with thousands of new weapons, armor, and magical items in the fight against Baal, the last of the Prime Evils. Comment=Diablo, the Lord of Terror, has fallen to a brave hero beneath the church of Tristram. Now that hero is gone, replaced by a Dark Wanderer who roams the world of Sanctuary leaving death and destruction in his wake. As a hero of humanity, you must face the minions of Diablo’s evil brothers and stop the Dark Wanderer before he fulfills his terrible destiny. The expansion to Diablo II adds a host of new features to the game, including two new playable classes – the shapeshifting Druid and the cunning Assassin. Explore the snowy homeland of the Barbarians, face fiendish new monsters, and arm yourself with thousands of new weapons, armor, and magical items in the fight against Baal, the last of the Prime Evils.
 Categories=Game;AdventureGame;RolePlaying Categories=Game;AdventureGame;RolePlaying
-Exec=env MESA_GLSL_CACHE_DIR='/home/CHANGEME/Wine Prefixes/Diablo II' MESA_LOADER_DRIVER_OVERRIDE='iris' vblank_mode='0' WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II' wine '/home/CHANGEME/Wine Prefixes/Diablo II/drive_c/Program Files/Diablo II/Diablo II.exe' -3dfx+Exec=env MESA_GLSL_CACHE_DIR='/home/CHANGEME/.wine/Diablo II' WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/.wine/Diablo II' wine '/home/CHANGEME/.wine/Diablo II/drive_c/Program Files/Diablo II/Diablo II.exe' -3dfx
 Type=Application Type=Application
 StartupNotify=true StartupNotify=true
-Path=/home/CHANGEME/Wine Prefixes/Diablo II/drive_c/Program Files/Diablo II+Path=/home/CHANGEME/.wine/Diablo II/drive_c/Program Files/Diablo II
 Icon=CFF8_Diablo II.0 Icon=CFF8_Diablo II.0
-Actions=Kill;Glide;Saves;+Actions=Kill;Glide;Saves;Notes;
  
 [Desktop Action Kill] [Desktop Action Kill]
-Exec=env WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II' wineserver -k +Exec=env WINEPREFIX='/home/CHANGEME/.wine/Diablo II' wineserver -k 
-Name=Force-close+Name=Force-close Diablo II
  
 [Desktop Action Glide] [Desktop Action Glide]
-Exec=env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/Wine Prefixes/Diablo II' wine '/home/CHANGEME/Wine Prefixes/Diablo II/drive_c/Program Files/Diablo II/glide-init.exe'+Exec=env WINEDEBUG='-all' WINEPREFIX='/home/CHANGEME/.wine/Diablo II' wine '/home/CHANGEME/.wine/Diablo II/drive_c/Program Files/Diablo II/glide-init.exe'
 Name=Glide Wrapper Configuration Name=Glide Wrapper Configuration
  
 [Desktop Action Saves] [Desktop Action Saves]
-Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:diablo_2#saved_games_data+StartupNotify=false 
-Name=Save Data Management Commands</code>+Exec='/home/CHANGEME/.wine/Diablo II/save-backup.sh' 
 +Name=Save Data Back-up 
 + 
 +[Desktop Action Notes] 
 +StartupNotify=false 
 +Exec=gio open 'https://wiki.realmofespionage.xyz/games:wine:diablo_2' 
 +Name=Installation Notes</code>
  
   sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Diablo II/Diablo II: Lord of Destruction.desktop'   sed -i 's/'CHANGEME'/'$USER'/g' ~/'.local/share/applications/wine/Programs/Diablo II/Diablo II: Lord of Destruction.desktop'
 +
 +===== Save Data Back-up Script =====
 +
 +  nano ~/'.wine/Diablo II/save-backup.sh' && chmod +x ~/'.wine/Diablo II/save-backup.sh'
 +
 +<code>
 +#!/bin/sh
 +
 +ls ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games/Diablo II'
 +tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-D2-Saves.tar.gz' -C ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II'
 +sync
 +notify-send 'Diablo II save data has been successfully archived and placed in the Downloads folder.'</code>
  
 ====== Quick Commands ====== ====== Quick Commands ======
Line 135: Line 150:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Diablo II' winecfg+  WINEPREFIX=~/'.wine/Diablo II' winecfg
  
 ===== Winetricks ===== ===== Winetricks =====
Line 141: Line 156:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Diablo II' winetricks+  WINEPREFIX=~/'.wine/Diablo II' winetricks
  
 ===== Registry Editor ===== ===== Registry Editor =====
Line 147: Line 162:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Diablo II' regedit+  WINEPREFIX=~/'.wine/Diablo II' regedit
  
 ===== Kill ===== ===== Kill =====
Line 153: Line 168:
 **** ****
  
-  WINEPREFIX=~/'Wine Prefixes/Diablo II' wineserver -k+  WINEPREFIX=~/'.wine/Diablo II' wineserver -k
  
 ===== Execute ===== ===== Execute =====
Line 167: Line 182:
 **** ****
  
-  cd ~/'Wine Prefixes/Diablo II/drive_c/Program Files/Diablo II' && WINEPREFIX=~/'Wine Prefixes/Diablo II' wine ~/'Wine Prefixes/Diablo II/drive_c/Program Files/Diablo II/Diablo II.exe' -3dfx+  cd ~/'.wine/Diablo II/drive_c/Program Files/Diablo II' && WINEPREFIX=~/'.wine/Diablo II' wine ~/'.wine/Diablo II/drive_c/Program Files/Diablo II/Diablo II.exe' -3dfx
  
 ===== File Manager ===== ===== File Manager =====
Line 175: Line 190:
 **** ****
  
-  gio open ~/'Wine Prefixes/Diablo II/drive_c/Program Files/Diablo II'+  gio open ~/'.wine/Diablo II/drive_c/Program Files/Diablo II'
  
 ==== Saved Games ==== ==== Saved Games ====
Line 181: Line 196:
 **** ****
  
-  gio open ~/'Wine Prefixes/Diablo II/drive_c/users/'$USER/'Saved Games/Diablo II'+  gio open ~/'.wine/Diablo II/drive_c/users/'$USER/'Saved Games/Diablo II'
  
 ===== Saved Games Data ===== ===== Saved Games Data =====
Line 190: Line 205:
   * :!: Will replace existing tarballs if this is done more than once on the same day   * :!: Will replace existing tarballs if this is done more than once on the same day
  
-  tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-D2-Saves.tar.gz' -C ~/'Wine Prefixes/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II' && ls ~/'Downloads/'*'-manual-D2-Saves.tar.gz'+  tar -cvzf ~/'Downloads/'$(date +%Y-%m-%d)'-manual-D2-Saves.tar.gz' -C ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II' && ls ~/'Downloads/'*'-manual-D2-Saves.tar.gz'
  
 ==== Restore ==== ==== Restore ====
Line 197: Line 212:
   * :!: If that tarball exists, this series of commands will **irreversibly**, without warning or prompt, **delete** the existing ''Saved Games'' folder and replace it with whatever is in that tarball   * :!: If that tarball exists, this series of commands will **irreversibly**, without warning or prompt, **delete** the existing ''Saved Games'' folder and replace it with whatever is in that tarball
  
-  ls ~/'Downloads/'*'-manual-D2-Saves.tar.gz' && rm -Rf ~/'Wine Prefixes/Diablo II/drive_c/users/'$USER'/Saved Games' && mkdir -p ~/'Wine Prefixes/Diablo II/drive_c/users/'$USER'/Saved Games' && tar -xvzf ~/'Downloads/'*'-manual-D2-Saves.tar.gz' -C ~/'Wine Prefixes/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II' && sync+  ls ~/'Downloads/'*'-manual-D2-Saves.tar.gz' && rm -Rf ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' && mkdir -p ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' && tar -xvzf ~/'Downloads/'*'-manual-D2-Saves.tar.gz' -C ~/'.wine/Diablo II/drive_c/users/'$USER'/Saved Games' 'Diablo II' && sync
/var/www/wiki/data/pages/games/wine/diablo_2.txt · Last modified: 2024/03/06 22:45 by Sean Rhone