Page 1 of 1

Request for dotpup of FreeCiv 1 or even better 2

Posted: Fri 24 Nov 2006, 09:50
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.

Free Civ

Posted: Fri 24 Nov 2006, 14:17
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.

Posted: Fri 24 Nov 2006, 21:42
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)?

Posted: Sat 25 Nov 2006, 00:27
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).

Posted: Sun 26 Nov 2006, 00:58
by Braden
Here you go: FreeCiv 2.0.8

Posted: Thu 30 Nov 2006, 18:07
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.

Posted: Fri 01 Dec 2006, 17:08
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.

Posted: Sat 02 Dec 2006, 05:43
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.

Posted: Mon 04 Dec 2006, 17:03
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.

Posted: Mon 04 Dec 2006, 18:25
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#

FreeDiv errors

Posted: Tue 05 Dec 2006, 01:50
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?

Posted: Mon 15 Jan 2007, 01:28
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?

halitng progress

Posted: Mon 15 Jan 2007, 16:03
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'

Posted: Mon 15 Jan 2007, 16:23
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

Posted: Wed 13 Jun 2007, 08:56
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!