GithubHelp home page GithubHelp logo

nlzss's Introduction

Nintendo LZ compression

This is a collection of tools for compressing and decompressing Nintendo's LZSS formats, found in games such as Pokémon. MIT licensed.

Supports: (Python 3)

  • LZ10 (compression and decompression)
  • LZ11 (compression and decompression)
  • overlays (decompression only)

Python 2 support is less complete:

  • LZ10 (decompression only)
  • overlays (decompression only)

Note: Names are pretty inconsistent. I variously refer the compression algorithm as LZSS, LZSS10, LZ10 and NLZ10.

Files

  • lzss3.py - LZ decompression routines for Python 3. Can used as a module or a standalone script.
  • compress.py - LZ compression routines for Python 3. Should be merged into lzss3.py. Command-line interface is spotty.
  • verify.py - Script i threw together while trying to debug LZ11 compression. Should be merged into lzss3.py. Python 3.
  • lzss.py - Incomplete LZ decompression routines for Python 2. Only supports LZ10.
  • armdecomp.py - Command-line tool for decompressing overlays or arm9.bin. Python 2 version.
  • armdecomp3.py - Command-line tool for decompressing overlays or arm9.bin. Python 3 version. About twice as fast as the Python 2 version. The code has already been merged into lzss3.py, so this file isn't really needed.
  • test_lzss3.py - Tests for lzss3.py and compress.py.

nlzss's People

Contributors

magical avatar

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.