WineHQ
Diablo II Lord of Destruction 1.x

Category: Main > Games > Role Playing Games > Diablo II > Lord of Destruction 1.x


NameDiablo II
VersionLord of Destruction 1.x
License Retail
URLhttp://www.blizzard.com/diablo...
Votes 10
RatingPlatinum
Wine Version1.1.35
Maintainers of this version:
Description

Retail expansion and all updates.

  • Post results for the Downloader "here"
Selected Test Results (selected in 'Test Results' table below)

What works

Everything I tried, i.e.:

 * Installing
 * Patching to v1.12
 * Intro movie
 * Single player
 * Multiplayer (online, BattleNet)


What does not

 

Nothing I could add here.


What was not tested
Complete game. Played just a few minutes single & multiplayer.


Additional Comments

As is written below, the copy protection was removed as of Diablo 2 v1.12. But the statement "Please insert disc" in the red entry below is correct ~ it _is_ a problem with detecting CD.

If you want to play Diablo v1.12 without the CD, you need to:

1. Copy D2Music.mpq from the Diablo 2 Play CD

2. Copy D2xMusic.mpq and D2xVideo.mpq from the LoD CD.

This is also written in v1.12 changelog.
Test Results
DistributionTest dateWine versionInstalls?Runs?RatingSubmitter
CurrentDebian GNU/Linux 5.0 "Lenny"Jan 02 20101.1.35 Yes Yes Platinum Wylda 
ShowopenSUSE 11.2 x86_64Nov 20 20091.1.33 Yes Yes Platinum nick 
ShowUbuntu 9.10 "Karmic" x86_64 (+ variants like Kubuntu)Nov 13 20091.1.32 Yes Yes Gold Brock 
ShowUbuntu 9.10 "Karmic" x86_64 (+ variants like Kubuntu)Oct 14 20091.1.31 Yes Yes Platinum TehThyz 
ShowUbuntu 9.04 "Jaunty" (+ variants like Kubuntu)Oct 01 20091.1.30 Yes Yes Platinum Xendon 


Known bugs
Bug # Description Status Resolution Other apps affected
12962 Diablo 2: left-control ignored after mouse click UNCONFIRMED View
14348 Diablo 2: Unhandled Exception code c0000005 UNCONFIRMED View
14456 Diablo II hangs when it loses focus REOPENED View
16958 Exiting Diablo II running in windowed mode, resets xrandr display setup UNCONFIRMED View
17406 Lord of the Rings Online fails to connect to the Internet if WINE 1.1.14 is built with -O3 UNCONFIRMED View
17503 Diablo 2 refuses to detect D3D device NEW View
20362 Diablo II: X11 mouse pointer shows over fullscreen window NEW View
20506 Diablo 2 Slow down UNCONFIRMED View

 
HOWTO

Running Diablo 2 under Wine

by Jesse Allen the3dfxdude at gmail com

minor updates by Jasmine Iwanek

Last updated 2008-07-11 - wine-1.0.0/1.1.1

Before you get started

This HOWTO only lists information specific to this app. Please keep comments and test reports brief. Please don't post copies of wine logs here! If you have trouble, see other ways of getting help.

Wine+Diablo 2 Status

Generally perfect for Linux users since wine 0.9.12. FreeBSD kernel 6.2 might work, but copy protection will likely be broken.

Minimum Requirements

  • winecfg: A drive letter for your cdrom, and running as Win2k, XP or later.
  • Support for 640x480 and 800x600 video modes.
  • Correct network configuration for online play.
  • A REAL COPY OF THE GAME -- The game probably won't work right if you don't have a real copy.

Recommended Requirements

  • Wine 0.9.20 or later
  • Linux kernel 2.6.17+ OR FreeBSD 6.2
  • Video card and driver that supports hardware based acceleration with OpenGL.

**Bad Versions**

It's recommended to not use these versions of software because they break the game's copy protection:

  • Linux vanilla x86 kernel: 2.6.9, 2.6.10
  • Linux vanilla x86-64 kernel: 2.6.9-2.6.15
  • Linux kernel versions less than 2.6
  • Wine built with GCC 4.0.0-4.0.2
  • Native msvcrt.dll
  • Fedora core 6 modified linux kernel, unless updated to 2.6.18-1.2784.fc6 or later.
  • FreeBSD
  • Incorrectly installed video drivers

