I tested it mostly on images from Logicow's Vapourware Platformer post, since they were for the most part already smzx-ready.
To use it, you'll probably want to open a command window and go to where you unzipped the converter.
Usage: png2smzx <pngfile> <filenamebase> [offset] pngfile: Filename to convert filenamebase: the base of the filename. if this were foo, foo.chr, foo.pal, and foo.mzm would be generated. offset: Offset into the charset, If you load the outputted charset as a partial charset, put the offset here and the output mzm file will be adjusted accordingly
If you are converting a non smzx-perfect image, you'll want to make sure it's a true color image, (not indexed) before you run it through the converter so that it will make sure each char has only 4 colors.
(Also when you run the converter on a truecolor image it generates imageresampled.png which is the image with each char containing 4 colors. This will exist even if the conversion to smzx failed)
Also, it shows a LOT of debug info, and perhaps some warnings from my awful code
Screenshots of MZX:
Whee! The PHP Logo
Logicow's guy with a sword
EDIT: SOURCE CODE!!!11OMG
EDIT: Also, use images that are small, it doesn't downsize them.
Attached File(s)
-
converter.zip (0bytes)
Number of downloads: 74
This post has been edited by Kurushimi: 21 January 2005 - 02:33 AM