Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: replacement for fcivppsav
Home

[Freeciv-Dev] Re: replacement for fcivppsav

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Freeciv developers <freeciv-dev@xxxxxxxxxxx>
Subject: [Freeciv-Dev] Re: replacement for fcivppsav
From: Paul Zastoupil <paul@xxxxxxxxxxxxx>
Date: Mon, 13 Dec 2004 10:26:19 -0800

On Sat, Dec 11, 2004 at 01:45:26PM +0100, Reinier Post wrote:
> On Fri, Dec 10, 2004 at 09:54:25PM -0600, Mike Kaufman wrote:
> > I put a copy of the source in /home/freeciv/temp
> > 
> > pubserver:~/temp/fcsav2ppm % ./main/fcsav2ppm --help
> > Usage: ./main/fcsav2ppm [option ...]
> > Valid options are:
> >   -f, --file FILE       Load saved game FILE
> >   -o, --output FILE     PPM is output to FILE
> >   -h, --help            Print a summary of the options
> >   -l, --log FILE        Use FILE as logfile
> 
> Looks good, I still do not have any time, maybe next week.
> I doubt Paul will have much time, considering
> 
>    http://www2.zastoupil.org:8080/gallery/andrej
> 

Well, I'm trying anyway.

This new command is a huge savings, about 4 times faster!

But this is got a little messy.  The new fcsav2ppm doesn't work with
a FREECIV_PATH pointing to a 1.14.2 ruleset because the cities.ruleset
doesn't contain [specialist].

0: There must be exactly 3 types of specialist.

So...

I commented out the:
if (nval != SP_COUNT) {
  freelog(LOG_FATAL, "There must be exactly %d types of specialist.",
    SP_COUNT);
  exit(EXIT_FAILURE);
} 

in the fcsav2ppm main/ruleset.c source and everything seems to be working.

Got it installed in picture-civgame.
-- 
Paul Zastoupil



[Prev in Thread] Current Thread [Next in Thread]