Template:NX String Table: Difference between revisions
From Wexos's Wiki
Jump to navigationJump to search
(Imported from avsys wiki) |
(No difference)
|
Latest revision as of 17:55, 1 May 2024
The string table is a table where all strings are stored. Each string has first the length written, which is a 16-bit integer, and then the string is stored as a null-terminated string. The string length does not include the null byte, and the 16-bit string length value is always aligned by 2. The string sorting algorithm is unknown.
| Offset | Type | Description |
|---|---|---|
| 0x00 | Char[4] | Section magic. Always _STR in ASCII. |
| 0x04 | UInt32 | Next section offset. |
| 0x08 | UInt32 | Size of this section in bytes. |
| 0x0C | Byte[4] | Reserved. |
| 0x10 | Int32 | Number of strings stored in the string table. The first string is always an empty string ("") and is not included in this count. |