Data formats

Sappy 2006

 
Sappy 2006: Hacker Stuff

Data formats

Samples

TypeNameDescription
u16typeNot used
u16stat0x0000 for oneshot, 0x4000 for forward loop
u32freq"Normal" frequency << 10
u32loopLoop start position in samples
u32sizeTotal number of samples
s8data[]Size+1 samples in total. Last byte is zero for one-shots, same as loop pointer for looped samples.

Music headers

TypeNameDescription
u8NumTrksNumber of tracks in the song
u8NumBlksNumber of blocks (?)
u8Priority
u8Reverb
u32VoicegroupPointer to instrument bank
u32...TrackPointers to tracks