Editor file format

BlitzMax Forums/BlitzMax Beginners Area/Editor file format

RetroRusty(Posted 2007) [#1]
I have just come across a map editor at http://www.mapeditor.org and wanted to know if someone could have a look at the file format to see how easy it would be to show a map in BMax. You can get the file format details on http://www.mapeditor.org/tutorial.html

Thanks


Torrente(Posted 2007) [#2]
Since the maps seem to be saved in XML, I'm sure they would be easy to parse using an XML module for BMax.


N(Posted 2007) [#3]
Yeah, easy enough to use. Just grab Brucey's libxml implementation and a Base64 decoder and you should be able to handle it. I think you might be able to use the pub.zlib module to decompress the then-decoded data, but I can't guarantee anything there as I can't remember any instance where I've worked with gzip specifically outside of a terminal.