Spore-Community/PNG-Decoder-Python

Does not support Adventures

Kade-N opened this issue · 0 comments

Adventures do not decode in this tool.

PNGs containing Adventures will have extra data in a separate chunk of the PNG. As far as I know, this decoder does not look for this extra data, and so it fails to decode the PNG (gzip decompression fails, due to unexpected end of file - because the proper "end of file" is located in this extra data).

The C# (.NET Core) decoder does have this feature, it can be used as a reference - see GetSporeSection, starting on line 142.

Note that the resulting XML file is not readable, and must be passed through a separate decoder to obtain adventure data. Here is an Adventure Decoder, written in Java.