HDR

From FIFA Manager Modding Wiki
Jump to navigation Jump to search

HDR is a file extension in FIFA and FIFA Manager games, which is used for audio files. It works as a header for .DAT files.

Structure[edit | edit source]

FIFA Manager 07[edit | edit source]

UINT16  file id/type
INT16   entity ID (FIFA player ID for player comments), -1 if no ID assigned
UINT7   custom data size
UINT1   unknown
UINT8   number of sounds
UINT8   unknown
UINT8   offset multiplier
UINT16  offset to header block in .dat file
UINT16  unknown (0)
#FOR number of sounds
UINT16  sound offset in .dat file
UINT8[] custom data (for player commentary - sound flags: 0 - low tone, 1 - high tone)
#END FOR
UINT8[] 4-byte alignment
UINT32  flags (bitfield; for player commentary: 1 - file has low tone sounds, 2 - file has high tone sounds)

FIFA Manager 13[edit | edit source]

UINT16  file id/type
UINT7   custom data size
UINT1   unknown
UINT8   number of sounds
INT32   entity ID (FIFA player ID for player comments), -1 if no ID assigned
UINT8   unknown
UINT8   offset multiplier
UINT16  offset to header block in .dat file
UINT32  unknown (0)
#FOR number of sounds
UINT16  sound offset in .dat file
UINT8[] custom data (for player commentary - sound flags: 0 - low tone, 1 - high tone)
#END FOR
UINT8[] 4-byte alignment
UINT32  flags (bitfield; for player commentary: 1 - file has low tone sounds, 2 - file has high tone sounds)