XML -> LMAP converter

by Mabsy

Back to Mechanic's Corner.

Mabsy2011-09-13 02:49:55
This is a little project I threw together to parse XML map files using the MMP specification. The parser takes these files and converts them into an LMAP file usable by the mudbot mapper. Currently it has no support for special exits or any features outside of the MMP specification. It also has no way of knowing if an environment is underwater or requires swimming. This can easily be changed in the first section of the LMAP file. The generated LMap file does not contain any special movement messages either, so any desired will need to be manually added. Feel free to ask questions or provide me with feedback.

List of a few features:
Keeps vnums as is.
Uses coordinates to make well-formated maps.
Outputs any problem exit links.

Instructions:
Download Parser: http://www.filedropper.com/map-parser (make sure to click the 'Download This File' button and not any others)
Acquire an XML map file. IRE publishes theirs here: http://www.lusternia.com/maps/map.xml
Stick XML file in parser directory
Run parser, enter filename
Use LMap (May have to rename from IMAP to LMAP)
???
Profit

Anyone can feel free to upload their own parsed map. I'm just running low on attachment space and so I chose not to.

Feel free to throw credits at me, as well.