LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Games (https://www.linuxquestions.org/questions/linux-games-33/)
-   -   multi-disc games (https://www.linuxquestions.org/questions/linux-games-33/multi-disc-games-453209/)

nomb 06-09-2006 12:15 PM

multi-disc games
 
I've tried to install many games on suse 10.1. Both with cedega and native linux games. Any game I have that is a multi-disc game does not work. When it asks for the next disc it will not let me open my dvd drive. If I right-click and click eject it says device is busy. Cedegas Cd ejection monitoring doesn't seem to be working. Any one have any suggestions?

Right now I'm using dd if=/dev/cdrecorder of=/home/nomb/Thief3_1 to make and iso of all my discs. I'm gonna try to mount manually. Any suggestions would be appreciated.

Thanks a lot,
nomb

Tuttle 06-09-2006 12:46 PM

Hi, if the cd won't eject it is probablybecause some program or other is in that directory. When I install ut, I "cd /mnt/cdrom", "sh ./setup.sh" THEN "cd /" this means that while the installer is running I move out of the cd's directory. Which version of cedega are you using? I have the 5.1.4 engine installed at the moment but only use it for BF2. I do think that you could eject if we knew what suse does with drives ie. is hald running and/or is udev running or is everything manual?
One thing to note is if you use cedega and hald, make a separate entry in your fstab for cedega to use like this:
Code:

/dev/cdrom      /media/cd-cedega auto        user,noauto,ro  0  0
Make sure only cedega uses /dev/cdrom (hald should go direct to /dev/hdc (raw cd device)), or make a new link to your cdrom device and use that.

nomb 06-09-2006 01:03 PM

i have cedega 5.1.4 as well and also some previous versions. Not to sound dumb but a lot of what you said went over my head. I use to play with linux awhile ago and recently I installed it on my new laptop and liked it more then i did before so i put it on my desktop as well... :D no more windows... but now, I'm playing catchup. So when anything is using the dvd drive for inatallation, when it needs to switch disks, suse comes back and tells me it is busy. So by doing that fstab thing (which I have no idea how to :D) cedega wont be using the actual drive but a link to the drive, is that right? and on how u installed ut2004 (since i have it to and would love to get it working...) that was 3 seperate commands right?

things to note:
In suse there is nothing in the /mnt/ directory.

Ok, looked up what fstab was... :D That is the file that holds the paths to all the devices on your computer and their mount points. Right? right! Ok well, here is mine...

/dev/sda2 / reiserfs acl,user_xattr 1 1
/dev/sda3 / reiserfs acl,user_xattr 1 2
/dev/sdb5 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda1 /swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0

um, sdb5? WTF

anyway I don't see any dvd drives do u? So the /dev/pts caught my eye since all ur devices are under /dev/ in suse... Lets take a look...

well /dev/pts is a folder and it has two little chip icons in it one is named 0 and the other is named 8... other then that nothing... hope this helps.

thanks again,
nomb

Tuttle 06-09-2006 01:42 PM

Your filesystem:

The usual thing is that you can only have 4 partitions so (historically) the way around this is you make one of the four "primary" partitions an "extended" partition, then you can put lots more "secondary" partitions in there.
These "primary" ide partitions in linux are normally called hda1,2,3&4, one of which can be a "primary extended" partition. All the "secondary" partitions are called hda5,6,7 and so on.

Your system is configured to name your disk as a scsi disk drive (as oposed to ide) so you are seeing "/dev/sda#" for each partition, we need to know what you cdrom(dvd) drive is called, look in /dev/ for "cdrom", "dvd" or similar, it is probably a link pointing to your dvd device and might be sdb, sdc or sdd, if not it may be hdb, hdc or hdd.
Also more info can be gleaned by putting a cd in the drive, wait for it to mount (or mount it as you normally do) then type "mount" in a terminal. Here is what I see with a mounted cdrom in the drive:
Code:

tuttle@shangrila:~$ mount
/dev/hda7 on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw,devgid=10,devmode=0666)
/dev/hda8 on /usr type reiserfs (rw)
/dev/hda14 on /usr/local type reiserfs (rw)
/dev/hda9 on /var type reiserfs (rw)
/dev/hda10 on /tmp type reiserfs (rw)
/dev/hda11 on /home type reiserfs (rw)
/dev/hda12 on /archive type reiserfs (rw)
/dev/hda13 on /fedora type ext3 (rw)
/dev/hda1 on /win-c type ntfs (rw)
/dev/hda5 on /win-d type vfat (rw,uid=1000)
/dev/hda6 on /win-e type vfat (rw,uid=1000)
/dev/hdc on /media/TombRaiderLegend type iso9660 (ro,noexec,nosuid,nodev,uid=1000)

and here is my fstab:
Code:

# This file is edited by fstab-sync - see 'man fstab-sync' for details
/dev/hda15      swap            swap        defaults        0  0
/dev/hda7        /                reiserfs    defaults        1  1
/dev/hda8        /usr            reiserfs    defaults        1  2
/dev/hda14      /usr/local      reiserfs    defaults        1  2
/dev/hda9        /var            reiserfs    defaults        1  2
/dev/hda10      /tmp            reiserfs    defaults        1  2
/dev/hda11      /home            reiserfs    defaults        1  2
/dev/hda12      /archive        reiserfs    defaults        1  2
/dev/hda13      /fedora          auto        defaults        1  2
/dev/hda1        /win-c          auto        defaults        1  0
/dev/hda5        /win-d          vfat        uid=1000,rw      1  0
/dev/hda6        /win-e          vfat        uid=1000,rw      1  0
devpts          /dev/pts        devpts      gid=5,mode=620  0  0
proc            /proc            proc        defaults        0  0
none            /sys            sysfs      defaults        0  0
/dev/cdrom      /media/cd-cedega auto        user,noauto,ro  0  0

I have added the "/dev/cdrom" entry in my fstab and done "mkdir /media/cd-cedega" so that cedega has somewhere to mount the disk.
My cdrom entry in fstab corresponds to a link (created at boot time):
Code:

tuttle@shangrila:~$ ls -l /dev/cdrom
lrwxrwxrwx  1 root root 3 2006-06-09 00:52 /dev/cdrom -> hdc

See if you can find a similar link in your /dev and make use of that. Good luck :)

