EA Games LOC: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
(Created page with "== LOC == * ''' Game ''': Harry Potter and the Chamber of Secrets PS2 <br> * ''' Format Type ''': text File <br> * ''' [http://en.wikipedia.org/wiki/Endianness En...")
imported>Ikskoks
 
(39 intermediate revisions by the same user not shown)
Line 1: Line 1:
== LOC ==  
== LOC ==  
* ''' Game ''':    [[Harry Potter and the Chamber of Secrets PS2]] <br>
* ''' Format Type ''':    Text File <br>  
* ''' Format Type ''':    text File <br>  
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian <br>
* ''' [http://en.wikipedia.org/wiki/Endianness Endian Order] ''': Big Endian <br>
* ''' Signature ''':    LOCH <br>




Line 15: Line 15:


//HEADER
//HEADER
4 bytes - magic word "LOCH"
4 bytes - signature // "LOCH"
8 bytes - header size (LOCH block size)
8 bytes - header size (LOCH block size)
4 bytes - number of LOCH entries + 1
4 bytes - number of LOCH entries + 1
Line 21: Line 21:


//LOCL BLOCK
//LOCL BLOCK
4 bytes - magic word "LOCL"
4 bytes - signature // "LOCL"
8 bytes - LOCL block size
8 bytes - LOCL block size
4 bytes - number of LOCL entries + 1
4 bytes - number of LOCL entries + 1
Line 40: Line 40:
</pre>
</pre>


=== Games ===
List of games using this format:
* FIFA 2000 (PS1) (*.LOC)
* FIFA Street (PS2) (*.LOC)
* Harry Potter and the Chamber of Secrets (PS2) (*.LOC)
* Need for Speed Carbon: Own the City (*.LOC)
* Need for Speed: Porsche Unleashed (*.LOC)
* SSX Tricky (*.LOC)


=== Notes and Comments ===


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


Not written yet.
=== QuickBMS Script ===  
 
=== Notes and Comments ===  


None.
None.
Line 53: Line 60:


* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets%20(PS2)/Harry_Potter_ChofS_PS2_strings.loc_Tool.py Harry Potter ChofS PS2 strings.loc Tool]
* [https://github.com/bartlomiejduda/Tools/blob/master/NEW%20Tools/Harry%20Potter%20and%20the%20Chamber%20of%20Secrets%20(PS2)/Harry_Potter_ChofS_PS2_strings.loc_Tool.py Harry Potter ChofS PS2 strings.loc Tool]
* [https://cdn.discordapp.com/attachments/493153388847038494/1005672336927768756/N.F.S_Own_the_City.zip NFS Own The City Tools (by Luke/rabatini)]
* [https://github.com/GlitcherOG/SSX-Collection-Multitool SSX-Collection-Multitool]
<br/><br>
<br/><br>


Line 59: Line 68:
[[Category:Platform PS2|Harry Potter and the Chamber of Secrets PS2 LOC]]
[[Category:Platform PS2|Harry Potter and the Chamber of Secrets PS2 LOC]]
[[Category:CE None|Harry Potter and the Chamber of Secrets PS2 LOC]]
[[Category:CE None|Harry Potter and the Chamber of Secrets PS2 LOC]]
[[Category:Format_text | Type: Text]]
[[Category:Format_Text | Type: Text]]
[[Category:Extension_loc | Extension: loc]]
[[Category:Extension_loc | Extension: loc]]
[[Category:BMS_None | BMS: None]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]

Latest revision as of 18:50, 30 July 2023

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:

  • FIFA 2000 (PS1) (*.LOC)
  • FIFA Street (PS2) (*.LOC)
  • Harry Potter and the Chamber of Secrets (PS2) (*.LOC)
  • Need for Speed Carbon: Own the City (*.LOC)
  • Need for Speed: Porsche Unleashed (*.LOC)
  • SSX Tricky (*.LOC)

Notes and Comments

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

QuickBMS Script

None.

Compatible Programs