EasyRPG editor will import RPG Maker 2000 and 2003 games (LDB, LMU, LMT file formats) but the saving format will not be the same. We need a new format for a better experience.
What kind of file format should be the most appropiate?
XML using TinyXml: Small C++ XML parser library, minimal (no DTD), converts XML into C++ objects and vice-versa. UTF-8 support, of course (note: wxWidgets have XML support inside, tinyXML would be for the player).
Pros: Easy to read files, widely used and familiar format.
Cons: Maybe slower to parse than binary formats.
Google Protocol Buffers (protobuf). Serialization library thinking on portability and efficiency, RPC.
Pros: Maybe faster, powerful object serialization.
Cons: You need to compile .proto files.
Boost serialize. Like protobuf.
Pros: Like protobuf.
Cons: Big dependence, hard to read without specific software.
Own chunk based extensive format. New format made by hand.
Cons: Hard to design and maintain, hard to read without own software.
I prefer the XML format, the parsing time is not very slow because RPG data is not really extensive for each map and event. What do you think?