Skip to content

khm1600/CnCRemasteredLoc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Read the .loc files found in one of Command & Conquer Remastered Collection's .meg files.

The file format begins with a uint32 specifying the amount of entries, followed by a table of entry infos then entry content, finally entry ids which are strctured as follows:

// header
UInt32 entryCount;

// entry info
UInt32 unknown; // (The official map editor ignores this value)
UInt32 entryLength; // in characters
UInt32 entryIdLength; // in characters

// entry content
char[] entry; // UTF-16 LE (sometimes "Unicode" in Windows)

// entry ids (i.e. TEXT ID)
char[] id; // ASCII

All fields are little-endian

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages