Module ssbh_lib::formats[][src]

Expand description

The supported binary formats for reading and writing. All the supported formats are SSBH formats except for adj and meshex.

Modules

adj
anim
hlpb
matl

The Matl format stores a collection of materials used for model rendering. These files typically use the “.numatb” suffix like “model.numatb”. The materials define some of the inputs for the specified shader and provide additional configuration over the rendering pipeline such as alpha blending settings. The materials in the Matl file are assigned to objects in the Mesh file by the Modl file.

mesh

The Mesh format stores the geometric data used for model rendering. These files typically use the “.numshb” suffix like “model.numshb”. This includes attribute data such as position and normals, vertex skinning, and bounding volume information. Mesh files are linked with Skel and Matl files using a Modl file.

meshex
modl
nrpd
nufx

The Nufx format stores data about the shader programs used for rendering. These files typically use the “.nufxlb” suffix like “nuc2effectlibrary.nufxlb”. Nufx files reference required attributes from Mesh files and required parameters from Matl files.

shdr
skel

The Skel format stores the model’s skeleton used for skeletal animations. These files typically use the “.nusktb” suffix like “model.nusktb”. Animations are often stored in Anim files that override the Skel file’s bone transforms. Skel files are linked with Mesh and Matl files using a Modl file.