CSMP (File Format)

The .csmp file format seen in Retro Studios games past Metroid Prime 2, it's very similar in use to AGSC and contains sound affects. Where CSMP differs is the fact that it only contains one sound and is broken up into obvious data chunks with easily identifiable sizes.

Header
What follows is the header found in Metroid Prime 3 and Donkey Kong Country Returns, Tropical Freeze's seems to be a bit different. The file can be read using a simple while loop, each chunk designates it's size

Chunk Types
The known values for each chunk are as follows:

NAME
This chunk just has a null-terminated string, it's the name of the contained sound data.

PAD
Padding, just seek ChunkSize bytes ahead

DATA
Refer to the DSP page for details.