Diablo2 LOD 1.10 under Linux wine working - some questions

From: Ixnei (ixnei_at_ixnei.ixnei)
Date: 05/28/04


Date: Fri, 28 May 2004 07:59:44 GMT

I've gotten Diablo2 LOD 1.10 working under Redhat 8.0 with the latest wine
20040408 (20040505 rpm src). I had to copy all 3 CD's to one directory on
my drive, "mkisofs" them all as one big iso9660 filesystem, then set the
cdrom properties under wine dosdevices to point to the "mount -o loop"
.iso file, in order to get the Diablo2 install to finally work (ie. to
defeat the cd mount/umount problem without supermount). I installed the
LOD update directly off of the CDROM next, after changing the dosdevices
properties back to normal for the cdrom.

Also, I had problems getting it to run fullscreen, but I think this has
something to do with my Nvidia drivers and the fact I'm currently running
a 1024x768 16bit desktop size (and D2 is 640x480 or 800x600). So I
modified the wine config to run in windowed mode by adding
[AppDefaults\\Game.exe\\x11drv] "Desktop" = "800x600".

It works fine in a window all by itself, and I can even get onto BNet. The
sound crackles every once in a while, but otherwise it seems to work just
fine at 800x600.

The issues I'm having are with the <alt> key. If I hold it down, it
highlights the drops just fine, but if I left click items, they aren't
picked up. Also, if I hold down left click and move the mouse while
holding <alt> key down, it moves the window around on the screen...

I'm wondering if there's some way to disable the X features associated
with holding down <alt> key and left clicking mouse. I'm sure that's what
is interfering, but I'm not sure how to go about it (and in X I do use the
<alt>-<tab> and other <alt> key combinations that I'd like to maintain
somehow).

And/Or, how can I get Diablo2 to run fullscreen without setting my desktop
to a lower resolution? If I try to run fullscreen, I get an X dialog box
that says, "Error 22: A critical error has occurrect while initializing
DirectDraw." The shell has the following messages:
***
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x40284e18)->(00010021,00000011)
fixme:x11drv:X11DRV_DDHAL_CreatePalette stub
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel (0x40284e18)->(00010021,00000011)
err:x11settings:X11DRV_ChangeDisplaySettingsExW No matching mode found! (XF86VidMode)
***
I do have screen modes for 640x480 and 800x600 defined in XF86Config.

-- 
We HAVE been at war with Iraq for 13 years now, bombing their 
  country on at least a weekly basis.
"U.S.-led sanctions have killed over a million Iraqi citizens, 
  according to UN studies" - James Jennings
3,000+ innocent Iraqi civilian casualties can't be "wrong"...


Relevant Pages