Does everything, no practical size limits, tested with up to 96x96 maps.
Very verbose error checking.
Spaghetti and meatballs code.
Also supports 16bit png heightmaps.
https://github.com/Beherith/springrts_smf_compiler
Download whole zip of the above repo, and launch pymapconv.exe
UI:
