Mourning the loss of our friend, WhitPhil.
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
 
Linux and Unix
Tag Cloud
access audio blue screen boot bsod connection crash dell desktop driver drivers dvd email error excel firefox hard drive hardware hdmi hijackthis internet keyboard laptop malware monitor motherboard network networking outlook problem ram recovery router screen slow sound spyware tdlwsp.dll trojan upgrade vba video virus vista vundo windows windows 7 windows vista windows xp wireless
Search
Search for:
Tech Support Guy Forums > Operating Systems > Linux and Unix >
Proper way to install a game from a CDR?

Tip: Click here to scan for System Errors and Optimize PC performance
[ Sponsored Link ]

Closed Thread
 
Thread Tools
l0f33t's Avatar
Junior Member with 26 posts.
 
Join Date: Aug 2003
29-Aug-2003, 11:50 PM #1
Proper way to install a game from a CDR?
Hello,

I'm running MDK 9.0.

It seems that everything gets automounted when boot up. Atleast I think this is what the feature is called.

Anyways, my friend gave me a bunch of games on CD and I'm trying to install these.

I stick the cd in, then from the command prompt I cd to /mnt/cdrom and do a "dir".

I check out the README file and it says to do this?

____________________________________
----------------
(2) INSTALLATION
----------------

Mount the SimCity 3000 Unlimited CD and change the current directory to where
it is mounted. Type 'sh setup.sh' to run the install script.

e.g. Log in as root:
$ mount /mnt/cdrom
$ cd /mnt/cdrom
$ sh setup.sh
____________________________________

Correct me if I'm wrong because I'm new to linux and installing anything off of a CD.

1> I shouldn't have to "mount" the cdrom because it is already automounted because I can see the CD ICON on my desktop?? Is this correct?

2> So I "cd /mnt/cdrom" and do a "dir". Everything is appears to be there.

3>Following the directions above I type "sh setup.sh"

4>I here the CD player start huming away and then I get a GUI setup dialog box...
____________________________
"SimCity 3000 Unlimited Setup"
Install path: /usr/local/games/SC3U
Link path: /usr/local/bin
Install Options:
I check all options and click on "install" button
____________________________

The CD starts humming away and then on the command line I see a ton of the following spew out so I cancel the intall becaue it looks like something is wrong... Is there?????

Example: And there's literally hundreds of these so I'll just do a few examples....
Unable to find file 'res/ui/shared/sys/453ba1dd_chatmediumback.bmp'
Unable to find file 'res/ui/shared/sys/453ba1ae_chatsmallback2.bmp'
Unable to find file 'res/ui/shared/sys/453ba1ad_chatsmallback.bmp'
Unable to find file 'res/ui/shared/sys/42e55fd5.bmp'


What do I need to do?

Thanks,
__________________
JBanks
l0f33t's Avatar
Junior Member with 26 posts.
 
Join Date: Aug 2003
30-Aug-2003, 01:34 AM #2
This is a "dir" when in /mnt/cdrom:
____________________________

[root@deadmeat cdrom]# dir
autorun.inf barender buildings hotkeys.txt icon.xpm README README.es README.sv sc3u.ini setup.sh sys
bacustom bin cities icon.bmp plugin README.de README.fr res setup.data snapshot.ini win32
____________________________

This is an "ls -la":
____________________________

[root@deadmeat cdrom]# ls -la
total 92
drwxrwxrwx 1 root root 0 Aug 29 20:03 ./
drwxr-xr-x 5 root root 4096 Aug 24 08:21 ../
-r--r--r-- 1 root root 54 Jun 23 2000 autorun.inf
dr-xr-xr-x 4 root root 2048 Jun 23 2000 bacustom/
dr-xr-xr-x 2 root root 2048 Jun 23 2000 barender/
dr-xr-xr-x 3 root root 2048 Jun 23 2000 bin/
dr-xr-xr-x 2 root root 4096 Jun 23 2000 buildings/
dr-xr-xr-x 5 root root 4096 Jun 23 2000 cities/
-r--r--r-- 1 root root 6530 Jul 7 2000 hotkeys.txt
-r--r--r-- 1 root root 3382 Jul 7 2000 icon.bmp
-r--r--r-- 1 root root 9003 Jul 7 2000 icon.xpm
dr-xr-xr-x 7 root root 2048 Jun 23 2000 plugin/
-r--r--r-- 1 root root 7277 Aug 2 2000 README
-r--r--r-- 1 root root 7607 Aug 21 2000 README.de
-r--r--r-- 1 root root 7172 Aug 8 2000 README.es
-r--r--r-- 1 root root 8412 Aug 21 2000 README.fr
-r--r--r-- 1 root root 7084 Aug 8 2000 README.sv
dr-xr-xr-x 25 root root 4096 Jun 23 2000 res/
-r--r--r-- 1 root root 550 Jun 23 2000 sc3u.ini
dr-xr-xr-x 4 root root 2048 Aug 23 2000 setup.data/
-r--r--r-- 1 root root 2290 Aug 2 2000 setup.sh
-r--r--r-- 1 root root 211 Jun 23 2000 snapshot.ini
dr-xr-xr-x 6 root root 2048 Jun 23 2000 sys/
dr-xr-xr-x 2 root root 2048 Jun 23 2000 win32/

