Selected Test Results (selected in 'Test Results' table below)
What works
Everything; just a small mouse issue which is temporarily fixed using the fix below
What does not
The X11 mouse pointer is displayed in fullscreen, which is quite annoying: move your mouse to the right edge of the screen after starting (but before it switches to fullscreen) and it won't be there.
What was not tested
Battle.net
Additional Comments
To fix your sound delay, untick ALSA in the Wine configuration application, and check OSS. Worked for me with the SB Audigy driver in 9.10.
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:
Have a valid internet addressible IP address for internet play or proper NAT forwarding.
Have a hostname other than localhost.
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.
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!
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
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.
RE: Out of range by Ing. Cognito on
Thursday May 21st 2009, 7:28
RE: Out of range by Casey Schellhorn on
Friday May 22nd 2009, 18:16
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.
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.
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?
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 ! :)