Additionally, FreeBSD kernels less than 6.2 might not work with current versions of wine at all.

Installing the Game

Launch winecfg to perform the following tasks:

  • Make sure the Windows version for Diablo 2 is NT 4.0, 2000, XP, or 2003 for correct copy protection support. Diablo 2 supports Win NT 4.0 or later.
  • Create a drive letter for your cdrom if you have not already. For each cdrom drive letter, click advanced, and set the drive type from automatic to cdrom.

It helps to add a device node symlink, so do the following. If your cd-rom drive letter in winecfg is d: and the corresponding device node to your mount point is /dev/hdc then run the following command:
$ ln -s /dev/hdc ~/.wine/dosdevices/d\:\:
Note, you *must* have two colons! You can tell what your device node is in /etc/fstab or viewing your boot-log.

For running the multi-disk install, it helps to run the install using the drive letter and to not switch your shell to the cdrom's path. For example:
~/.wine/drive_c$ wine "D:\setup.exe" (where D: is the assigned letter of your CD drive).
If you run while having a current working directory of /mnt/cdrom, for example, then you will lock the drive and you won't be able to eject the disk.

If during the game's install the progress bar stops, the game is probably prompting you for the next disc, but the dialog is under the installer's window. For full install, the order is Install Disc, Play Disc, then Cinematics Disc. Just swap discs and hit enter when the progress stops.

Running and Playing Diablo 2

Do not use the '-opengl' switch to run the game. Blizzard never completed OpenGL support so they removed it, but left the switch in. All you see when you run it is a badly initialized DDraw mode.

If you use the window option "-w", the game will drop to ddraw mode no matter what.

Do not use virtual desktop with the game! It's not designed to be windowed like that! It still thinks it's full-screen!

If you have missing in-game speech, animation, videos, or crashes between acts, these problems are typically from using a modified executable. Install your game properly.

Multiplayer Setup

Make sure you have the correct ports open. Open outbound and inbound, TCP and UDP, port 6112 and 4000. More on Network Ports

If you are going to play a direct TCP/IP game and the game tells you that it could not detect a valid address, make sure about things:

  1. Have a valid internet addressible IP address for internet play or proper NAT forwarding.
  2. Have a hostname other than localhost.
  3. In /etc/hosts, have a valid hostname of your computer listed with your current IP address you want to use and do not have your hostname listed with 127.0.0.1. Do not have "localhost 127.0.0.1" listed first either.

patching and running without cds

after you install the 1.12a patch copy as needed the files d2music.mpq from the play disk and d2xmusic.mpq from the expansion disk (if using Lord Of Destruction)


 
Warning

Copy Protection Final Word

Patch 1.12 from Blizzard disables the CD check.

If you ever get "Please insert disc", this is NOT a problem with detecting the CD. The protection system is probably still built into the game even though the CD check itself is disabled. Make sure you use version 1.12 or later. If you get this problem after having this version installed, you are likely suffering from a buggy video driver as this is the only known (and proven possible) cause at this point.

DO NOT USE NOCD PATCHES - They are pointless, and won't fix the real problem.


 
Warning

ALT-KEY COMBO WARNING

Window managers often have the alt key bound to certain features, especially the alt-click. THIS IS NOT A WINE BUG. If you have problems with the alt key in any way DO NOT REPORT IT. Fix your window manager. I'm not going to list steps for every one because there are too many possibilites. Figure out yourself or ask in a help forum (here is okay... but be warned all I use is TWM). If you are desperate, turn off window manager managed windows in winecfg.

KDE

Go into KDE Control Center, expand Desktop, click window behavior, then click window actions tab. You can turn off the alt-combos. If you want to make window specific settings, click on window specific settings under window behavior on the side.

GNOME

The option to change the key binding is in System Menu -> Preferences Menu -> Windows.


 
HOWTO: Blizzard Downloader

for wine versions 1.1.2 and earlier:

you need a native mshtml.dll and wininet.dll from ie6sp1 in ~/.wine/drive_c/system32

dont forget to set them as native in winecfg


 
Window losing focus

