#found #nintendo #algorithm #sword #skyward #nlzss11

nlzss11-zlib

Nintendo's LZSS algorithm found in Skyward Sword, compression with zlib-ng

1 stable release

1.0.0 Dec 26, 2022

#676 in Compression


Used in nlzss11

MIT license

675KB
12K SLoC

C 12K SLoC // 0.2% comments Rust 111 SLoC // 0.0% comments Shell 23 SLoC // 0.1% comments

nlzss11

Library for (de)compressing data according to the algorithm found in games like The Legend of Zelda: Skyward Sword

For this, there are 2 functions:

fn compress(data: &[u8]) -> Vec<u8>;
fn decompress(data: &[u8]) -> Result<Vec<u8>, DecompressError>;

No runtime deps