Difference between revisions of "STRG (Metroid Prime Demo)"
From Retro Modding Wiki
m (→Format) |
|||
Line 21: | Line 21: | ||
| u32 | | u32 | ||
| 4 | | 4 | ||
− | | '''String count''' | + | | '''String count''' (SC) |
|- | |- | ||
| 0x8 | | 0x8 | ||
| u32[] | | u32[] | ||
− | | | + | | 4 × SC |
| '''String offsets''' (relative to after size value) | | '''String offsets''' (relative to after size value) | ||
|- | |- |
Revision as of 11:48, 29 May 2015
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.
Contents
Format
There's not much to this format.
Offset | Type | Size | Description |
---|---|---|---|
0x0 | u32 | 4 | File size (includes itself) |
0x4 | u32 | 4 | String count (SC) |
0x8 | u32[] | 4 × SC | String offsets (relative to after size value) |
- | string[] | - | Strings - these are encoded as UTF-16 Unicode strings |