LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Proper way to install a game from a CDR? (https://www.linuxquestions.org/questions/linux-newbie-8/proper-way-to-install-a-game-from-a-cdr-87205/)

l0f33t 08-29-2003 10:50 PM

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, :D

WannaLearnLinux 08-29-2003 11:18 PM

I'm sorry I'm newbie,but know bit about CDRs.

Well are those CDRs tasted before?

Are they donwloaded from somewhere?because those won't work sometime.

Or are those originall games?

Odd_Bloke 08-29-2003 11:24 PM

YOu could try just letting the installer finish. You can always get rid of stuff later.

However, bitmaps are generally necessary for the game running (whereas audio, for example, is not) so it may not even be worth it. I'm not really certain but your best bet is to suck it and see. As long as you are reasonably careful where you install and what you remove, you'll be fine.

Dan

l0f33t 08-29-2003 11:52 PM

Thanks for the Reply guys,

But the question is how to install a game onto my hardrive off of a cd.

I just don't know the steps to take. I know.. Its silly..

I'm obviously doing something wrong here. I know this is a simple task.

The "Unable to find file" was an example of the errors that I was getting.
There were many more than that.

So I'm not sure if I need to copy all of the files and directories off of the CD and put them into my home directory or follow the directions as per stated in the README file.

Thanks,

l0f33t 08-30-2003 12:34 AM

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. :D

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, :)

endoalpha 08-30-2003 12:53 AM

is that the ORIGINAL simcity 3000 cd? Simcity3000 is copy protected, and if your friend made you a copy, it may not work.
Also, there is no 'dir' command in linux. Mandrake has aliased 'dir' to the real command, 'ls'.

l0f33t 08-30-2003 01:46 AM

Something else is going on. Thanks for all the help.

:D

l0f33t 08-30-2003 02:04 AM

Quote:

Originally posted by endoalpha
Also, there is no 'dir' command in linux. Mandrake has aliased 'dir' to the real command, 'ls'.

I don't know where you got that from. But its wrong. Maybe you have the alias's installed still. But you can do anything you want with these aliases.

Check this out. Just to show ya if you want to change your aliases.

[root@deadmeat root]# cat < /etc/profile.d/alias.sh
# Linux-Mandrake configuration: Chmouel Boudjnah <chmouel@mandrakesoft.com>
#
# Common Aliases for a system.
#
# The Semantic is :
# If exist a ~/.alias and the user hasn't specified a
# LOAD_SYSTEM_ALIAS variables then don't do any system aliases
# If there is no ~/.alias but the user has specified a
# IGNORE_SYSTEM_ALIASES then don't do any system aliases.

[[ -f ~/.alias ]] && [[ -z $LOAD_SYSTEM_ALIASES ]] && return 0
[[ -n $IGNORE_SYSTEM_ALIASES ]] && return 0

[ -e /etc/sysconfig/system ] && . /etc/sysconfig/system

eval `dircolors --sh /etc/DIR_COLORS`

# default ls options
LS_OPTIONS="-F"

# this should be removed once the bug with ls and multibytes locales is fixed
[ -r /etc/profile.d/lang.sh ] && . /etc/profile.d/lang.sh
case "$LC_ALL$LC_CTYPE" in
ja*|ko*|zh*) LS_OPTIONS="$LS_OPTIONS --show-control-chars" ;;
*) if [ "`locale charmap`" = "UTF-8" ]; then
LS_OPTIONS="$LS_OPTIONS --show-control-chars"
fi ;;
esac

# emacs doesn't support color
if [ $TERM != "emacs" ];then
LS_OPTIONS="$LS_OPTIONS --color=auto"
fi

alias ls="ls $LS_OPTIONS" [HERE ARE ALL OF THE LAME ALIASES INSTALLED BY DEFAULT WITHOUT YOU WANTING]

alias d="ls"
alias l="ls" # classical listing.
alias ll="ls -l -k" # List detailled.
alias la='ls -a' # List all.
alias lsd="ls -d */" # List only the directory.
alias cd..="cd .."
alias s="cd .."
alias p="cd -"

alias md="mkdir"
alias rd="rmdir"
alias cp="cp -i"
alias mv="mv -i"
alias rm="rm -i"

# Make a filter for less
if [ -x /usr/bin/lesspipe.sh ];then
export LESSOPEN="|/usr/bin/lesspipe.sh %s"
fi

if [ -n "$CLASS" -a "$CLASS" = "beginner" ];then
# Size of a directory (by default Human Readable).
alias du='du -h'

# Size of a disk (by default Human Readable).
# and don't probe supermount
alias df='df -h -x supermount'
fi

:D :D










:scratch:

endoalpha 08-30-2003 03:58 AM

ok


All times are GMT -5. The time now is 04:49 PM.