LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 10-08-2011, 03:33 PM   #1
Siljrath
Bedrock Linux Advocate
 
Registered: Nov 2004
Location: the internet
Distribution: server:Gentoo | workstation:Bedrock (hijacked:void, fetched:Gentoo,Devuan,Artix)
Posts: 226

Rep: Reputation: 66
Question 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.

Last edited by Siljrath; 10-08-2011 at 06:42 PM.
 
Old 10-10-2011, 12:41 AM   #2
Konphine
Member
 
Registered: Jul 2011
Location: Phoenix, New York
Distribution: Slackware 13.37
Posts: 376

Rep: Reputation: 11
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.
 
Old 10-10-2011, 01:16 AM   #3
kasl33
Member
 
Registered: Oct 2004
Location: USA
Distribution: Ubuntu-Server, Mac OS X, Arch Linux
Posts: 356

Rep: Reputation: 48
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.
 
Old 10-12-2011, 05:13 PM   #4
CapnStank
Member
 
Registered: Oct 2009
Distribution: Fedora, HPUX
Posts: 31

Rep: Reputation: 2
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
RAID 5 expansion fails linuxgk Linux - Hardware 0 01-17-2009 11:47 PM
Suse 8.1 fails to detect my monitor jpogrady Linux - General 3 01-22-2007 10:35 PM
Ethernet card fails to detect vikasumit Linux - Hardware 1 06-25-2006 04:00 PM
Suse 8.1 fails to detect my monitor jpogrady Linux - Hardware 1 02-10-2003 08:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

All times are GMT -5. The time now is 09:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration