Skip to content
_nebula edited this page Oct 26, 2024 · 5 revisions

LH2 - LocoHasho2

This file holds translation data.

File Format

struct EARS::Locale::LocoHasho2_File
{
  EARS::Locale::LocoHasho2_Header m_Hdr;
  // Followed by hashes and strings, pointed to by the header.
};

struct EARS::Locale::LocoHasho2_Header
{
  unsigned int m_uChunkID; // Magic "2HCL"
  unsigned int m_uFileSizeBytes;
  unsigned int m_uVersion;
  unsigned int m_uReserved;
  unsigned int m_uNumStrings;
  unsigned int m_uNumLanguages;
  const unsigned int *m_pauHashIDs; // Only set when file is loaded. Points to the list of string hash IDs.
  const unsigned int *m_pauOffsets; // Only set when file is loaded. Points to the list of strings in the current langauge.
};

Clone this wiki locally