Skip to content

gcnhax/yaz0-rs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

60 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

yaz0 - a Rust crate for de/compressing Nintendo Yaz0 ("SZS") files

Build Status codecov Crates.io Version

Yaz0 is Nintendo's version of Haruhiko Okumura's in/famous 1989 LZSS implementation. It's been continually used in first party titles, wrapping various other formats, since the N64 era.

2024 note: you might want to look into szs, by riidefi, which has much higher performance and a wide selection of compression methods, including emulations of compression methods used for specific games. It's not pure Rust, but it's unlikely that matters in any application you're using a SZS decompressor in.

tools

To install yaztool, a de/flating utility for yaz0 files, do

$ cargo install yaz0 --features=yaztool

licensing

All code in this repository is licensed under the MIT license; see LICENSE.