14 breaking releases

0.19.0 Jul 23, 2024
0.18.0 Feb 26, 2024
0.17.0 May 8, 2023
0.16.0 Mar 8, 2023
0.10.1 Jul 24, 2021

#5 in #vec-string

MIT license

700KB
16K SLoC

ssbh_data Latest Version docs.rs

A higher level data access layer for some SSBH formats. ssbh_data provides a more intuitive and minimal API where possible. SSBH types like SsbhArray and SsbhString8 are replaced with their standard Rust equivalents of Vec and String. The decoding and encoding of binary buffers is handled automatically for formats like mesh and anim. Python bindings are available with ssbh_data_py.

Supported Formats

Format Supported Versions (major.minor) Read Save
Modl (.numdlb, .nusrcmdlb) 1.7 ✔️ ✔️
Mesh (.numshb) 1.8, 1.9, 1.10 ✔️ ✔️
Skel (.nusktb) 1.0 ✔️ ✔️
Anim (.nuanmb) 2.0, 2.1 ✔️ ✔️ (2.0 only)
Matl (.numatb) 1.5, 1.6 ✔️ ✔️
Hlpb (.nuhlpb) 1.1 ✔️ ✔️

ssbh_data also has support for Adj (.adjb) and MeshEx (.numshexb) files.

Dependencies

~8MB
~198K SLoC