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 Thu 17 Apr 2014, 15:16
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Games
FreeCiv 2.3.1
Post new topic   Reply to topic View previous topic :: View next topic
Page 1 of 1 [4 Posts]  
Author Message
sc0ttman


Joined: 16 Sep 2009
Posts: 2363
Location: UK

PostPosted: Wed 11 Apr 2012, 05:40    Post subject:  FreeCiv 2.3.1
Subject description: latest stable release :)
 

FreeCiv 2.3.1

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



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 Smile
______________________________

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:
/root/spot/.freeciv/saves/
/root/spot/.civclientrc


These should be owned by the 'spot' user...
To do this in the terminal:

Code:
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/FreeCiv/freeciv-gtk-2.1.9-pup4.pet

_________________
Akita Linux, VLC-GTK, Pup Search, Pup File Search
Back to top
View user's profile Send private message 
Markiee


Joined: 17 Apr 2012
Posts: 6

PostPosted: Wed 18 Apr 2012, 15:33    Post subject:  

Thank you so much! I love this game!
Back to top
View user's profile Send private message 
paulski

Joined: 06 Oct 2006
Posts: 126
Location: Cologne, Germany &/or Perth, Australia

PostPosted: Wed 16 May 2012, 17:30    Post subject: try to compile on Fatdog 64 521  

@ 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).
Back to top
View user's profile Send private message 
Karl Godt


Joined: 20 Jun 2010
Posts: 3860
Location: Kiel,Germany

PostPosted: Sat 11 Aug 2012, 12:03    Post subject:  

Quote:
You must run this as 'spot', which this pkg will do for you.

No !

Use

Code:
./configure CFLAGS="-DALWAYS_ROOT"


or
Code:
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)
Back to top
View user's profile Send private message Visit poster's website 
Display posts from previous:   Sort by:   
Page 1 of 1 [4 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.0513s ][ Queries: 12 (0.0034s) ][ GZIP on ]