Sound Bank: Difference between revisions
Content added Content deleted
AcuteSyntax (talk | contribs) No edit summary |
AcuteSyntax (talk | contribs) (→SDT) |
||
Line 6: | Line 6: | ||
|- |
|- |
||
! Offset |
! Offset |
||
! |
! Name |
||
! Type |
! Type |
||
! Value |
|||
! Description |
|||
! |
! Notes |
||
|- |
|- |
||
! colspan="5" | Header |
|||
| <tt>0x00 || <tt>0x04 || UInt32 || File magic (<code>BNKl</code>/<code>0x424E4B6C</code>) || |
|||
|- |
|- |
||
| |
| 0x00 || File magic || UInt32 || (<code>BNKl</code>/<code>0x424E4B6C</code>) || |
||
|- |
|- |
||
| |
| 0x04 || Version number || UInt32 || <tt>0x05<tt> || |
||
|- |
|- |
||
| 0x06 || Number of sounds in archive || UInt32 || || |
|||
⚫ | |||
|- |
|- |
||
⚫ | |||
⚫ | |||
|- |
|- |
||
⚫ | |||
| <tt>0x14 || <tt>0x04 || UInt32 || PT headers pointer table size in bytes || The table itself also starts at this offset. |
|||
|- |
|- |
||
! colspan="5" | PT Header Array |
|||
|- |
|||
| 0x14 || Array size in bytes || UInt32 || || |
|||
|- |
|||
| 0x18 || PT header offsets || [[Sound_Data_Table#PT_Header_(WIP)|PT Header]]*[] || |
|||
|} |
|} |
||
Revision as of 00:55, 8 March 2021
An audio container format developed by Electronic Arts and used exclusively by Burnout's PlayStation Portable releases. It uses the extension .SDT
.
Layout
SDT
Offset | Name | Type | Value | Notes |
---|---|---|---|---|
Header | ||||
0x00 | File magic | UInt32 | (BNKl /0x424E4B6C ) |
|
0x04 | Version number | UInt32 | 0x05 | |
0x06 | Number of sounds in archive | UInt32 | ||
0x08 | Header size in bytes/start offset of 1st sound in archive | UInt32 | ||
0x0C | Archive size in bytes (minus header) | UInt32 | ||
PT Header Array | ||||
0x14 | Array size in bytes | UInt32 | ||
0x18 | PT header offsets | PT Header*[] |
PT Header (WIP)
SDT contains metadata headers, each 0x20 in length, for each sound in the archive. The metadata in question consists of a given sound's sample rate, compression, start offset, etc.
Offset | Length | Type | Description | Details |
---|---|---|---|---|
0x00 | 0x04 | UInt32 | Header ID (PT/0/0 /0x50540A00 ) |
|
0x18 | 0x04 | UInt32 | Audio start offset | Uses big-endian byte order. |