===== WHAT? ===== MaD Parser is a Drag & Drop PNG Metadata parser for Mutilate-a-Doll 2 (MaD2) item files. Included is a collection of item models made for MaD2 using a custom item editor (MaD Lab). I don't know if they're useful to anyone, but figured I might as well release them instead of letting them sit in a folder somewhere. ==== HOW? ==== Download any of the item files and load them to test the parser, or use MaD Lab, the item editor for MaD2, to create your own: http://www.kongregate.com/forums/9794-mutilate-a-doll-2/topics/507585 ==== WHO? ==== Author of MaD2, MaD Lab, and MaD Parser @dashrava http://www.dashrava.com Base64 and parser info http://blog.calyptus.eu/seb/2009/05/png-parser-in-javascript/ File Drag&Drop @craigbuckler http://www.sitepoint.com/html5-file-drag-and-drop/ ========= TECHNICAL ========= The .PNG files contain all the item information in a (badly) serialised format inside the metadata. Here's a writeup I did on MaD Lab and PNG saving a while back: http://www.reddit.com/r/gamedev/comments/1u7ru2/saving_in_png_metadata/ ===== NOTES ===== All the item polygons are convex and the vertices are CCW. Some of the properties (such as Centre) were added to the editor later on so it may throw undefined on older items, and some are there just in case I ever implement them properly (such as Creator.) ======= LICENSE ======= This work is licensed under the Creative Commons Attribution 4.0 International License. To view a copy of this license, visit http://creativecommons.org/licenses/by/4.0/deed.en_GB.