EA Games LOC: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
Line 49: Line 49:


* File format used for storing localization data in some older EA games.
* File format used for storing localization data in some older EA games.
=== QuickBMS Script ===
None.


=== Compatible Programs ===  
=== Compatible Programs ===  

Revision as of 21:29, 13 November 2022

LOC

  • Format Type : Text File
  • Endian Order : Big Endian
  • Signature : LOCH


Format Specifications

// Harry Potter and the Chamber of Secrets (PS2)
// strings.loc file format



//HEADER
4 bytes - signature // "LOCH"
8 bytes - header size (LOCH block size)
4 bytes - number of LOCH entries + 1
4 bytes - LOCH size

//LOCL BLOCK
4 bytes - signature // "LOCL"
8 bytes - LOCL block size
4 bytes - number of LOCL entries + 1
4 bytes - data start offset


//LOCL offset table
number_of_LOCL_entries *
{
   4 bytes - text offset
}

//TEXT DATA
number_of_LOCL_entries *
{
  x bytes - string
}

Games

List of games using this format:

  • Harry Potter and the Chamber of Secrets (PS2) (*.LOC)
  • Need for Speed Carbon: Own the City (*.LOC)
  • Need for Speed: Porsche Unleashed (*.LOC)

Notes and Comments

  • File format used for storing localization data in some older EA games.

QuickBMS Script

None.


Compatible Programs