Giter Club home page Giter Club logo

png-decoder-python's People

Contributors

kade-n avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

alyphoenix

png-decoder-python's Issues

Overcomplex creations do not decode

Some overcomplex creations fail to decode.

I'm not sure of the exact reason for this. It fails during the gzip decompression.

I've heard that this could be because Spore doesn't save all the required data in the PNG file, for creations that are well beyond the complexity limits. Therefore, it would not be possible to decode, as the data isn't even present in the PNG file.

More information is needed, before we can figure out how to fix this issue, or if it's even possible.

Does not work with Python 3

This decoder only works with Python 2.

I'm not very familiar with Python, and therefore am not completely sure how to update it to work on newer Python versions. If anyone wants to take on the task, let me know!

My own focus is on the C# (.NET Core) decoder, but some people do prefer Python, so it would certainly be of help to those who want to play around with the PNGs.

Does not support Adventures

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.