Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Fri 01 Aug 2014, 06:20
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Request for dotpup of FreeCiv 1 or even better 2
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [15 Posts]  
Author Message
Jeff

Joined: 05 Feb 2006
Posts: 23

PostPosted: Fri 24 Nov 2006, 05:50    Post subject:  Request for dotpup of FreeCiv 1 or even better 2  

Hello.,

I know a long time ago people were having a go at compiling and running this game.

Did anyone succeed and could they provide a dotpup or two?

Regards
Jeff.
Back to top
View user's profile Send private message 
ndujoe1

Joined: 04 Dec 2005
Posts: 693

PostPosted: Fri 24 Nov 2006, 10:17    Post subject: Free Civ  

I would like to second the motion. Since I don't have the knowledge at this stage to create a Dotpup of the game either.
Back to top
View user's profile Send private message 
Braden

Joined: 22 Sep 2006
Posts: 70
Location: Waterloo, Ontario, Canada

PostPosted: Fri 24 Nov 2006, 17:42    Post subject:  

Okay, I compiled Freeciv 2.0.8 successfully under Puppy 2.12 with only minor additional libraries (zlib).

If you're up to that, you can have it right now.
If not, I'll be posting a Dotpup tonight.

I'd appreciate it if someone with more experience in creating Dotpups could advise me on the etiquette of where to put them. Should I put the game under /usr/local/freeciv/ or some such, or should I put it in /usr/local proper, adding its files to /usr/local/(bin|man|share)?
Back to top
View user's profile Send private message MSN Messenger 
Braden

Joined: 22 Sep 2006
Posts: 70
Location: Waterloo, Ontario, Canada

PostPosted: Fri 24 Nov 2006, 20:27    Post subject:  

Okay, just as an update, I've gotten home and tested it, it works fine, and fairly slickly on my mid-power machine:
P3-800MHz, 512MB RAM, 1280x1024x24, Xorg, light acceleration.

Their FAQ indicates that a P1-100MHz with 30MB free RAM is plenty.

The build that I have consumes 18.28MB uncompressed. That doesn't include sound. I can include sound if you want it, let me know.

Dotpup will be coming later tonight (think 5 hours from this post).
Back to top
View user's profile Send private message MSN Messenger 
Braden

Joined: 22 Sep 2006
Posts: 70
Location: Waterloo, Ontario, Canada

PostPosted: Sat 25 Nov 2006, 20:58    Post subject:  

Here you go: FreeCiv 2.0.8
Back to top
View user's profile Send private message MSN Messenger 
Jeff

Joined: 05 Feb 2006
Posts: 23

PostPosted: Thu 30 Nov 2006, 14:07    Post subject:  

Many Thanks for the Dotpup.... but I cannot get it started. I'm using Puppy 2.01 and installed the dotpup.

When after su spot in rxvt - I typed

/usr/local/bin/civclient --tiles trident

I get

1: Did not read help texts
1: Trying "isotrident" tileset.
0: No usable default tileset found, aborting!

The tilesets are in /usr/local/share/freeciv

Anyone know what I am doing wrong?

Jeff.
Back to top
View user's profile Send private message 
Braden

Joined: 22 Sep 2006
Posts: 70
Location: Waterloo, Ontario, Canada

PostPosted: Fri 01 Dec 2006, 13:08    Post subject:  

You should be able to just click the shortcut from the menu should work.

If it doesn't work, or you need to run it from the command-line, the command it uses is: sudo -u spot /usr/local/bin/civclient.

If the menu and that command don't work, tell me the output.

2.01 may be the problem; I'm on 2.12.
If the shortcut doesn't work I'll try compiling on 2.01.
Back to top
View user's profile Send private message MSN Messenger 
Jeff

Joined: 05 Feb 2006
Posts: 23

PostPosted: Sat 02 Dec 2006, 01:43    Post subject:  

Typing in sudo -u spot /usr/local/bin/civclient

gives

"Sorry, user root is not allowed to execute '/usr/local/bin/civclient' as spot on puppypc"

Not sure how to get a response from menu option, but suspect it's the same as above.

I've been meaning to upgrade to puppy 2.12, this will give me extra incentive to do so.

I was wondering if I was doing something stupid, which I could not see.

Jeff.
Back to top
View user's profile Send private message 
Braden

Joined: 22 Sep 2006
Posts: 70
Location: Waterloo, Ontario, Canada

PostPosted: Mon 04 Dec 2006, 13:03    Post subject:  

One of two things is causing this. Either the file permissions of the civclient executable aren't set, or the /etc/sudoers file isn't set appropriately.

Can you run both of these commands and post the output here?

Code:
ls -l /usr/local/bin | grep civ

and
Code:
cat /etc/sudoers


Thanks.
Back to top
View user's profile Send private message MSN Messenger 
Jeff

Joined: 05 Feb 2006
Posts: 23

PostPosted: Mon 04 Dec 2006, 14:25    Post subject:  

ls -l /usr/local/bin | grep civ gives

-rwxr-xr-x 1 root root 3133586 Nov 26 07:48 civclient
-rwxr-xr-x 1 root root 3113689 Nov 26 07:48 civmanual
-rwxr-xr-x 1 root root 3058703 Nov 26 07:48 civserver
sh-3.00#

sh-3.00# cat /etc/sudoers
root ALL=(spot) /usr/local/bin/civclient /usr/local/bin/civserver /usr/local/bin/civmanual
sh-3.00#
Back to top
View user's profile Send private message 
ndujoe1

Joined: 04 Dec 2005
Posts: 693

PostPosted: Mon 04 Dec 2006, 21:50    Post subject: FreeDiv errors  

My apologies for starting a new thread, hit the wrong button.

sh-3.00# su spot
sh-3.00$ whoami
spot
sh-3.00$ civclient
1: Did not read help texts
0: No usable default tileset found, aborting!
sh-3.00$

here are the errors that I encounter.

I am using Puppy Linux 2.12, and downloaded the Freeciv 2.0.8 dotpup.

sh-3.00# which civclient
/usr/local/bin/civclient
sh-3.00#

I did see that Games menu and shortcut established in my system as a result of the dot pup. I must be missing something there, so that's why I attempted to invoke the game from the command prompt.

I use JVM and Vesa video if that is any help?

I am able to run Wesnoth on this computer. Is that an analogous situation?
Back to top
View user's profile Send private message 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Sun 14 Jan 2007, 21:28    Post subject:  

The following works for me using Muppy6
Code:

su spot
cd /usr/local/share/freeciv/
./civclient


If you search through the source for the error message
Code:
Did not read help texts
you will find it at about line 204 of helpdata.c. The program is failing to read the file helpdata.txt.
Adding the freeciv directory to the PATH variable might work as well. I'm not sure why the program is being so fussy about where it is started from? Is it to do with running as spot?

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send private message 
ndujoe1

Joined: 04 Dec 2005
Posts: 693

PostPosted: Mon 15 Jan 2007, 12:03    Post subject: halitng progress  

Well, I got the Freeciv interface and game dispaly on my system working. Made a few moves, built a city then the menu items disappeared from the screen. in rxvt there were list two error responses if this is any help in diagnosing what I should do next.

(civclient:16025): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans 9.9990234375'

(civclient:16025): Pango-WARNING **: shape engine failure, expect ugly output. the offending font is 'Bitstream Vera Sans 12'
Back to top
View user's profile Send private message 
MU


Joined: 24 Aug 2005
Posts: 13642
Location: Karlsruhe, Germany

PostPosted: Mon 15 Jan 2007, 12:23    Post subject:  

you can choose other fonts for Gtk based applications with this program:
http://www.murga-linux.com/puppy/viewtopic.php?t=10616

Mark
Back to top
View user's profile Send private message Visit poster's website 
gdemonta


Joined: 19 Feb 2007
Posts: 190
Location: Paris, France

PostPosted: Wed 13 Jun 2007, 04:56    Post subject:  

Thank you so much for the pup and the help (I did have the problem with the tile error, and the font problem as well), this game rocks!
So many memories...
Civilization was the second game I bought, right after Theme Park...
Though it would be great to have sound, I'm going to check and try to compile, if there is so few dependencies it shouldn't be so hard.
There is also a Colonization clone, have a look at my post here!

_________________
Dumbledore: "The evidence of the Dark Lord's return is incontrovertible"
IBM X31 - Puppy 2.16 Hard disk install with EZpup
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 1 of 1 [15 Posts]  
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0701s ][ Queries: 12 (0.0039s) ][ GZIP on ]