UINF (File Format)

From Retro Modding Wiki
Jump to navigation Jump to search

The UINF format sets up the global game universe. The extension stands for Universe Info.

Format

Offset Type Count Name Notes
0x0 Form Descriptor 1 UINF Form Descriptor Data type is UINF
0x20 Asset ID (MSBT) 1 Level Names MSBT Reference to the MSBT file containing all level names.
0x30 Asset ID (MSBT) 1 Act Number Strings MSBT Reference to the MSBT file containing all act number strings.
0x40 Asset ID (CAUD) 1 Loading Screen Music CAUD Reference to the CAUD file containing the loading screen music.
0x50 Area Info Varies Area Info Array Array describing all areas/levels in the game. There is no count; read until you reach the end of the UINF form.

Area Info

Type Count Name Notes
Chunk Descriptor 1 ROOM Descriptor Data type is ROOM
Asset ID (ROOM) 1 ROOM ID Asset ID of the ROOM asset for this area
u32 1 Area Name Length Length of the area name string
char Area Name Length Area Name Internal area name. This is probably used for name lookups in the MSBT file and might also be used to look up the pak file for this area.
u8 1 World Number World number that this level belongs to. (1 = Mangroves, 2 = Alps, 3 = Savannah, etc)
u8 1 Act Number Act number of this level.
u8 1 Unknown
u16 1 Unknown
u32 1 Unknown
u32 1 Unknown
u32 1 Unknown
u32 1 Unknown
u32 1 Unknown