You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Jocelyn Beedie edited this page Feb 24, 2021
·
2 revisions
SGC is a separate file format used for storing cutscene voice lines.
structSGC {
SGCFilefiles[];
// padding to 0x4000chardata[]; // each file's data has padding between them to next multiple of 0x1000
}
SGC files are organized in alphabetical order.
Actual sound data is stored in Nintendo's DSP ADPCM format (on Gamecube).
structSGCFile {
charname[16];
uint32_tsample_rate;
uint32_tdata_position; // byte offset for the file's data. The first file will have an offset of 0x4000uint32_tdata_length;
uint32_tchannels; // Not actually sure what this is, but it's always 1, and all files are in mono :)uint16_tcoef[16]; // DSP coefficients
}
SGCFile contains a highly simplified DSP ADPCM header.