Tuttle 06-09-2006 01:51 PM

After I mount the cd using the cedega "Mount" button:
Code:

tuttle@shangrila:~$ mount
/dev/hda7 on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
none on /proc/bus/usb type usbfs (rw,devgid=10,devmode=0666)
/dev/hda8 on /usr type reiserfs (rw)
/dev/hda14 on /usr/local type reiserfs (rw)
/dev/hda9 on /var type reiserfs (rw)
/dev/hda10 on /tmp type reiserfs (rw)
/dev/hda11 on /home type reiserfs (rw)
/dev/hda12 on /archive type reiserfs (rw)
/dev/hda13 on /fedora type ext3 (rw)
/dev/hda1 on /win-c type ntfs (rw)
/dev/hda5 on /win-d type vfat (rw,uid=1000)
/dev/hda6 on /win-e type vfat (rw,uid=1000)
/dev/hdc on /media/TombRaiderLegend type iso9660 (ro,noexec,nosuid,nodev,uid=1000)
/dev/hdc on /media/cd-cedega type iso9660 (ro,noexec,nosuid,nodev,user=tuttle)


nomb 06-09-2006 01:53 PM

ok here is my mount command:

nomb@Shadow:~> mount
/dev/sda2 on / type reiserfs (rw,acl,user_xattr)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
debugfs on /sys/kernel/debug type debugfs (rw)
udev on /dev type tmpfs (rw)
devpts on /dev/pts type devpts (rw,mode=0620,gid=5)
/dev/sda3 on /home type reiserfs (rw,acl,user_xattr)
/dev/sdb5 on /windows/C type ntfs (ro,noexec,nosuid,nodev,gid=100,umask=0002,nls=utf8)
securityfs on /sys/kernel/security type securityfs (rw)
/dev/hda on /media/UT2004_CD1 type iso9660 (ro,nosuid,nodev,utf8,uid=1000)

looks like it is /dev/hda...
what is my next step?

Thanks!

nomb 06-14-2006 01:21 PM

alrighty, just for an update,

