Sound Bank: Difference between revisions

Content added Content deleted
No edit summary
Line 6: Line 6:
|-
|-
! Offset
! Offset
! Length
! Name
! Type
! Type
! Value
! Description
! Details
! Notes
|-
|-
! colspan="5" | Header
| <tt>0x00 || <tt>0x04 || UInt32 || File magic (<code>BNKl</code>/<code>0x424E4B6C</code>) ||
|-
|-
| <tt>0x04 || <tt>0x01 || UInt32 || Version number ||
| 0x00 || File magic || UInt32 || (<code>BNKl</code>/<code>0x424E4B6C</code>) ||
|-
|-
| <tt>0x06 || <tt>0x01 || UInt32 || Number of sounds in archive ||
| 0x04 || Version number || UInt32 || <tt>0x05<tt> ||
|-
|-
| 0x06 || Number of sounds in archive || UInt32 || ||
| <tt>0x08 || <tt>0x04 || UInt32 || Header size in bytes/start offset of<br>1st sound in archive ||
|-
|-
| 0x08 || Header size in bytes/start offset of 1st sound in archive || UInt32 || ||
| <tt>0x0C || <tt>0x04 || UInt32 || Archive size in bytes (minus header) ||
|-
|-
| 0x0C || Archive size in bytes (minus header) || 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]]*[] ||
|}
|}