Difference between revisions of "GXT2"

From GTAMods Wiki
Jump to navigation Jump to search
(Created page with "{{Incomplete}} '''GXT2''' is a new text format used in GTA 5 and files are usually located in <code>\x64b.rpf\data\lang\</code> and <code>\update\update.rpf\x64\data\lang</co...")
 
Line 6: Line 6:
 
== File format ==
 
== File format ==
 
{{Incomplete}}
 
{{Incomplete}}
 
+
0x00 - "2TXG" - Header (32bit byte swapped)
 
+
0x04 - Number of entries (32bit byte swapped)
 +
0x08 - Hashed name (32bit byte swapped)
 +
0x0C - Hashed name's entries' offset (32bit byte swapped)
 +
...
 +
Second "2TXG" - Header - end of name block  (32bit byte swapped)
 +
4-bytes following second "2TXG" - End of file offset (32bit byte swapped)
 +
Start of entries
 +
Names are hashed using [[Cryptography#One_At_A_Time_Hash|One At A Time Hash]]
 +
==Tools==
 +
{|
 +
| <center>{{Icon|V}}</center> || [[OpenIV]] - Inbuilt GXT2 file viewer/editor
 +
|}
 
{{N|V}}
 
{{N|V}}
 
[[Category:File Formats]]
 
[[Category:File Formats]]

Revision as of 01:16, 18 January 2016

This section is incomplete. You can help by fixing and expanding it.

GXT2 is a new text format used in GTA 5 and files are usually located in \x64b.rpf\data\lang\ and \update\update.rpf\x64\data\lang. Previous analogue of this format used in the past GTA Series is GXT.


File format

This section is incomplete. You can help by fixing and expanding it.

0x00 - "2TXG" - Header (32bit byte swapped)
0x04 - Number of entries (32bit byte swapped)
0x08 - Hashed name (32bit byte swapped)
0x0C - Hashed name's entries' offset (32bit byte swapped)
...
Second "2TXG" - Header - end of name block  (32bit byte swapped)
4-bytes following second "2TXG" - End of file offset (32bit byte swapped)
Start of entries

Names are hashed using One At A Time Hash

Tools

GTA V
OpenIV - Inbuilt GXT2 file viewer/editor