[Scummvm-devel] ScummVM binary size comparison

Vicent Marti tanoku at gmail.com
Wed Nov 12 11:19:40 CET 2008

Hey all,

you are right Max, I'm willing to start working on the new theme
format asap, although there are a few things we should consider first.
Mainly, on which language should we write the theme parsing tool? I
was thinking about Python (again, nothing related with my zealotry),
just because it already comes with batteries i.e. good XML parsing
libraries. C++ is obviously also an option, but we would have to add
libXML as a dependency, which is not really cool.

Also, regarding the external validation, I only have experience with
DTD, but RelaxNG's syntax does look much cleaner. Should we stick with
the latter? There are also a couple other considerations regarding the
binary format itself, I'll discuss them later.

Does anybody else have any insightful input?


Vicent Martí

On Wed, Nov 12, 2008 at 11:00 AM, Max Horn <max at quendi.de> wrote:
> Hi there,
> Just to give a small update on this: We are considering removing the
> XML parser altogether, and instead using an external tool to convert
> the theme XML (and later, the virtual keyboard XML) into a binary
> format, which would be a lot more compact than XML, and even could
> contain image data. Validation of the XML would be done externally,
> too (using DTD / XML Scheme / RelaxNG). This would probably cut
> 50-100k from the current code size. The binary theme like would have
> to be regenerated for new releases.
> My hope is that Tanoku is willing to work on this (I'd be happy to
> provide some assistance, too), but maybe others are also interested --
> if so, please talk to us :)
> Bye,
> Max
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Scummvm-devel mailing list
> Scummvm-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scummvm-devel

More information about the Scummvm-devel mailing list