When running the game in Windowed mode (-w switch), if the DIablo II window loses focus, the game freezes. To unfreeze the game press Alt+Enter. So far this has been tested in:

  • Ubuntu "Hardy" 8.04.1 with Gnome

 
HOWTO: Fixing the sound delay

If your game is suffering from a slight delay in sound, then read this:

1. Open the Wine Configuration Application (Configure Wine)

2. Click the "Add application..." button

3. Browse to your Diablo II folder (usually Program Files/Diablo II)

4. Click Diablo II.exe, and then Open.

5. Select Diablo II.exe from the list: it should turn blue.

6. Go to the Audio tab (it can take a while to load)

7. Untick ALSA and tick OSS, and you're ready to go!

Only tested on 1.12 and LoD 1.12.


 

The following comments are owned by whoever posted them. WineHQ is not responsible for what they say.

Available Video Modes: DirectDraw or FORCING D3D.
by Hack-a-matic on Thursday December 3rd 2009, 2:26
I dont know if anyone would need that, but anyway this is how to force Direct3D. Look at the end if you dont want to read much. You need 3 minutes time.

If you have a modern nvidia card and get message about only DirectDraw being possible. It seems a bug in diablo2 detector.

You can either install and use Glide wrapper, which would give you more resolutions and enable perspective support as well.

But I found out glide wrapper uses very much resources(Athlon xp 3200+, gf6800, Xorg uses 80%). Slowdown was noticeable especially in kurast docks.

Or you can manually force d2 to use Direct3D. It is possible.
Note I had Glide wrapper previously installed, but never the less it won't be used; so if it doesn't work, dont hestate to report.

FORCING direct3d IN DIABLO II:

0) Open terminal
1) $wine regedit
(if you use Playonlinux or if you have it installed in separate prefix, the command would be "$WINEPREFIX= wine regedit", in case of POL: "$WINEPREFIX=~/.Playonlinux/wineprefix/ wine regedit"
2) in regedit window, navigate to: HKEY_LOCAL_MACHINE/Software/Blizzard Entertainment/Diablo II/VideoConfig
3) set DeviceDDraw to 0(0x00000000).
4) set DirectDrawDevice0 to 1(0x00000001).
5) set DeviceName0 to "DirectDraw HAL"
6) set DeviceName (without 0) to "Direct3D"
-) you would probably benefit, if you set VidTestRequired to "false"
-) also, I have Render set to 3(0x00000003), no idea why.

Exit and launch game. It should be now set to d3d. You DONT need directx override, just vanilla wine. Dont launch VidSet again. Exit if you did. Otherwise you need to manually reset that again.

[post new] [reply to this]

WooHOO!
by inop on Sunday September 20th 2009, 8:12
I didn't even have to install a 2nd copy on my linux partition, it worked Platinum from my Windows drive! :) Everything, including D2Multires ( www.widescreengamingforum.com/forum/viewtopic.php?t=16131), saved games, and even LAN play! I didn't try battle.net, not good enough to hang in "real" multiplayer ;P All I had to do was winecfg and point a drive letter to my windows install dir. Between this and Fallout 3 working in Linux, I am /this/ close to ditching windows all together!

[post new] [reply to this]

Regarding running without CD
by Bryan DeLuca on Thursday August 6th 2009, 16:14
The necessary files that need to be in the Diablo2 directory are as follows.

From the Original Diablo 2 Install discs

D2MUSIC.MPQ

From the Expansion discs:

D2XMUSIC.MPQ and D2XVIDEO.MPQ

[post new] [reply to this]

Running with a parameter
by Asteroth on Saturday July 4th 2009, 16:33
I need to run Diablo with a -direct parameter. No matter how I try to place it in the shortcut it does not work. The -w parameter works fine though.
I tried also typing in the terminal:
asteroth@skyeye:~$ env WINEPREFIX="/home/asteroth/.wine" wine C:\Diablo II\diablo2\game.exe -direct

If I run wineconsole cmd, cd into Diablo directory and type
game.exe -direct
Everything works like it should

[post new] [reply to this]

Out of range
by Casey Schellhorn on Tuesday May 12th 2009, 21:05
When I try do run LoD i get a black screen with a message from my monitor that says "out of range". The opening videos work just fine but the main main screen does not. Any help is appreciated.

[post new] [reply to this]

alt-enter no longer works in 1.1.20
by Twig on Monday April 27th 2009, 16:13
Hi,

Just wanted to let people know that, following the patch to fix hanging on losing focus in the recent 1.1.20 version, it is no longer possible (in Ubuntu at least) to press alt-enter to resume play.

It is possible to click the minimise all windows and show the desktop button and then click Diablo 2 from the task bar in order for the program to start responding again. However, on my system this leaves the task bar still visible in full screen mode.

Hope this helps,
Twig.

[post new] [reply to this]

RE: Available Video Modes: DirectDraw
by HAARP on Sunday March 8th 2009, 8:15
Then post and vote for bug 17503. Only if devs see that people care about this bug will it get fixed.

[post new] [reply to this]

Problem with fullscreen.
by Gordon Stephens on Wednesday February 18th 2009, 19:18
Hey.

I had everything working fine with this, in both fullscreen and windowed, but today I turn my computer on, and can't run Diablo in fullscreen.

If I run in windowed:

gordon@gordon-desktop:~/.wine/drive_c/Program Files/Diablo II$ wine Game.exe -w
fixme:advapi:SetSecurityInfo stub

Works fine, loads up in a window.

But if I try to run in fullscreen, I get:

gordon@gordon-desktop:~/.wine/drive_c/Program Files/Diablo II$ wine Game.exe
fixme:advapi:SetSecurityInfo stub
X Error of failed request: BadRequest (invalid request code or no such operation)
Major opcode of failed request: 159 (GLX)
Minor opcode of failed request: 19 (X_GLXQueryServerString)
Serial number of failed request: 25627
Current serial number in output stream: 25627
gordon@gordon-desktop:~/.wine/drive_c/Program Files/Diablo II$

It was working fine yesterday, I havent changed anything relevant, to the best of my knowledge.

I upgraded to wine x.15, but problem remains the same.

Ideas?

[post new] [reply to this]

RE: Available Video Modes: DirectDraw
by João on Thursday January 8th 2009, 10:55
Another with this problem..

I'm using Ubuntu Intrepid with Wine 1.1.12 and a GeForce 9500GS with the Nvidia proprietary drivers

[post new] [reply to this]

RE: Available Video Modes: DirectDraw
by Peter Henriksson on Monday January 5th 2009, 11:37
Same thing here.
With a GeForce 8800 GTS and the binary Nvidia driver.

[post new] [reply to this]

With regards to people having windowed mode problems
by Tapan Oza on Saturday December 20th 2008, 15:47
Although I havent tried using the -w command I would think that this work around be satisfactory to most:

run winecfg. Select emulate a virtual desktop and enter the resolution that you are playing diablo 2 at.

[post new] [reply to this]

bad/static/unsynced sound
by ken on Monday November 3rd 2008, 2:37
when i upgraded to wine 1.1.7 from 1.1.1, i had horrible sound. after much searching i found an old solution that worked with wine 1.1.7:
ubuntuforums.org/archive/index.php/t-422646.html
should i submit this as a bug?

[post new] [reply to this]

Improved GFX (REMEMBER THIS)
by HoodedMan on Sunday August 3rd 2008, 10:00
To get higher resolutions and somewhat better GFX you can download the Glide3 to OpenGL wrapper at www.svenswrapper.de/english/index.html

Unzip the download and move the dll and exe into the Diablo 2 directory.
Now run the executeable "D2VidTst.exe" which runs the video test again. Because of the wrapper, you can now use the glide-renderer -- do this!

Now you can configure the glide wrapper through "glide-init.exe".

For me, Diablo 2 fullscreen did not work until I got this, ran glide-init.exe and selected "Desktop resolution" under "Settings".

This means that the game will take your native resolution, so if you run 1280x1050 then Diablo2 will run in 1280x1050 glory :P

If you have a widescreen, like 1280x800, 1440x900, 1680x1050, 1920x1200 or otherwise, Diablo 2 will run with the maximum 4:3 window it can fit inside of that widescreen, meaning you'll have some black bars on either side.

But the higher resolution is still there so you have a much better view of the game world. It's absolutely awesome ! :)

[post new] [reply to this]

Page loaded in 0.04338 seconds.