Skip to content

Does not support Adventures #2

Description

@Kade-N

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.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions