FreeCiv 2.3.1

Play with your Puppy.
Post Reply
Message
Author
User avatar
sc0ttman
Posts: 2812
Joined: Wed 16 Sep 2009, 05:44
Location: UK

FreeCiv 2.3.1

#1 Post by sc0ttman »

FreeCiv 2.3.1

This is a really great game! One of my all-time favourites..
Homepage: http://freeciv.wikia.com/wiki/Main_Page

Image

FreeCiv is a civilization clone, and a great turn based strategy game.
Compiled on Akita, should work on most recent pups.

Downloads:

freeciv-2.3.1-i486.pet (8.7mb)
freeciv_DEV-2.3.1-i486.pet (4.5mb)
freeciv_NLS-2.3.1-i486.pet (5.3mb)

This one even includes an addon downloader...
Find all needed menu entries in the 'Fun' category :)
______________________________

If you have problems:

You must run this as 'spot', which this pkg will do for you.
In your Puppy, 'spot' may not have access to audio.

If spot is OK, but sound is not enabled, try installing SDL_mixer.

This package requires SDL, SDL_image, iconv

Ideally, get those SDL packages from you Puppys repo.
But if you have problems, please use the libs above.

If you still have problems, particularly with the game crashing at the end of your turn,
then check you have the following files and folders:

Code: Select all

/root/spot/.freeciv/saves/
/root/spot/.civclientrc
These should be owned by the 'spot' user...
To do this in the terminal:

Code: Select all

chown spot:spot -R /root/spot
If you have no 'spot' user, you may need to change the permissions of the freeciv files in /root/spot
(right click, choose 'properties', tick all boxes, aka 777)...
___________________________

For an older FreeCiv package, see here:
http://www.murga-linux.com/puppy/viewtopic.php?t=66100

Or get this one: http://ppm.scottjarvis.com/games/FreeCi ... 9-pup4.pet
[b][url=https://bit.ly/2KjtxoD]Pkg[/url], [url=https://bit.ly/2U6dzxV]mdsh[/url], [url=https://bit.ly/2G49OE8]Woofy[/url], [url=http://goo.gl/bzBU1]Akita[/url], [url=http://goo.gl/SO5ug]VLC-GTK[/url], [url=https://tiny.cc/c2hnfz]Search[/url][/b]

User avatar
Markiee
Posts: 6
Joined: Tue 17 Apr 2012, 17:20

#2 Post by Markiee »

Thank you so much! I love this game!

paulski
Posts: 130
Joined: Fri 06 Oct 2006, 15:30
Location: Cologne, Germany &/or Perth, Australia

try to compile on Fatdog 64 521

#3 Post by paulski »

@ Sc0ttman

You've presented some fine updates on Freeciv.
Thanks

I'm trying to compile one for Fatdog 64.

You've obviously had success with Akita.

Any tips on getting it to compile properly?

I get the feeling Freeciv needs a little more development libraries than its install notes indicate (they mostly assume its is getting built on a heavier system like Ubuntu and not a lightweight like Puppy and its derivatives).

User avatar
Karl Godt
Posts: 4199
Joined: Sun 20 Jun 2010, 13:52
Location: Kiel,Germany

#4 Post by Karl Godt »

You must run this as 'spot', which this pkg will do for you.
No !

Use

Code: Select all

./configure CFLAGS="-DALWAYS_ROOT"
or

Code: Select all

Alternatively you can edit

/***************************************************************************
  If we have root privileges, die with an error.
  (Eg, for security reasons.)
  Param argv0 should be argv[0] or similar; fallback is
  used instead if argv0 is NULL.
  But don't die on systems where the user is always root...
  (a general test for this would be better).
  Doesn't use freelog() because gets called before logging is setup.
***************************************************************************/
void dont_run_as_root(const char *argv0, const char *fallback)
{
#if (defined(ALWAYS_ROOT) || defined(__EMX__) || defined(__BEOS__))
  return;
#else
  if (getuid()==0 || geteuid()==0) {
    fprintf(stderr,
	    _("%s: Fatal error: you're trying to run me as superuser!\n"),
	    (argv0 ? argv0 : fallback ? fallback : "freeciv"));
    fprintf(stderr, _("Use a non-privileged account instead.\n"));
    fprintf(stderr, _("BUT this is Puppy Hack :P\n"));
    fprintf(stderr, _("Running anyway instead :-P\n"));
    return;
    // exit(1);
  }
#endif
}
in common/shared.c
.

(At least from 1.9.x up to version 2.0.x)

Post Reply