making the cd-cedega works no. My cedega can mount and unmount the drive. However, using the linux installer for ut2004 it hung on the 2nd disc. I was able to get the 1st disc ejected and put the 2nd disc in and got it mounted but the installer didn't pick up on the 2nd disc. Thats problem
#1...

I've installed ut2004 using cedega as well as thief III. I got the following errors.

Thief III:

- 1st Error - Needs original disc.

- Solution - The original disc was actually in there but I got a no-cd crack to bypass that error.


- 2nd Error - Thief III requires at least pixel shader version 1.1 (cedega comes with 1.1 - 1.5)

- Solution - Not solved; Tried all of the pixel shaders, no success...




UT2004:

- 1st Error - linux sh installer hung on disc 2

- Solution - Used cedega, installed fine.


- 2nd Error - Needs original play disc.

- Solution - Not solved; Since this was the second game I got this error on figuring its gonna be a major problem. I need to somehow find a fix for this. Any ideas?




GuildWars

- 1st Error - installer doesn't even load under cedega for me for some reason. Even using the recomended version.

- Solution - Not solved; I think a big problem of mine is my video card.


I have an ati x700 I got the linux drivers offline and have them installed. All the eye candy in suse 10.1 works fine but I'm not sure what to do now to get things working. If anyone can give me any help on this that would be great!!! Also the other problem is that cedega isn't detecting the original discs... HELP!!! :D

Thanks to everyone,
nomb

Tuttle 06-14-2006 03:25 PM

When you run the cedega test suite (sound, direct rendering and cd test) does your cdrom pass the copy protection test? Just a thought...

ps. I have the dvd version of ut2004, installs fine (native mode, not cedega) so I can't test the multi cd problem here :(

nomb 06-14-2006 03:43 PM

yup cedega passes the copy protection test just fine. Think its the link we made?

Tuttle 06-14-2006 04:06 PM

Not sure, could we recap and post me your current fstab and the link ie.

more /etc/fstab
ls -l /dev/[linkname]

I have 2 thoughts, 1. your cdrom drive is not up to it, or 2 suse is not the best platform for this. If you have time, try another distro, ubuntu maybe or fedora, they're both easy distros to setup.. and free!
Also, in my first post I was refering to ut (not ut2004) which does have 2 disks and has never failed to install. Sorry for any misunderstanding there.

nomb 06-14-2006 05:21 PM

here is my fstab:

/dev/sda2 / reiserfs acl,user_xattr 1 1
/dev/sda3 /home reiserfs acl,user_xattr 1 2
/dev/sdb5 /windows/C ntfs ro,users,gid=users,umask=0002,nls=utf8 0 0
/dev/sda1 swap swap defaults 0 0
proc /proc proc defaults 0 0
sysfs /sys sysfs noauto 0 0
debugfs /sys/kernel/debug debugfs noauto 0 0
usbfs /proc/bus/usb usbfs noauto 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
/dev/cdrom /media/cd-cedega auto user,noauto,ro 0 0

and the link:

dow:~> ls -l /dev/cdrom
lrwxrwxrwx 1 root root 3 2006-06-14 10:02 /dev/cdrom -> hda

cdrom, dvd, cdrecorder, and dvdrecorder are all hda cause i only have 1 ide device.

Thanks for all your help tuttle, ive tried fc5 but have problems getting the sound to work.

Tuttle 06-14-2006 05:41 PM

No worries. I have the feeling that fedora (tried "alsaconf" as root?) would test the theory.
Your setup seems ok.
Where (physically) is the hard disk connected? Do you have a scsi controller or something or is it secondary master on your ide cable?
That could be the problem, if it was primary master and your cd/dvd was secondary master things might suddenly work! You never know... that would mean re-installing suse though (to avoid big problems).

nomb 06-14-2006 07:36 PM

my harddrives are sata and my cd/dvd drive is primary ide 1

Tuttle 06-14-2006 07:48 PM

Ah, I see, I have no experience with these, sry!!

nomb 06-15-2006 10:29 AM

ok, ok, twist my arm... I'm gonna try FC5 on my desktop. Mind giving me a hand getting that set-up?


All times are GMT -5. The time now is 10:22 PM.