IGZ (File Format)

From Wexos's Wiki
Revision as of 19:06, 1 May 2024 by Wexos (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.

IGZ is a file format used in games developed by Vicarious Visions, such as Marvel Ultimate Alliance 2, Crash Bandicoot N. Sane Trilogy and Crash Team Racing Nitro-Fueled.

File Format

The file byte order is always little endian.

Header

Offset Type Description
0x00 Byte Unknown. Always 1. Probably part of the magic.
0x01 Char[3] File magic Always ZGI in ASCII.
0x04 UInt32 File version.
0x08 UInt32 Unknown. Probably a hash.
0x0C UInt32 Unknown.
0x10 UInt32 Number of data blocks.
0x14 UInt32 Unknown.
0x18 UInt32 Possible first block offset.
0x1C UInt32 Unknown.
0x20 UInt32 Same as 0x18.
0x24 UInt32 Unknown.
0x28 UInt32 Offset to mesh structure?
0x2C UInt32 Unknown.
0x30 UInt32 Unknown.
0x34 UInt32 Unknown.
0x38 UInt32 Buffer data offset.
0x3C UInt32 Buffer data offset.
0x40 UInt32 Unknown.

After the header there are many null bytes, and at 0x224, there are two strings following each other. How this data is handled is unknown.

Block Header

Each block starts with the following header:

Offset Type Description
0x00 Char[4] Section magic.
0x04 UInt32 Number of entries stored in the section.
0x08 UInt32 Size of this section in bytes.
0x0C UInt32 Size of this section header in bytes.

TDEP

The TDEP section stores unknown pair strings.

TSTR

The TSTR section stores unknown strings.

TMET

The TMET section stores unknown strings.

MTSZ

The MTSZ section stores unknown data. Each entry consists of a UInt32.

EXID

The EXID section stores unknown data. Each entry has the following structure:

Offset Type Description
0x00 UInt32 Unknown.
0x04 UInt32 Unknown.

EXNM

The EXNM section stores unknown data. Each entry has the following structure:

Offset Type Description
0x00 UInt32 Unknown.
0x04 UInt32 Unknown.

RVTB

The RVTB section stores unknown data. Each entry consists of a byte.

RSTT

The RSTT section stores unknown data. Each entry consists of a byte.

ROFS

The ROFS section stores unknown data. Each entry consists of a byte.

RPID

The RPID section stores unknown data. Each entry consists of a byte.

REXT

RHND

The RHND section stores unknown data. Each entry has the following structure:

Offset Type Description
0x00 UInt32 Unknown.
0x04 UInt32 Unknown.

ROOT

The ROOT section stores unknown data. Each entry consists of a UInt32.

ONAM

The ONAM section stores unknown data. Each entry consists of a UInt32.

Tools

The following tools can handle IGZ files:

  • (none)