LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices


Reply
  Search this Thread
Old 12-16-2007, 04:59 PM   #1
Eric952x
Member
 
Registered: Apr 2006
Location: Florida
Distribution: Ubuntu 10.04 & Linux Mint 9
Posts: 39

Rep: Reputation: 15
Question Problem Installing Civilization: Call to Power


I downloaded Civilization: Call to Power from www.tuxgames.com. The game downloaded to my Desktop with no problem but I do not know how to open this type of file "civctp-demo.run". My OS is Ubuntu 7.04. It is a demo version of the game, wanted to check it out before buying the full version. Any help would be greatly appreciated.
Eric
 
Old 12-16-2007, 09:20 PM   #2
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
Make sure the file is executable and then just execute it.
Code:
cd $HOME/Desktop && chmod a+x civctp-demo.run && ./civctp-demo.run
 
Old 12-17-2007, 07:39 AM   #3
thndrbck
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
The following command:

cd $HOME/Desktop && chmod a+x civctp-demo.run && ./civctp-demo.run

is only necessary the first time you run it, and could be executed as separate commands, as follows:

cd ~/Desktop
chmod a+x civctp-demo.run
./civctp-demo.run

Afterwood, it would only be necessary to launch the program from anywhere as such:

~/Desktop civctp-demo.run

or if you go into the Desktop directory like this:

cd ~/Desktop

launch the script by preceding it with ./ as such:

./civctp-demo.run

Scripts require the ./ prefix to run when you are in the same directory. That isn't needed if you supply a path to the script from another directory.
 
Old 12-18-2007, 05:45 AM   #4
Eric952x
Member
 
Registered: Apr 2006
Location: Florida
Distribution: Ubuntu 10.04 & Linux Mint 9
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the help. I will give it a try.
Eric
 
Old 12-19-2007, 06:46 PM   #5
Eric952x
Member
 
Registered: Apr 2006
Location: Florida
Distribution: Ubuntu 10.04 & Linux Mint 9
Posts: 39

Original Poster
Rep: Reputation: 15
Hello All
I did what was suggested but with limited success. The following is the result...

