I have another crazy idea for the GOTM

I've finally had a chance to look at this again (We've had a bank holiday weekend here, though I have been a bit distracted with the snooker world championships).

I've found the data in the .SAV file that is used for the end of game replay (I.e. City settling/razing/takeover, wonder production, great leaders, golden age). I'm a little bit stuck though as I can only manage this with the autosaved .SAV files. I can't manage to decompress the normal .SAVs :(. I've tried using ZLIB in c and the two standard inflator Java classes and none of them manage to do it.

Has anyone got any ideas/pointers?
 
If you want to do it yourself, the compression is PKWARE DCL. Lovro has some c++ code that handles the decompression if you want to ask him for it. He's been very generous with it so far (it's what I use for my utilities).
 
Dianthus,

Thanks for the link to that wonderful site. They have source code and documentation on a lot of other compression format too.:) And of course, many thanks to Aeson for letting us know what to look for.:) The sky is the limit now friends. I just hope that I have better IQ and time to play around with it.:cry:
 
Originally posted by Dianthus
I've just released a (very) initial version of my utility, CivReplayViewer .

Not bad!:goodjob: Your utility has great potential.:goodjob: For example, you could intergate SirPleb Score Calculator and Aeson Jason Score Calculator into it too.:) And there will be a graph displaying the scoring of how each player is doing per each turn in comparing to other players, etc.
 
Back
Top Bottom