Fora

Guild Wars...problem with the cd version

Autor Odpowiedzi
DeMoN3 Wednesday 13 May 2009 at 19:37
DeMoN3Anonymous

Hi,I would try your program for installing Nfs Most Wanted/Underground 2 and Guitar Hero 3.

Unfortunately,I see that all of these 3 games are not officially supported.So I tried to install Guild Wars(base version,no expantion),the version with 2 CDs.

In the installation process,PoL ask me for the version:it asks if it is the dvd version and,if you click "no",asks if it is the CDs one. In both the cases(before I tried the CDs answer,after I tried the DVD one),when it asks me to choose my cdrom drive (/media/cdrom0) it says me that it can't find my drive "Errore:impossibile trovare cdrom" and I can't go next with the installation...Have you some suggests??


Speaking about NfS Most Wanted and Underground 2 and about Guitar Hero 3...something about them?
NSLW Wednesday 13 May 2009 at 20:50
NSLW

"Errore:impossibile trovare cdrom"

Quote from DeMoN3

What does that mean in English?

it asks me to choose my cdrom drive (/media/cdrom0)

Quote from DeMoN3

What path did you choose then? Where is your cdrom mounted under Linux?
It seems that you hit forward (without choosing / leaving default) path to your cdrom.

I would try your program for installing Nfs Most Wanted/Underground 2 and Guitar Hero 3

Quote from DeMoN3


I don't know Guitar Hero 3, NFS Underground 2 won't work beyond main menu. My scripts are hardly accepted by admins (sadly) but maybe i'll wrote working script (expect at the end of week) for NFS Most Wanted as it seems that it works in Wine. If i do so and you test it then please post positive result on this forum as it may be an condition for script to be validated (i don't know these conditions at all and it's hard to get info on them)

Edytowane przez NSLW

Ghostofkendo Thursday 14 May 2009 at 0:53
Ghostofkendo

Hi DeMoN3,

"Errore:impossibile trovare cdrom"

Quote from NSLW

What does that mean in English?

Quote from DeMoN3
To my mind, it means "Error: unable to find the cdrom".
Am I right? :)

Concerning the problem of finding the cdrom, when the installation script asks you to choose your cdrom drive, actually it wants you to indicate the mount point of your CD.
So if you use HAL to mount your removable mediums (it's the most probable case), your CD is very likely to be mounted in /media/{your CD's name} rather than in /media/cdrom0.

Bye

Edytowane przez Ghostofkendo

DeMoN3 Thursday 14 May 2009 at 11:23
DeMoN3Anonymous

Goodmorning,thanks for answering

Yes,
"Errore:impossibile trovare cdrom" means "Error:unable to find the cdrom"

The cdrom is auto-mounted on /media/cdrom0 (but I can do it by the shell with "sudo mount /dev/cdrom /media/cdrom0" ,the result is the same),and when PoL asks me for my drive,I choose "cdrom0" by the menu and,when I see that it can't find it,I choose "other" and type the path manually....but it's the same,it doesn't work



@NSLW

I'll be very happy for testing your script and leaving a feedback ;)


(I hope that my english is enough good :P )
Ghostofkendo Thursday 14 May 2009 at 12:19
Ghostofkendo

Ok, if you're sure that the directory you choose is the good one, then the problem must be something else.

So could you paste here the content of /media/cdrom0/Data/Gw/ please? (or the content of a similar directory if Data/Gw/ doesn't exit)

Ciao

P.S: We don't require a perfect level in English to participate in the forum (by the way mine isn't perfect), as long as we understand what you say, it's enough for us ;-)

Edytowane przez Ghostofkendo

DeMoN3 Thursday 14 May 2009 at 13:40
DeMoN3Anonymous

demon3@demon3-desktop:~$ ls /media/cdrom0/
autorun.inf data/ gw.ico setup.exe
demon3@demon3-desktop:~$ ls /media/cdrom0/data/
cdrom.ini directx9/ gw_hires.wmv gwvideo.exe
config.ini gw/ gw_lores.wmv
demon3@demon3-desktop:~$ ls /media/cdrom0/data/gw
gw/ gw_hires.wmv gw_lores.wmv gwvideo.exe
demon3@demon3-desktop:~$ ls /media/cdrom0/data/gw/
gw.dat gwsetup.exe
demon3@demon3-desktop:~$
Ghostofkendo Thursday 14 May 2009 at 13:59
Ghostofkendo

Thank you.

