Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 446 Bytes

File metadata and controls

31 lines (19 loc) · 446 Bytes

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!