Skip to content
AxioDLPublic

About

Character Intermediate Representation Pipeline for GX/Flipper.

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

CHIRP

Character Intermediate Representation Pipeline for GX/Flipper.

CHIRB uses a single byte order for its numeric fields, including vertex attributes, primitive indices, offsets, and counts. The file API defaults to little-endian. Stream overloads use the stream's byte order. To select an order explicitly, pass a ChirpBinaryIOOptions with SetEndianness(athena::Endian::Big) or SetEndianness(athena::Endian::Little) to Import or Export. The CLI accepts --endian big|little. Supply the same byte order when reading the file.

FourCCs are four literal bytes. CTEX stores image and palette buffers verbatim. Use gx::ChirpTexture::ImportImage and ExportImage to convert between hardware-ready GX data and DDS (CMPR) or TGA (other formats). Packed image words and palette entries always use GX big-endian byte order for direct upload, independently of the CHIRB container.

CMPR export uses BC1 DDS when possible. If any mip contains a transparent texel with nonzero RGB, CHIRP writes the full mip chain as straight-alpha RGBA8 DDS to preserve those color channels. Import accepts both representations. Edited RGBA images are quantized to CMPR's RGB565 endpoints and one-bit alpha.

About

Character Intermediate Representation Pipeline for GX/Flipper.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages