Formats/Common:LOC

Loc File (Language Files)

Overview

An LOC file contains most text used in the game

LOCH

???

LOCT

???

LOCL (Text Entries)

File Header

Type  Description
Byte[4] Magic Word
UInt32 Size
UInt32 Padding
UInt32 Entry Count

Entries

| Int32  | Padding      |                 |

| Int32  | Entry Count     |                 |

Type Description
UInt32 Text Offset

Text

Type Description
C String Unicode Text (Null Terminated String)