Installing Prophecy with Wine

  • Thread starter Thread starter Miramor
  • Start date Start date
M

Miramor

Guest
I have dragged my CDs out of storage and plan to install the game, but I'm running into an obnoxious problem with switching the CDs during the install.

The installer crashes mysteriously if I try to open it the point-and-click way, but using Wine from a console works fine. The install also works fine, until I get to the request for CD #2. Hit the eject button, and I get a message telling me the CD can't be ejected because there's an application that's using the CD player. So I open up a terminal...

$ sudo umount -f /dev/cdrom
Device busy, blah blah blah.

$ sudo eject /dev/cdrom
Can't unmount, device busy, blah blah blah.

$ sudo umount -l /dev/cdrom

The last one works, allowing me to eject CD #1 and swap in CD #2. Only now #2 won't mount properly, thanks to my lazy unmount; when I look what's in it I get a list that looks like this...

$ ls
???????????
???????????????????????????????
??????????????????
???????????????????????????#????????
?????????????????
??
?????
???

and some error message about not being able to read the disk properly. Yeah, I checked (after a reboot), the CD isn't corrupted. Neither is #3, which also won't mount after I pull the lazy unmount stunt.

So, the big question... How to get my machine to shut up and eject the CD without using a lazy unmount? I'm using Gnome, so I tried disabling the automounting, but that didn't help...
 
Linux is no fun. I would create ISOs of all three disks and mount them as virtual CD drives. When you're prompted for the next CD you can point to the next mountpoint.
 
Unfortunately I can't do that, the installer doesn't prompt for a mountpoint anywhere. Thanks though.

There has to be some way of doing this, the AppDB page says that Prophecy should install without a hitch using the current version of Wine...
 
Just an addendum to the above: I did try creating ISOs and using them instead of the disks, but the installer checks for the presence of a disk... I'll try running the installer from an unpacked CD #1 ISO image, with the disk in my drive, but I'm not sure if this will make the installer let go of my drive or not.
 
Update: nope, the above didn't work. The installer won't run properly from my hard drive.
 
Nope, doesn't work... 'wine eject' doesn't do anything at all. Winedebug gives me this:

Code:
trace:eject:eject_cd ejecting f:
warn:eject:eject_cd IOCTL_STORAGE_MEDIA_REMOVAL failed with err 170
warn:eject:eject_cd IOCTL_STORAGE_EJECT_MEDIA failed with err 21

I found someone else complaining about this, but it looks like they found it worked properly with Wine set to autodetect drives. I've got that set, and obviously it doesn't work.
 
Whew... Got it to install. I have no idea what was up with Wine, but it works now; not sure whether to chalk it up to bad config settings, some stupid error on my part, or the occasional strange failures that I get when using certain filesystems.
 
Back
Top