Request for dotpup of FreeCiv 1 or even better 2

Play with your Puppy.
Post Reply
Message
Author
Jeff
Posts: 23
Joined: Sun 05 Feb 2006, 13:19

Request for dotpup of FreeCiv 1 or even better 2

#1 Post by Jeff »

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.

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

Free Civ

#2 Post by ndujoe1 »

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.

Braden
Posts: 69
Joined: Fri 22 Sep 2006, 20:39
Location: Waterloo, Ontario, Canada

#3 Post by Braden »

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)?

Braden
Posts: 69
Joined: Fri 22 Sep 2006, 20:39
Location: Waterloo, Ontario, Canada

#4 Post by Braden »

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).

Braden
Posts: 69
Joined: Fri 22 Sep 2006, 20:39
Location: Waterloo, Ontario, Canada

#5 Post by Braden »

Here you go: FreeCiv 2.0.8

Jeff
Posts: 23
Joined: Sun 05 Feb 2006, 13:19

#6 Post by Jeff »

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.

Braden
Posts: 69
Joined: Fri 22 Sep 2006, 20:39
Location: Waterloo, Ontario, Canada

#7 Post by Braden »

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.

Jeff
Posts: 23
Joined: Sun 05 Feb 2006, 13:19

#8 Post by Jeff »

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.

Braden
Posts: 69
Joined: Fri 22 Sep 2006, 20:39
Location: Waterloo, Ontario, Canada

#9 Post by Braden »

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: Select all

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

Code: Select all

cat /etc/sudoers
Thanks.

Jeff
Posts: 23
Joined: Sun 05 Feb 2006, 13:19

#10 Post by Jeff »

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#

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

FreeDiv errors

#11 Post by ndujoe1 »

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?

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#12 Post by HairyWill »

The following works for me using Muppy6

Code: Select all

su spot
cd /usr/local/share/freeciv/
./civclient
If you search through the source for the error message

Code: Select all

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: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

ndujoe1
Posts: 851
Joined: Mon 05 Dec 2005, 01:06

halitng progress

#13 Post by ndujoe1 »

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'

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#14 Post by MU »

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

Mark

User avatar
gdemonta
Posts: 190
Joined: Mon 19 Feb 2007, 08:17
Location: Paris, France

#15 Post by gdemonta »

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!
[color=blue]Dumbledore: "The evidence of the Dark Lord's return is incontrovertible"[/color]
IBM X31 - Puppy 2.16 Hard disk install with EZpup

Post Reply