eric@erb4:~$ sudo su
Password:
root@erb4:/home/eric# cd /home/eric/Desktop
root@erb4:/home/eric/Desktop# cd ~/Desktop
bash: cd: /root/Desktop: No such file or directory
root@erb4:/home/eric/Desktop# chmod a+x civctp-demo.run
root@erb4:/home/eric/Desktop# ./civctp-demo.run
Verifying archive integrity...tail: Warning: "+number" syntax is deprecated, please use "-n +number"
[: 137: 3462403001: out of range
OK
Uncompressing Civilization: Call To Power Demotail: Warning: "+number" syntax is deprecated, please use "-n +number"
.................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ............
=============================================================
Welcome to the Civilization: Call To Power Demo
=============================================================

Would you like to read the README for this update? [Y/n]: n

=============================================================
Would you like to apply this update? [Y/n]: n
Update cancelled.
root@erb4:/home/eric/Desktop# cd ~/Desktop
bash: cd: /root/Desktop: No such file or directory
root@erb4:/home/eric/Desktop# chmod a+x civctp-demo.run
root@erb4:/home/eric/Desktop# ./civctp-demo.run
Verifying archive integrity...tail: Warning: "+number" syntax is deprecated, please use "-n +number"
[: 137: 3462403001: out of range
OK
Uncompressing Civilization: Call To Power Demotail: Warning: "+number" syntax is deprecated, please use "-n +number"
.................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ............
=============================================================
Welcome to the Civilization: Call To Power Demo
=============================================================

Would you like to read the README for this update? [Y/n]: n

=============================================================
Would you like to apply this update? [Y/n]: Y

Please enter the installation path: []: /home/eric

=============================================================
Performing update:


This is as far as it goes. I waited about 30 minutes to make sure I gave it enough time to finish. Am I doing something wrong? I am trying to convince some family members to switch to Linux but the biggest reason they give for not switching to Linux is the lack of games. I am hoping to show that Linux does have some decent games. The family members I refer to run Vista and are very unhappy with it.
Eric
 
Old 12-19-2007, 07:31 PM   #6
weibullguy
ReliaFree Maintainer
 
Registered: Aug 2004
Location: Kalamazoo, Michigan
Distribution: Slackware 14.2
Posts: 2,815
Blog Entries: 1

Rep: Reputation: 261Reputation: 261Reputation: 261
First, if you're installing in your home directory you don't need to be (nor should you) logged in as root. Just do it as you very own self.

This
Code:
Verifying archive integrity...tail: Warning: "+number" syntax is deprecated, please use "-n +number"
Means that the script is using the command tail +6. These days it should be tail -n 6. Looks like that's not causing the script to fail on your machine. You could be a good FLOSS citizen and report that to the game vendor to fix.

Can't tell you why it hangs. Unless someone has gotten the demo to work, you'll probably need to contact the game vendor for help. It looks like a pretty old game. You might try FreeCiv for a Civilization type game on Linux; it's free and work well. Plane Shift is another one that is native Linux, free, and pretty fun. The Knights and Merchants demo from the website you provided worked like a champ on my box too.

MY kids both play World of Warcraft on their Linux machines using Wine. Works great! Runescape also works on Linux machines. AstroMenace, Lincity, and FlightGear are other options on a Linux machine. I'm not really a gamer, so I'm sure someone else can give you even more game ideas than I can.

Good luck and sorry I couldn't help you get the demo installed.
 
Old 12-19-2007, 08:13 PM   #7
Eric952x
Member
 
Registered: Apr 2006
Location: Florida
Distribution: Ubuntu 10.04 & Linux Mint 9
Posts: 39

Original Poster
Rep: Reputation: 15
That's OK I appreciate the help very much. If I find a solution I will be sure to post it here and will check out the games you suggested.
Happy Holidays & Thank You
Eric
 
Old 12-22-2007, 09:29 PM   #8
thndrbck
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
At this point, I would give that readme file a browsing. It probably has some info to help you get this installed and running.

Just so you know, ~ is equivalent to /home/eric

so if you type cd ~, you will end up in your home directory. If you are root, it will take you to /root.

I suspect that there may be some issue with the directory info that you supplied to the script. Again, check the readme file.
 
Old 12-23-2007, 09:37 AM   #9
Eric952x
Member
 
Registered: Apr 2006
Location: Florida
Distribution: Ubuntu 10.04 & Linux Mint 9
Posts: 39

Original Poster
Rep: Reputation: 15
On my first attempt to install this game I printed out the read me file. This is what it says about starting game...
"Run ./civctp_demo in the main demo directory to start the game.
The first time you run the demo, it will create a ~/.loki/civctp_demo directory in your home directory. Stored games and preferences will be stored there."


This is what I have done in terminal...

Verifying archive integrity...tail: Warning: "+number" syntax is deprecated, please use "-n +number"
[: 137: 3462403001: out of range
OK
Uncompressing Civilization: Call To Power Demotail: Warning: "+number" syntax is deprecated, please use "-n +number"
.................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... .................................................................................................... ............
=============================================================
Welcome to the Civilization: Call To Power Demo
=============================================================

Would you like to read the README for this update? [Y/n]: n

=============================================================
Would you like to apply this update? [Y/n]: Y

Please enter the installation path: []: ~/Desktop
Please enter the installation path: [~/Desktop]: /civctp-demo.run ~/Desktop
Please enter the installation path: [/civctp-demo.run ~/Desktop]: Run ./civctp_demo
Please enter the installation path: [Run ./civctp_demo]: /home/eric

=============================================================
Performing update:


I know that I am missing something but don't know what it is. As you can see I have tried several different paths but to no avail. I checked my home directory to make sure it was not installed, the game was not there.
Thank You all for your help I appreciate it very much.
Eric
 
Old 12-25-2007, 10:32 PM   #10
thndrbck
LQ Newbie
 
Registered: Apr 2006
Posts: 5

Rep: Reputation: 0
got a little further along

I had a lot of trouble getting this to install too. Here's what I did.

Make sure the script is executable with the chmod command listed above:

chmod u+x civctp_demo.run

Then, be sure to make the directories that it wants to install to:

cd ~
mkdir demos
mkdir demos/civctp_demo

Then run the script again:

Desktop/civctp_demo.run

That let it install to the ~/demos/civctp_demo directory

Change to that directory:

cd ~/demos/civctp_demo

list the directory contents:

ls

and to run the demo:

./civctp_demo

Don't feel badly. This was a bit of a pain in the neck to get running. I tried for a while, and had to return to the problem after a few nights to address it again.
 
Old 12-26-2007, 07:57 PM   #11
Eric952x
Member
 
Registered: Apr 2006
Location: Florida
Distribution: Ubuntu 10.04 & Linux Mint 9
Posts: 39

Original Poster
Rep: Reputation: 15
Thanks for the info I will give it a try.
Eric
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Loki Civilization problem on Mandriva 2007 raymondobasildon Linux - Games 2 01-28-2007 01:27 AM
Problem with Yum while Installing gnome-power-management danishmr Linux - Software 0 02-26-2006 12:18 AM
Havine problem installing 2nd disc of Call of Duty with Cedega dstrbd1 Linux - Games 1 02-03-2006 06:59 PM
Installing Civilization III complete dustynus Linux - Games 7 03-22-2005 04:43 PM
Problem installing Kyro Power VR drivers ricocchet Slackware 15 12-16-2003 09:47 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration