run from extracted EF2000 or F22 PROGRAM directory
converts all TM files of the game to PNGs in the subdirectory !converted
after editing the PNGs, run again to convert them back to TMs
The last modification time is used to determine whether PNG or TM is newer, i.e. you can run this program again and again to “synchronize” your work with the game.
Errors are spit out to stderr. Invalid files are skipped.
Currently limited to Windows because that has a built-in PNG encoder/decoder (GDI+).
The program closes directly after processing, but then you can’t see potential error messages. So it should be started from a console instead. Room for improvement in a future version 🤔