LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   Diablo2 Expansion fails to detect cd. (https://www.linuxquestions.org/questions/linux-games-33/diablo2-expansion-fails-to-detect-cd-907147/)

Siljrath 10-08-2011 03:33 PM

Diablo2 Expansion fails to detect cd.
 
[edit] ~ unsure if this is the right place to post, since not technically a "linux game", but seemed the best place anyway.

there comes a time in every man's searches, when he has to concede, "it's time to ask". *sigh*

relevent versions:
d2x 1.09 (modded zy:el-tbf)
wine --version tells me it's wine-1.0.1. synaptic tells me 1.0.1-3.1

running the game from command line with
Code:

wine /home/digit/.wine/drive_c/Program\ Files/Diablo\ II/D2/Game.exe
in terminal this error repeats, line after line:
Code:

fixme:mountmgr:harddisk_ioctl unsupported ioctl 2d4800
(idk if thats relevent)

a pop-up appears, saying:

Quote:

Diablo II was unable to detect a Disc in your CD-ROM drive.
Please Ensure your Diablo II Expansion Disc is in the CD-ROM drive,
then click on Retry.
with a Retry button, and a Cancel button.

i have the .iso of my expansion disc loop-mounted to /media/cdrom with
Code:

sudo mount -o loop ~/.wine/drive_c/Program\ Files/installs/d2all/d2x/Expansion.iso /media/cdrom
and in winecfg, have /media/cdrom as my D: drive, and set as type CD-ROM.
... have even tried changing d2 to run as win98 instead of xp, which of course, made no difference.

... so what else do i need? why am i still getting the cd not detected schpeal? i managed to install it ok, so it obviously can tell the cd is there from at least that much.

i'd love if i could get this working without resorting to either nocd cracks, nor windows based cd drive emulation software like alcohol (which iirc i have done in the past).
~ upgrading to 1.12 for the official nocd feature, is also not viable, since this is for the zy:el trial by fire mod, which runs on 1.09.

anyone know the solution?




ps, also tried running with xgame, to see if that would make any difference. as nice as xgame is... same results. terminal output + no cd message.

pps, i know this is a problem that's surfaced a lot... i think i've lost the knack of effective searching. :/ only results that came up involved later versions, or unwanted workarounds... surely there's a simple direct fix... oh how i pray this is not some unfixable "security" feature. :/

[edit]ppps, tried a few no-cd cracks. i think they dont like the changes zy:el trial by fire makes. it doesnt ask for the cd anymore, but it doesnt rly launch the game either. just a load of terminal output e.g.:
Code:

fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy
fixme:bitblt:X11DRV_ClientSideDIBCopy potential optimization: client-side color-index mode DIB copy
fixme:advapi:SetSecurityInfo stub
err:ntdll:RtlpWaitForCriticalSection section 0x7bc916e4 "../../../dlls/ntdll/loader.c: loader_section" wait timed out in thread 003b, blocked by 0032, retrying (60 sec)
err:ntdll:RtlpWaitForCriticalSection section 0x6ffa0730 "?" wait timed out in thread 0032, blocked by 003b, retrying (60 sec)
wine: Critical section 7bc916e4 wait failed at address 0x7bc3a430 (thread 003b), starting debugger...
err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 0x7bc3a430

... it's not like i can just stick in the actual cd anymore, since i lost my external cd drive, and this laptop doesnt have an internal one.

Konphine 10-10-2011 12:41 AM

Have you checked the AppDB about Diablo II for Wine? It can be found here:
http://appdb.winehq.org/appview.php?iVersionId=315

There seems to be a couple of CD problems. I'm not sure if their problems are exactly the same but they generally tend to be.

Also, you're running an old version of Wine. Have you ever thought about upgrading it? Even the stable version is 1.2.3.

kasl33 10-10-2011 01:16 AM

I have an idea. It may not be the best idea, but it's what first popped into my head. First I'll summarize the idea, then I'll run you through the command (just in case you don't know them, or for others who would like to know them):

DISCLAIMER: I did not try doing this, I just came up with it off the top of my head. If you blame me for failure, I will punch a puppy in the face. Good luck!

1. First, put in the CD and get your distribution to recognize it. Once it is recognized, we will create an image of the CD.
2. After that, we will mount the .iso image and see if wine will run the .exe file in a mounted directory

Create disk image
-- where dd = command, if = input file, of = output file
Code:

dd if=/dev/cdrom of=/tmp/diablo.iso
Mount the iso
-- create an empty directory, then mount the iso to it
Code:

mkdir /media/diablo
mount -o loop /path/to/iso.iso /media/diabloo
cd /media/diablo

From here, proceed the way you were originally, but this time there is no CD to screw around with.

CapnStank 10-12-2011 05:13 PM

Why not avoid the issue entirely? Blizzard recently patched the game such that the CD is optional. You need to copy a few files off the CD, place them in the game directory and rename them, other than that its pretty painless.

Completely understandable if you're trying to boot v1.09 (Personally I feel 1.10 ruined the game) but if all else fails it might be a good route to investigate.


All times are GMT -5. The time now is 03:02 AM.