#1 01.06.2013 06:44:32

bardo
Player
Posts: 58

Savegames from lt31?

Could some admin please tell me if it is possible to get savegames from the last lt31 game?
Thank you.

Offline

#2 01.06.2013 07:45:00

Kryon
Player
Posts: 331

Re: Savegames from lt31?

bardo I remember you had a script to make animated maps from saved games but it had to modified for the new freeciv version. It would great if you could create such an animated map for LT31.

Offline

#3 01.06.2013 08:17:52

akfaew
Administrator
Posts: 619

Re: Savegames from lt31?

If anyone objects to having the savegame published, post here.

Offline

#4 02.06.2013 07:18:49

bardo
Player
Posts: 58

Re: Savegames from lt31?

Thanks.

Kryon, it is not my script, it is a new feature of the latest freeciv development version. I'll try to see if possible to create such animated maps with older savegames.

Offline

#5 23.06.2013 19:32:59

Kryon
Player
Posts: 331

Re: Savegames from lt31?

I've worked all day long and managed to create animated maps from saved games! Below is an example.

I plan to add color coded player names and city locations  later.

Akfaew, if you share the saved games of LT31 (and any other previous games), I can create such animated maps.

8hr.gif

Last edited by Kryon (23.06.2013 19:33:48)

Offline

#6 23.06.2013 23:00:08

akfaew
Administrator
Posts: 619

Re: Savegames from lt31?

Compressed saves from LT31 take 887MB, it will be hard for me to share.

Offline

#7 24.06.2013 15:19:21

Kryon
Player
Posts: 331

Re: Savegames from lt31?

akfaew wrote:

Compressed saves from LT31 take 887MB, it will be hard for me to share.

I see. I offer 3 options:

1) Can you enable access and share the link of the folder that has the savedgames so that I can download them from there.

2) To create animated maps, I only need a very small part of the files. The [map] section. (Actually only the terrain and owner parts of the map section is enough but it is easier to grab the whole [map] section). Can you write a script to grab the [map] sections of the savedgames?

3) If you have MATLAB, I can send you the animated map code and it can run at the server.

Option 2 requires some effort from you but 1 and 3 are simple solutions. I prefer option 1 over 3 if possible.

Offline

#8 24.06.2013 16:09:35

Dimitril
Player
Posts: 83

Re: Savegames from lt31?

or he can archive in split of 100 mb and use a free web dropbox.

Offline

#9 24.06.2013 17:29:44

akfaew
Administrator
Posts: 619

Re: Savegames from lt31?

Kryon wrote:

2) To create animated maps, I only need a very small part of the files. The [map] section. (Actually only the terrain and owner parts of the map section is enough but it is easier to grab the whole [map] section). Can you write a script to grab the [map] sections of the savedgames?

This is straightforward.

Here is the script for future reference:

#!/bin/sh

for I in *sav.gz; do
        T=$(echo -n $I | perl -pe 's/^(freeciv-)|(-Y.*$)//g')
        printf "\r$T"
        zcat $I | perl -ne 'print if /^\[map\]/../^\[players\]/' > kryon/$T.map
done
printf "\n"

And here are the maps: http://akfaew.jasminek.net/crap/lt/kryon.tar.bz2 (34MB) (I made this post before the upload to my server has finished, it should be uploaded in 10 minutes from the date of this post)

Offline

#10 24.06.2013 20:37:31

Kryon
Player
Posts: 331

Re: Savegames from lt31?

You can see LT31 animated map here: http://forum.longturn.org/viewtopic.php?pid=3045#p3045

Offline

#11 25.06.2013 01:13:46

mrsynical
Player
Posts: 171

Re: Savegames from lt31?

Kryon wrote:

You can see LT31 animated map here: http://forum.longturn.org/viewtopic.php?pid=3045#p3045


Looks nice Kryon - do you mind posting your matlab code. I think it would be good to do some additional analysis. I would also like to figure out which colour I am :-)

Offline

#12 29.06.2013 14:27:25

Grendel
Player
Posts: 45

Re: Savegames from lt31?

Etruscans appear to be the same shade of green as unclaimed territory.  You're in the bottom left and can be seen taking out the Brazilians I believe in white. smile

Offline

#13 29.06.2013 21:51:20

Kryon
Player
Posts: 331

Re: Savegames from lt31?

I am working on adding legend (e.g. color coded player names). It might be ready tomorrow.

Offline

#14 30.06.2013 13:16:01

Kryon
Player
Posts: 331

Re: Savegames from lt31?

Grendel wrote:

Etruscans appear to be the same shade of green as unclaimed territory.  You're in the bottom left and can be seen taking out the Brazilians I believe in white. smile

Yes it seems mrsynical got the same color with unclaimed land. I've fixed that. (now he is orange)

Also, I added the map legend showing who started where.
http://forum.longturn.org/viewtopic.php?id=319

Last edited by Kryon (30.06.2013 13:53:25)

Offline

Board footer

Powered by FluxBB