Difference between revisions of "STRG (Metroid Prime Demo)"

From Retro Modding Wiki
Jump to: navigation, search
(Created page with "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 la...")
 
m (Format)
Line 26: Line 26:
 
| u32[]
 
| u32[]
 
| -
 
| -
| '''String offsets'''
+
| '''String offsets''' (relative to after size value)
 
|-
 
|-
 
| -
 
| -

Revision as of 12:47, 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
0x8 u32[] - String offsets (relative to after size value)
- string[] - Strings - these are encoded as UTF-16 Unicode strings