STRx
The string table of StarCraft: Remastered: the same as STR with 32-bit numbers,
so the table has no 64 KB limit. Only Remastered reads it, and only in a VER 64 or 206
file. There it reads every STR copy first and every STRx copy after, so a STRx wins
whatever the order in the file, and a map may have either table or both but not neither.
Its text is read string by string the way STR's is: UTF-8 when it is valid UTF-8, then
Korean, then Windows-1252. Editors write it as UTF-8.
| Name | STRx (53 54 52 78) |
|---|---|
| Size | Whatever the text needs. |
| Read by | StarCraft: Remastered only, every time it reads a VER 64 or 206 file. Older revisions' copies are never read, and 1.16.1 does not know it. |
| Required | In a VER 64 or 206 file, STR or STRx: without either the map list shows the map as Invalid Scenario. |
| The game accepts | Any length. A copy shorter than 4 bytes is passed over. |
| More than one copy | The last copy of 4 bytes or more replaces the others, and replaces STR whatever the file order. |
| In scmJS | Read, and written again when you change what it holds. |
Layout:
| Offset | Type | Holds |
|---|---|---|
| 0 | u32 | How many strings there are |
| 4 | u32 × that many | Where each string starts, counted from the start of the section |
| after the offsets | text | The strings, each ending in a 0 byte |