So the problem comes from the installation script. To check that the mount point you gave is correct, the script looks for the file $CDROM/Data/Gw/Gw.dat but in your case, it doesn't find it because your file is in $CDROM/data/gw/gw.dat.

I'll fix this.

EDIT (15:20 p.m): Voilà. I've edited the Guild Wars script. It should be case insensitive when checking the CDROM so your installation should work now. Please try it and tell us if it worked.

Edytowane przez Ghostofkendo

DeMoN3 Thursday 14 May 2009 at 14:16
DeMoN3Anonymous

ok...so I'll waiting for news about it ;)
DeMoN3 Thursday 14 May 2009 at 15:22
DeMoN3Anonymous

ok,now it finds the cdrom drive...I'm installing it ;)



EDIT:same problem when it asks you to insert CD2...


demon3@demon3-desktop:~$ ls /media/cdrom0/
autorun.inf data/ gw.ico
demon3@demon3-desktop:~$ ls /media/cdrom0/data/
cdrom.ini gw/ stubstub.exe
demon3@demon3-desktop:~$ ls /media/cdrom0/data/gw/
gw2.dat
demon3@demon3-desktop:~$




Edytowane przez DeMoN3

Ghostofkendo Thursday 14 May 2009 at 16:34
Ghostofkendo

same problem when it asks you to insert CD2...


demon3@demon3-desktop:~$ ls /media/cdrom0/
autorun.inf data/ gw.ico
demon3@demon3-desktop:~$ ls /media/cdrom0/data/
cdrom.ini gw/ stubstub.exe
demon3@demon3-desktop:~$ ls /media/cdrom0/data/gw/
gw2.dat
demon3@demon3-desktop:~$

Quote from DeMoN3
I don't know why you have a problem with CD2 and not CD1, are you sure it's the same kind of problem than before?

Because, if it works for the first CD, it should work for the second one too.
See, here's the code to check the first CD:
POL_SetupWindow_cdrom
		cd $CDROM
		CHECK=$(find . -iwholename ./Data/Gw/Gw.dat)
		if [ "$CHECK" == "" ] ; then
			POL_SetupWindow_check_cdrom "POL_fail"
		else
			POL_SetupWindow_check_cdrom "$CHECK"
		fi
And here's the code to check the second CD:
POL_SetupWindow_cdrom
		cd $CDROM
		CHECK=$(find . -iwholename ./Data/Gw/Gw2.dat)
		if [ "$CHECK" == "" ] ; then
			POL_SetupWindow_check_cdrom "POL_fail"
		else
			POL_SetupWindow_check_cdrom "$CHECK"
		fi

Could you also try to run POL from a terminal, try to install Guild Wars and paste here the output of POL after that checking the CD2 has failed?
DeMoN3 Thursday 14 May 2009 at 16:46
DeMoN3Anonymous

I found the problem...for the cd switching,pol needs to be launched as root
DeMoN3 Thursday 14 May 2009 at 17:00
DeMoN3Anonymous

New problem...installation was successfully,but when I try to launch the game...



It means

"It's impossibile to open the archive

GUILD WARS can't get the archive

C:\\GW\\Gw.dat. You have to get sure that the file is accesible and writable and that it isn't in use by another programs"
NSLW Thursday 14 May 2009 at 17:35
NSLW

pol needs to be launched as root

Quote from DeMoN3


POL never needs to be launched as root


C:\\GW\\Gw.dat. You have to get sure that the file is accesible and writable and that it isn't in use by another programs"

Quote from DeMoN3

This is what happens when you install as root. You probably hasn't got permission to this directory as you are the normal user and this directory is owned by root.

If switching cd with root works then it is not script issue. Try installing one more time, this time without root power
DeMoN3 Thursday 14 May 2009 at 17:48
DeMoN3Anonymous

now it installs without root mode O_O

I don't understand...bah...

=D
Ghostofkendo Thursday 14 May 2009 at 18:14
Ghostofkendo

now it installs without root mode O_O

I don't understand...bah...

Quote from DeMoN3
Indeed, pretty strange that it didn't work the first time as non-root...

Anyway, the script is functional now, this is what matter :)
DeMoN3 Thursday 14 May 2009 at 18:26
DeMoN3Anonymous

yes...thanks a lot,it works ;)
Deleted account Tuesday 3 August 2010 at 22:29
Deleted accountAnonymous

I'm having this problem with the current version of the script. It does not recognize CD 2. CD 1 works fine.