Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not support Adventures #2

Open
Kade-N opened this issue Feb 10, 2020 · 0 comments
Open

Does not support Adventures #2

Kade-N opened this issue Feb 10, 2020 · 0 comments

Comments

@Kade-N
Copy link
Member

Kade-N commented Feb 10, 2020

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant