forked from UnknownShadow200/RCTTechDepot-Archive
-
Notifications
You must be signed in to change notification settings - Fork 0
/
css1dat.html
96 lines (94 loc) · 2.99 KB
/
css1dat.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
<HTML>
<HEAD><TITLE>TD4 file format</TITLE></HEAD>
<BODY BGCOLOR="#ffffff" BACKGROUND="bkground.jpg">
<H1 ALIGN="Center">CSS1.DAT File Format</H1>
<H5> <BR><A HREF="index.html">Back to RCT home</A> </H5>
<P> The css1.dat file stores the sound effects used in the game. The
information here is based on information provided by Jonathon Wilson. The file
is a modified WAV List file. The header is as follows:</P>
<P><FONT COLOR="#008040">dword</FONT> : <FONT
COLOR="#FF0000">NumberOfSounds</FONT><BR>
<FONT COLOR="#008040">array</FONT>[1..NumberOfSounds] <FONT COLOR="#008040">of
dword</FONT> : <FONT COLOR="#FF0000">OffsetList</FONT> // list of offsets
within the file for the beginning of the data for each sound.<BR>
<FONT COLOR="#008040">dword</FONT> : <FONT COLOR="#FF0000">DataSize</FONT> //
size of sound data</P>
<P>This is followed by a "usual" wav header:</P>
<P><CODE>struct<BR>
{<BR>
<FONT COLOR="#008040">WORD</FONT> <FONT COLOR="#FF0000">wFormatTag</FONT>; //
Format category<BR>
<FONT COLOR="#008040"> WORD</FONT> <FONT COLOR="#FF0000">wChannels</FONT>; //
Number of channels<BR>
<FONT COLOR="#008040">DWORD</FONT> <FONT
COLOR="#FF0000">dwSamplesPerSec</FONT>; // Sampling rate<BR>
<FONT COLOR="#008040"> DWORD</FONT> <FONT
COLOR="#FF0000">dwAvgBytesPerSec</FONT>; // For buffer estimation <BR>
<FONT COLOR="#008040">WORD</FONT> <FONT COLOR="#FF0000">wBlockAlign</FONT>; //
Data block size<BR>
<FONT COLOR="#008040"> WORD</FONT> <FONT COLOR="#FF0000">wBitsPerSample</FONT>;
// bit size of each sample <BR>
}</CODE></P>
<P>The <FONT COLOR="#FF0000">wFormatTag</FONT> is "1" to indicate PCM
- no compression<BR>
<FONT COLOR="#FF0000"> wChannels</FONT> is "1" to indicate mono<BR>
<FONT COLOR="#FF0000">dwSamplesPerSec</FONT> is "22050"<BR>
<FONT COLOR="#FF0000">dwAvgBytesPerSec</FONT> is "44100"<BR>
<FONT COLOR="#FF0000"> wBlockAlign</FONT> is "2"<BR>
<FONT COLOR="#FF0000">wBitsPerSample</FONT> is "16"</P>
<P>Thus each DataChunk consists of wav data in PCM, 22050, mono, 16 bit format.
</P>
<P>The sounds are in the following order: </P>
<DL>
<DD>lift 1</DD>
<DD>straight running</DD>
<DD>lift 2</DD>
<DD>scream 1</DD>
<DD>click 1</DD>
<DD>click 2</DD>
<DD>place item</DD>
<DD>scream 2</DD>
<DD>scream 3</DD>
<DD>scream 4</DD>
<DD>scream 5</DD>
<DD>scream 6</DD>
<DD>lift 3</DD>
<DD>cash sound</DD>
<DD>crash</DD>
<DD>laying out water</DD>
<DD>water 1</DD>
<DD>water 2</DD>
<DD>train whistle</DD>
<DD>train chugging</DD>
<DD>water splash</DD>
<DD>hammering</DD>
<DD>ride launch 1</DD>
<DD>ride launch 2</DD>
<DD>cough 1</DD>
<DD>cough 2</DD>
<DD>cough 3</DD>
<DD>cough 4</DD>
<DD>rain 1</DD>
<DD>thunder 1</DD>
<DD> thunder 2</DD>
<DD>rain 2</DD>
<DD>rain 3</DD>
<DD>tink 1</DD>
<DD>tink 2</DD>
<DD>scream 7</DD>
<DD>toilet flush</DD>
<DD>click 3</DD>
<DD>quack</DD>
<DD>message sound</DD>
<DD>dialog box sound</DD>
<DD>person 1</DD>
<DD>person 2</DD>
<DD>person 3</DD>
<DD>clapping</DD>
<DD>haunted house 1</DD>
<DD>haunted house 2</DD>
</DL>
<P></P>
<P> </P>
</BODY>
</HTML>