Re: [Freeciv-Dev] Please test trunk!

2010-07-11 Thread Matthias Pfafferodt
Am Sunday 11 July 2010 05:48:23 schrieb Karl Goetz:
 On Sat, 10 Jul 2010 13:46:29 +0200

 Matthias Pfafferodt matthias.pfaffer...@mapfa.de wrote:
  Am Saturday 10 July 2010 13:10:28 schrieb Matthias Pfafferodt:
   Hello all developers of freeciv,
  
   today I submitted some big changes to trunk:
  
   * increase map size to 128.000 (max linear size 512)
   * increase max number of players to 28
 
  should be 128!

 That will be a busy game!

And a big savefile! Uncompressed around 150MB (bigger map size and lots of 
players). Most of the time is spend compressing the file ...


   * new savegame format (use 'set saveversion -1' to get a savegame
   in the old format). A script to test the new format can be found at
   https://gna.org/patch/?1541. It converts a savegame between the
   different formats and compares them. There should only be
   differences in the event cache. Due to some processing while
   loading the game, there are also differences in the map.owner
   sections.

 What will happen on clients which don't support the new format (I
 assume everything up to 2.2.1)? Will they crash, or simply refuse to
 load the files?

old games will refuse to load the new save file due to a required capability 
(I hope '+version2' does this?!). If you want to use such a game with an old 
version you have to load it in 2.2.99+ and save it in the old format.


 I note from the ticket the formats are convertable, so will it be worth
 shipping the conversion scripts with newer versions of freeciv?
 kk

Converting is done by freeciv itself (set saveversion -1). The script is used 
to test if the converting is working (it takes one savegame and does some 
cycles of loading/saving in different formats [old/new] and compares the 
results).

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] Please test trunk!

2010-07-11 Thread Marko Lindqvist
On 11 July 2010 11:13, Matthias Pfafferodt matthias.pfaffer...@mapfa.de wrote:
 Am Sunday 11 July 2010 05:48:23 schrieb Karl Goetz:
 On Sat, 10 Jul 2010 13:46:29 +0200

 Matthias Pfafferodt matthias.pfaffer...@mapfa.de wrote:

   * new savegame format (use 'set saveversion -1' to get a savegame
   in the old format). A script to test the new format can be found at
   https://gna.org/patch/?1541. It converts a savegame between the
   different formats and compares them. There should only be
   differences in the event cache. Due to some processing while
   loading the game, there are also differences in the map.owner
   sections.

 What will happen on clients which don't support the new format (I
 assume everything up to 2.2.1)? Will they crash, or simply refuse to
 load the files?

 old games will refuse to load the new save file due to a required capability
 (I hope '+version2' does this?!). If you want to use such a game with an old
 version you have to load it in 2.2.99+ and save it in the old format.

 Just to clarify: This change was committed to trunk only, so first
release which it will be part of, is 2.3.0. Further bugfix releases
from S2_2 branch (2.2.x releases) will not have it.
 Also, this is not server / client compatibility thing, but server /
savegame compatibility thing. 2.2.x server / client will be
incompatible with 2.3.x server / client anyway.


 - ML

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] Please test trunk!

2010-07-11 Thread Matthias Pfafferodt
 
  old games will refuse to load the new save file due to a required
  capability (I hope '+version2' does this?!). If you want to use such a
  game with an old version you have to load it in 2.2.99+ and save it in
  the old format.

  Just to clarify: This change was committed to trunk only, so first
 release which it will be part of, is 2.3.0. Further bugfix releases
 from S2_2 branch (2.2.x releases) will not have it.
  Also, this is not server / client compatibility thing, but server /
 savegame compatibility thing. 2.2.x server / client will be
 incompatible with 2.3.x server / client anyway.


Sorry if I was not clear. The changes are only for trunk (will be 2.3.0). 
Thus, if you playing 2.2.x you will not see any of the above discussed 
changes.

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] Please test trunk!

2010-07-10 Thread Matthias Pfafferodt
Am Saturday 10 July 2010 13:10:28 schrieb Matthias Pfafferodt:
 Hello all developers of freeciv,

 today I submitted some big changes to trunk:

 * increase map size to 128.000 (max linear size 512)
 * increase max number of players to 28

should be 128!

 * new savegame format (use 'set saveversion -1' to get a savegame in the
 old format). A script to test the new format can be found at
 https://gna.org/patch/?1541. It converts a savegame between the different
 formats and compares them. There should only be differences in the event
 cache. Due to some processing while loading the game, there are also
 differences in the map.owner sections.

 On last change is WIP:

 * player slots as dynamically allocated data (+ diplstates + ai_data + ...)

 I do hope that this did not introduce bugs but let's see ...

 Matthias aka syntron

___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] Please test trunk!

2010-07-10 Thread Andreas Røsdal
Good work, Matthias. I like these improvements very much, and can give
trunk a test.

Andreas




 Hello all developers of freeciv,

 today I submitted some big changes to trunk:

 * increase map size to 128.000 (max linear size 512)
 * increase max number of players to 28
 * new savegame format (use 'set saveversion -1' to get a savegame in the
 old
 format). A script to test the new format can be found at
 https://gna.org/patch/?1541. It converts a savegame between the different
 formats and compares them. There should only be differences in the event
 cache. Due to some processing while loading the game, there are also
 differences in the map.owner sections.

 On last change is WIP:

 * player slots as dynamically allocated data (+ diplstates + ai_data +
 ...)

 I do hope that this did not introduce bugs but let's see ...

 Matthias aka syntron
 --
 Matthias Pfafferodt - http://www.mapfa.de
 Matthias.Pfafferodt at mapfa.de

 ___
 Freeciv-dev mailing list
 Freeciv-dev@gna.org
 https://mail.gna.org/listinfo/freeciv-dev




___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev


Re: [Freeciv-Dev] Please test trunk!

2010-07-10 Thread Karl Goetz
On Sat, 10 Jul 2010 13:46:29 +0200
Matthias Pfafferodt matthias.pfaffer...@mapfa.de wrote:

 Am Saturday 10 July 2010 13:10:28 schrieb Matthias Pfafferodt:
  Hello all developers of freeciv,
 
  today I submitted some big changes to trunk:
 
  * increase map size to 128.000 (max linear size 512)
  * increase max number of players to 28
 
 should be 128!

That will be a busy game!

  * new savegame format (use 'set saveversion -1' to get a savegame
  in the old format). A script to test the new format can be found at
  https://gna.org/patch/?1541. It converts a savegame between the
  different formats and compares them. There should only be
  differences in the event cache. Due to some processing while
  loading the game, there are also differences in the map.owner
  sections.

What will happen on clients which don't support the new format (I
assume everything up to 2.2.1)? Will they crash, or simply refuse to
load the files?

I note from the ticket the formats are convertable, so will it be worth
shipping the conversion scripts with newer versions of freeciv?
kk

-- 
Karl Goetz, (Kamping_Kaiser / VK5FOSS)
Debian contributor / gNewSense Maintainer
http://www.kgoetz.id.au
No, I won't join your social networking group


signature.asc
Description: PGP signature
___
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev