• Login
  • Register
  • Dolphin Forums
  • Home
  • FAQ
  • Download
  • Wiki
  • Code


Dolphin, the GameCube and Wii emulator - Forums › Dolphin Site › Old Game Discussion (Archive) v
« Previous 1 ... 122 123 124 125 126

BCT and CSW Files
View New Posts | View Today's Posts

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Thread Modes
BCT and CSW Files
03-15-2009, 03:11 PM
#1
omegadox Offline
Senior Member
****
Posts: 401
Threads: 17
Joined: Mar 2009
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:Confusedtring* names = new std:Confusedtring [num_sounds];
};
:: System Specs ::
Operating System: Windows 7 Professional x64
Video Card: ATI Radeon HD 5770
CPU: AMD Phenom I X4 9550
RAM: 6GB DDR2
EXP Index: 999999.999999
Find
« Next Oldest | Next Newest »


  • View a Printable Version
  • Subscribe to this thread
Forum Jump:


Users browsing this thread: 1 Guest(s)



Powered By MyBB | Theme by Fragma

Linear Mode
Threaded Mode