STRG (Metroid Prime Demo)

From Retro Modding Wiki
Revision as of 17:47, 29 May 2015 by >Aruki (→‎Format)
Jump to navigation Jump to search

The STRG format that appears in the Metroid Prime kiosk demo is an extremely basic initial version of the format. It's a very simplistic format that only supports one language per file and doesn't even have a magic value or a version number.

Format

There's not much to this format.

Offset Type Size Description
0x0 u32 4 File size (includes itself)
0x4 u32 4 String count
0x8 u32[] - String offsets (relative to after size value)
- string[] - Strings - these are encoded as UTF-16 Unicode strings