Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Sign in to follow this  
Omegadox

BCT and CSW Files

Recommended Posts

These are apparently Table/Wave files for the Sound effects? in ZTP.

 

It is located inside the ZSC2Res ARC file, in a bin folder

 

CSW = Compressed Square Wave?

BCT = Binary CSW Table?

 

DWORD is defined as a big endian 32bit unsigned type

 

struct BCTFileHeader // The BCT File Header

{

DWORD num_sounds; //Number of sound effects

DWORD bits; //bits per sample

DWORD unknown; // ??

DWORD dummy; // ??

};

 

struct Sample

{

DWORD val0; // ??

DWORD val1; // ??

}

 

struct BCTFileData // The data of the file

{

Sample* samples = new Sample [num_sounds]; // Maybe this is samples?

DWORD* offsets = new DWORD [num_sounds];

std::string* names = new std::string [num_sounds];

};

Edited by Omegadox

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...