Hitman 2 SND

From XentaxWiki
Revision as of 18:34, 26 April 2016 by Tgp1994 (talk | contribs) (Moving to new category.)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SND

  • Format Type : data file (extracted from ZIP file)
  • Endian Order : Little Endian

Format Specifications

header

uint32 {4}   - address of Index
uint32 {4}   - file Size (with header)
uint32 {4}   - Unknown
uint32 {4}   - Unknown

Index

uint32 {4}   - number of records in section 0x01
uint32 {4}   - number of records in section 0x02
uint32 {4}   - number of records in section 0x03
uint32 {4}   - number of records in section 0x04
uint32 {4}   - number of records in section 0x05
uint32 {4}   - number of records in section 0x10
uint32 {4}   - address (S#B) to list of address for record type 0x01
uint32 {4}   - address (S#B) to list of address for record type 0x02
uint32 {4}   - address (S#B) to list of address for record type 0x03
uint32 {4}   - address (S#B) to list of address for record type 0x04
uint32 {4}   - address (S#B) to list of address for record type 0x05
uint32 {4}   - address (S#B) to list of address for record type 0x10

Address S#B

{ repeat for number of records in section
uint32 {4}   - address of record
}

Address S#A

char {X}     - string
byte {1}     - null terminator, 0x00

record type 0x01, filenames

uint32 {4}   - record type ident 0x01
uint32 {4}   - address of filename (S#A)
uint32 {4}   - address of file details in WHD (record type 0x06)
uint32 {4}   - Unknown

record type 0x02, short names

uint32 {4}   - record type ident 0x02
uint32 {4}   - address of short name (S#A)
uint32 {4}   - address of main 0x01 record
float {4}    - Unknown, sound attributes?
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown

record type 0x03, groups

uint32 {4}   - record type ident 0x03
uint32 {4}   - address of group name (S#A)
uint32 {4}   - Unknown
uint32 {4}   - number of files in this group (NFG)
uint32 {4}   - start address (S#C) of addresses of sub-sounds

Address S#C

{ repeat NFG times
uint32 {4}   - address of sub-sounds, i.e. 0x02 records
}

record type 0x04, short names

uint32 {4}   - record type ident 0x04
uint32 {4}   - address of short name (S#A)

record type 0x05, interactions

uint32 {4}   - record type ident 0x05
uint32 {4}   - address of interaction name (S#A)
uint32 {4}   - address of record, type 0x03 - group
uint32 {4}   - address of record, type 0x04 – short name
uint32 {4}   - address of record, type 0x04 – short name

record type 0x10, area sounds

uint32 {4}   - record type ident 0x10
uint32 {4}   - address of interaction name (S#A)
uint32 {4}   - Unknown
float {4}    - Unknown
float {4}    - Unknown
int32 {4}    - Unknown
int32 {4}    - Unknown
int32 {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
int32 {4}    - Unknown
float {4}    - Unknown
int32 {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
float {4}    - Unknown
int32 {4}    - Unknown
int32 {4}    - Unknown


MultiEx BMS Script

Not written yet

Notes and Comments

Sound indexing data

Compatible Programs

None yet