______________________________________________





I know I'm missing a simple step here somewhere.

Should I just create a SimCity3000 folder in my ~ directory and copy all files and directorys to that folder and then cd into that directory and run "sh setup.sh"?

Thanks,
__________________
JBanks
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
30-Aug-2003, 01:56 AM #3
Actually, I think you have a pretty good handle on the problem. You're exactly right about things -- you don't have to mount anything (as you say, the CD is mounted for you at boot time) and you're in the correct directory when you cd /mnt/cdrom. The next question is probably why you are receiving the errors; I notice that many of your examples appear (or fail to appear) in the ./res directory. You might pick a few files at random and just see if you can do an ls -l path-to-filename (e.g., ls -l res/es/ui/shared/sys/453ba1ae_chatsmallback2.bmp; note that this assumes you are in the /mnt/cdrom directory). If the file really isn't there, that's your problem -- and you'll have to go back to your buddy and get him to burn another CD for you. If the file is there, then you may have a media error (so it's back to your buddy again ...). You might also check the install script (setup.sh) to see if the text "unable to find file" appears in the script; if it does, the script is masking the actual return value from the attempt to open the file, so an I/O error, for example, could generate the message "unable to find file XYZ", when in fact the real problem is that it's there but unreadable.

Hope this helps.
__________________
The slowest component still sits at the keyboard.
l0f33t's Avatar
Junior Member with 26 posts.
 
Join Date: Aug 2003
30-Aug-2003, 02:50 AM #4
Ok here's exactly what happened and it's obviously something wrong with the copy on the cd not having all the files needed?

Going through the whole install ignoring all the errors this is what happens.

[root@deadmeat res]# cd /usr/local/games/SC3U
[root@deadmeat SC3U]# dir
bacustom barender res sc3u uninstall
[root@deadmeat SC3U]# sc3u
opendir: No such file or directory
Path = /usr/local/games/SC3U/cities/
opendir: No such file or directory
Path = /usr/local/games/SC3U/cities/scenarios/
opendir: No such file or directory
Path = /usr/local/games/SC3U/buildings/
opendir: No such file or directory
Path = /usr/local/games/SC3U/lib/

BUG! (Segmentation Fault) Going down hard...
Sim City 3000 Unlimited 2.0.955
Built with glibc-2.1
Stack dump:
{
/lib/i686/libpthread.so.0 [0x40027e55]
}
Please send a full bug report,
along with the contents of autosave to: support@lokigames.com

So something is obviously fugged-up with the CD..This is uncharactristic of my buddy though.. Anyways..Thanks for your help. Much appreaciated.

Thanks
__________________
JBanks
codejockey's Avatar
Senior Member with 1,410 posts.
 
Join Date: Feb 2002
31-Aug-2003, 01:29 AM #5
You're more than welcome for any help I've provided.

Your buddy may have been done in by bad media (there's a lot of junk out there masquerading as CDs); a missed bit or two is fine for audio, but could be disasterous for a Linux filesystem, for example. Since you had problems with the install script, I wouldn't expect things to work properly (and you showed that they didn't) -- but the question is still what caused the problems with the install script? You might try the suggestions in my earlier post to see if the CD from your buddy appears OK, because if it does, there's something else going on, and it probably won't make any difference how many copies he burns for you ().

Hope this helps -- additional info appreciated.
__________________
The slowest component still sits at the keyboard.
l0f33t's Avatar
Junior Member with 26 posts.
 
Join Date: Aug 2003
31-Aug-2003, 05:07 AM #6
Hey CodeJockey,

I used your tip in your previous example and was able to find that file on the cd with the ls -l command.

I copied everything over to the harddrive. Ran "sh setup.sh" from within the SimCity3000 directory that I created and the install ran smooth this time with-out any errors untill I went to execute the game.

This is hat happened.

______________________________

[root@deadmeat SimCity3000]# /usr/local/games/SC3U/sc3u

BUG! (Segmentation Fault) Going down hard...
Sim City 3000 Unlimited 2.0.955
Built with glibc-2.1
Stack dump:
{
/lib/i686/libpthread.so.0 [0x40027e55]
}
Please send a full bug report,
along with the contents of autosave to: support@lokigames.com

___________________________

Same error as before basically.

Funny thing is, these guys went out of buisness 2 years ago. So there site is useless now support wise.

Oh well.. Thanks anyways.

So I have another game that I tried to install and now it won't take the dam CD KEY.

I intalled Soldier of Fortune for Linux which is made by the same people above. "lokigames". Do you know where I can find a CD KEY to get the game running?

I'm batting 0 for 2 so far it seems..

Thanks,
__________________
JBanks
Closed Thread Bookmark and Share

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Smart Search

Find your solution!



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.

Thread Tools


You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -5. The time now is 10:33 PM.
Copyright © 1996 - 2009 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2009, Jelsoft Enterprises Ltd.
Powered by Cermak Technologies, Inc.