Format Strategy

Format Extension Build-time tool Runtime loader Notes
PVR texture .pvr sh-texconv (BUILD) sh_tex_load() VQ, twiddled, paletted, mipmapped. Direct DMA to VRAM.
KMG texture .kmg (KOS ecosystem) sh_tex_load_kmg() KOS Memory Graphic. Header + raw PVR data.
Shachi mesh .shm sh-meshconv (BUILD) sh_mesh_load() Pre-stripped, pre-sorted by list type (OP/PT/TR).
AFS archive .afs AFSPacker (USE) sh_afs_open() Streaming archive for audio/data.
ADX audio .adx ffmpeg (USE) sh_adx_decode() CRI codec. SH4 SW decode ~1-3% CPU.