GithubHelp home page GithubHelp logo

clownacy / clownnemesis Goto Github PK

View Code? Open in Web Editor NEW
4.0 4.0 0.0 147 KB

Compressor and decompressor for the Nemesis file format.

License: BSD Zero Clause License

CMake 0.71% C 99.29%
ansi-c c89 c90 compression huffman-coding mega-drive run-length-encoding sega-genesis sega-mega-drive shannon-fano-algorithm sonic-the-hedgehog

clownnemesis's People

Contributors

clownacy avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

clownnemesis's Issues

Error with "decompression" by compressing specific file

Trying to compress a small file, it errors with "Could not decompress data", despite trying to compress the data. It works fine with other files I try, just this specific file doesn't work. It works fine with FW-KENSC, so I'm not sure why it doesn't work here.
index.zip
image

Sega-accurate compression should be padded to even length

Installing this compressor in my Sonic 2 disasm resulted in about a third of the Nemesis files not compressing identical to the original. I investigated a handful of the affected files, and the sole difference was that they were missing a single zero byte at the end. I would guess that Sega's original compressor inserted this extra byte if necessary to bring it to an even length.

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.