nlzss

Nintendo LZSS compression algorithm


License
GPL-3.0
Install
pip install nlzss==0.4

Documentation

PyNLZSS

Python bindings for the Nintendo GBA/DS LZSS compression algorithm.

LZSS algorithm and C code from CUE's tools: http://www.romhacking.net/utilities/826/

Installation

pip install nlzss

Encode

>> import nzlss
>> nzlss.encode_file('in_file.txt', 'out_file.txt')

Decode

>> import nzlss
>> nzlss.decode_file(in_path='in_file.txt', out_path='out_file.txt')

That's it!