[Supertux-Devel] OLPC-Supertux

Matthias Braun matze at braunis.de
Fri Oct 26 18:22:32 PDT 2007


Am Freitag, den 26.10.2007, 23:38 +0200 schrieb Ondřej Hošek:
> On 10/21/07, Ian Daniher <it.daniher at gmail.com> wrote:

...

> * SuperTux doesn't "fit in". It happily does what pretty much any
> other computer game would do -- creates file structures to store
> everything, communicates with the user using the alphabet and
> functions in a self-contained environment. This creates issues with
> the OLPC philosophy where serialized blobs replace file structures,
> images convey absolutely all information and all programs (sorry,
> "activities") create serialized blobs to store the user's progress and
> make it possible to easily and transparently upload these to a server
> for backup. [This can theoretically be worked around by tar-gz-ing the
> save files before having them serialized and unpacking them after
> deserialization again. Saving would happen anytime SuperTux quits
> gracefully and/or loses focus (perhaps implement SIGHUP to mean
> "please dump state"?); loading anytime it is started. Such a method
> will require lots of code, though.]
At least this sounds like something you can easily handle with some
physfs mounting. Or has the complete game state to be saved to a single
file? Just saving in a specific dir/with specific filenames should be
straightforward.

Greetings,
	Matze




More information about the Supertux-Devel mailing list