Sound Bank: Difference between revisions
no edit summary
AcuteSyntax (talk | contribs) m (AcuteSyntax moved page EA Sound Container to Sound Data Table) |
AcuteSyntax (talk | contribs) No edit summary |
||
Line 2:
= Layout =
== SDT ==
{|class="wikitable"
|-
Line 11:
! Details
|-
| <tt>0x00 || <tt>0x04 || UInt32 || File magic (<
|-
| <tt>
|-
| <tt>0x06 || <tt>0x01 || UInt32 || Number of sounds in archive ||
|-
| <tt>0x08 || <tt>0x04 || UInt32 || Header size in bytes/start offset of<br>1st sound in archive ||
|-
| <tt>0x0C || <tt>0x04 || UInt32 || Archive size in bytes (minus header) ||
|-
| <tt>0x14 || <tt>0x04 || UInt32 ||
|-
|}
== PT Header (WIP) ==
SDT contains metadata headers, each <tt>0x20</tt> in length, for each sound in the archive. The metadata in question consists of a given sound's sample rate, compression, start offset, etc.
{|class="wikitable"
|-
! Offset
! Length
! Type
! Description
! Details
|-
| <tt>0x00 || <tt>0x04 || UInt32 || Header ID (<code>PT/0/0</code>/<code>0x50540A00</code>) ||
|-
| <tt>
|}
|