The .LH2 format is a string table used for localization. Strings are typically encoded in Windows-1252.
| Offset | Type | Name | Description |
|---|---|---|---|
| 0x00 | Char[4] | Magic | "2HCL" signature. |
| 0x04 | Byte[4] | Padding | Skipped. |
| 0x10 | UInt32 | EntryCount | Number of string IDs. |
| 0x14 | UInt32 | TableCount | Number of language tables (columns). |
The file uses a structure of offset arrays followed by string data. All offsets are absolute.
Located at 0x20.
UInt32.Located immediately after the ID Array.
UInt32 absolute offset to a null-terminated string.Strings are stored at the offsets pointed to by the matrix. Strings are null-terminated and typically use cp1252 encoding.