Difference between revisions of "Diablo II"

From ArchWiki
Jump to: navigation, search
Line 1: Line 1:
 
[[Category:Games and entertainment (English)]]
 
[[Category:Games and entertainment (English)]]
 
{{i18n|Diablo II}}
 
{{i18n|Diablo II}}
{{out of date}}
 
{{poor writing}}
 
  
Originally posted in the [http://bbs.archlinux.org/viewtopic.php?id=34352, Arch forums]
+
= How to install Diablo II under Archlinux =
 +
 
 +
This page explains how to install Diablo II and play it under Archlinux. This works as of latest patch 1.13c. I tested with xf86-ati-radeon driver.
  
== Requirements ==
 
*Wine 0.9.39
 
*Working OpenGL drivers (Nvidia/Ati)
 
*Diablo 2 and/or LoD (I used a pirate copy, but hey I have my original cd keys)
 
*Latest LoD or Diablo 2 patch (1.11b)
 
*D2Loader for 1.11b ([http://d2loader.blizzsector.net/ Website here])
 
  
== Procedure ==
 
 
=== Step 1 ===
 
=== Step 1 ===
*Put the INSTALL cd and run the "INSTALL.EXE"(It's a good idea to choose FULL INSTALL)
+
Install the wine package.
;Problem 1: A very common problem here is that the progress window blocks the CD swap dialog so you think that it doesn't install anything. A quick fix is to select "Emulate a virtual desktop" from winecfg.
+
  # pacman -S wine
  
;Problem 2: Here you may have an other little problem. If you run "INSTALL.EXE" form a bash command when the setup asks for you to change the disc, you won't be able to eject it because bash is making the cdrom busy. Here there is 2 solutions. Whether you type "wine eject" in the console or you just run "INSTALL.EXE" by double clicking it and choosing "wine" as the appropriate application.
+
=== Step 2 ===
 +
Download Diablo II and Diablo II Lord of Destruction installation files from battle.net. I downloaded them on Windows and them moved via USB stick. You can also run the downloaders directly from Arch. They will produce 2 folders: D2-1.12A-enUS and D2LOD-12.12A-enUS (locale may be different for you).
  
*(Optional) Now that the setup is over you put the expansion disc (LoD) and install it just like before.
+
After that, go to first folder and run
*Copy all the missing *.mpq files from cds to your Diablo 2 directory.
+
$ wine Installer.exe
*Apply the latest patches according to your install. (Use just one patch, Diablo 2 or LoD)
+
;Problem 3: Patch should work flawlessly but if you're using a pirate copy, after upgrade, it will ask for the expansion cd no matter what you put in. Don't worry, just hit the cancel to complete the upgrade process. (It may say that patching is unsuccessful. It's not important)
+
  
*Unzip the D2Loader to the Diablo 2 directory.
+
Enter your product key which can be found of battle.net and install. After it is finished, go to the second folder and run the same command. Once both are installed, download patch 1.13c from the Internet as updater will not work. The file name is LODPatch_113c.exe. After that, run:
 +
$ wine LODPatch_113c.exe
  
 
=== Step 2 ===
 
=== Step 2 ===

Revision as of 10:28, 11 November 2010

This template has only maintenance purposes. For linking to local translations please use interlanguage links, see Help:i18n#Interlanguage links.


Local languages: Català – Dansk – English – Español – Esperanto – Hrvatski – Indonesia – Italiano – Lietuviškai – Magyar – Nederlands – Norsk Bokmål – Polski – Português – Slovenský – Česky – Ελληνικά – Български – Русский – Српски – Українська – עברית – العربية – ไทย – 日本語 – 正體中文 – 简体中文 – 한국어


External languages (all articles in these languages should be moved to the external wiki): Deutsch – Français – Română – Suomi – Svenska – Tiếng Việt – Türkçe – فارسی

How to install Diablo II under Archlinux

This page explains how to install Diablo II and play it under Archlinux. This works as of latest patch 1.13c. I tested with xf86-ati-radeon driver.


Step 1

Install the wine package.

# pacman -S wine

Step 2

Download Diablo II and Diablo II Lord of Destruction installation files from battle.net. I downloaded them on Windows and them moved via USB stick. You can also run the downloaders directly from Arch. They will produce 2 folders: D2-1.12A-enUS and D2LOD-12.12A-enUS (locale may be different for you).

After that, go to first folder and run

$ wine Installer.exe

Enter your product key which can be found of battle.net and install. After it is finished, go to the second folder and run the same command. Once both are installed, download patch 1.13c from the Internet as updater will not work. The file name is LODPatch_113c.exe. After that, run:

$ wine LODPatch_113c.exe

Step 2

  • Run "D2VidTst.exe". It will find the installed drivers. Choose Direct 3D.
  • Run "winecfg" and create a new application profile.
  • Add Application -> Choose "D2Loader-1.11b.exe"
  • Windows Version -> Windows 2000 or Windows XP
  • Audio -> Select just ALSA
  • Graphics -> Unselect "Allow the window manager to control the windows." We do that to be able to press Alt/Shift and mouse buttons at the same time while playing. It's a must-do for Diablo.
  • Leave anything else unchanged (I assume you already set the "Drives" properly)
  • Run "D2Loader-1.11b.exe" and enjoy.
Problem 4
You may get an error while connecting BNET saying that your exe is unrecognized. It's simply because you run it from outside of Diablo 2 directory directory.


Here is how my desktop entry looks...

 [Desktop Entry]
 Version=1.0
 Encoding=UTF-8
 Name=Diablo II - Lord of Destruction
 Exec=env WINEPREFIX="/home/cosku/.wine" wine "C:\\Program Files\\Diablo II\\D2Loader-1.11b.exe" -sleepy -skiptobnet
 Type=Application
 Path=/home/cosku/.wine/dosdevices/c:/Program Files/Diablo II
 Icon=/home/cosku/.wine/drive_c/Program Files/Diablo II/d2x.ico
 GenericName[en_US]=