Audiobank.zres

From z64 wiki
Jump to: navigation, search

This page contains some notes on the structure of the Audiobank.zres file created when running Zelda Resource Extractor on the Debug ROM.

Beginning of file

Some sort of index. Contains two unknown 32-bit values (may be offsets to unknown structures), followed by a list of 32-bit offsets to Unknown_1 structures.

Unknown_1 structure

size example value meaning
32 bits 00 00 7F FB

00 00 7F BC

possibly a bit-field with flags
32 bits 00 00 2A 30 offset to structure Unknown_2
64 bits 00 00 00 00 00 00 00 00 Unknown, possibly padding
32 bits 00 00 01 80 offset to structure Unknown_3
32 bits 3F 30 66 66 Unknown
64 bits 00 00 00 00 00 00 00 00 Unknown, possibly padding

Unknown_2

Size: 16 bytes (128 bits) Example value: 00 01 7F BC 00 01 7F BC 7F BC 7F BC FF FF 00 00

Unknown_3

Size: 16 bytes

size example value meaning
32 bits 00 00 0A 8C Unknown
32 bits 00 03 EC E0 Unknown
32 bits 00 00 02 40 Offset to an Unknown_4 structure, which is usually (but not always) immediately after this Unknown_3.
32 bits 00 00 01 90 Offset to an Unknown_5 structure.

Unknown_4

size example value meaning
32 bits 00 00 00 00 Unknown
32 bits 00 00 12 C0 Unknown. Not an offset.
64 bits 00 00 00 00 00 00 00 00 Unknown

00 00 00 00 00 00 12 C0 00 00 00 00 00 00 00 00