.gxt2

From GTAModding
Jump to: navigation, search

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