Difference between revisions of "Sims 3:0x220557DA"
From SimsWiki
(→STBL Instance IDs) |
|||
Line 2: | Line 2: | ||
<hr/> | <hr/> | ||
==Overview== | ==Overview== | ||
− | A table of strings used | + | A table of strings used for localizing all strings displayed in The Sims 3. |
==STBL Instance IDs== | ==STBL Instance IDs== | ||
STBLs have an instance ID that begins with a 1 byte language identifier (for example 0x00 = English). A full list of Language codes can be found here: [[Sims3:Locales]] | STBLs have an instance ID that begins with a 1 byte language identifier (for example 0x00 = English). A full list of Language codes can be found here: [[Sims3:Locales]] | ||
+ | |||
+ | When strings are selected for localization, and multiple string tables with different instance IDs contain the same string definition, the string table with the lowest value in the low 4 bytes of the instance ID is selected to supply the string. For string tables with the same instance ID, normal package priorities apply. | ||
==Format== | ==Format== |
Revision as of 10:21, 3 August 2009
Sims 3:Main Page -> Sims 3:PackedFileTypes
Overview
A table of strings used for localizing all strings displayed in The Sims 3.
STBL Instance IDs
STBLs have an instance ID that begins with a 1 byte language identifier (for example 0x00 = English). A full list of Language codes can be found here: Sims3:Locales
When strings are selected for localization, and multiple string tables with different instance IDs contain the same string definition, the string table with the lowest value in the low 4 bytes of the instance ID is selected to supply the string. For string tables with the same instance ID, normal package priorities apply.
Format
DWORD // 'STBL' BYTE // version (2) BYTE[2] // null DWORD count BYTE[6] // null --repetition count: QWORD id // fnv64 hash of whatever text you want to localize to this DWORD len unicodeLE[len]