SFX File Format

This file format is the same as the sounds.cc2 file format from CC2. Never did get all the details but here is what I know. The cc2hack tool works on these files as well (or at least plays them.. have not tried to replace a sound yet).  You can get the cc2hack tool by searching for it on GoD's links.

// Header (16 bytes)
int count;     // number of directory entires following this header
int unknown;
int pad1;
int pad2;

// Directory Entry (28 bytes per entry)
int length;    // length of clip in bytes ?
int offset;    // offset to sound data from start of file in bytes?
int u1;
int rate1;     // playback rate?
int rate2;     // ??
int u2;
int u3;