GTA Series GXT

From XentaxWiki
Jump to navigation Jump to search

GXT


Format Specifications (GTA San Andreas)

ARCHIVE HEADER

uint16 {2}   - Unknown (4)
uint16 {2}   - Unknown (8)
char {4}     - Table Header (TABL)
uint32 {4}   - Length Of Table Data


TABLE DATA

// for each group
uint64 {8}   - Group name (null)
uint32 {4}   - Offset to Group TKEY


GROUPS

// for each group


// THIS FIELD IS OPTIONAL
uint64 {8}   - Group Name (Same as in the TABLE DATA)


char {4}     - TKEY Header (TKEY)
uint32 {4}   - Length Of TKEY Data


TKEY DATA
// for each file in this group
uint32 {4}   - File Offset (relative to TDAT DATA)
uint32 {4}   - Hash?



char {4}     - TDAT header (TDAT)
uint32 {4}   - Length of TDAT Data


TDAT DATA
// for each file
char {X}     - File Data (a null-terminated string)

Format Specifications (GTA 2)

//header
4 bytes (char) - signature //e.g. "GBLE" - English
                                  "GBLF" - French
                                  "GBLG" - German
                                  "GBLI" - Italian
                                  "GBLS" - Spanish
                                  "GBLJ" - Japanese
2 bytes (uint16) - version  // always 100

// TKEY block
4 bytes (char) - signature // "TKEY"


// TODO

MultiEx BMS

Not written yet

Notes and Comments

  • This format holds the language strings used for mission dialogs, place names, etc. Each file is thus a null-terminated string
  • Note that the order of the files in the TKEY directories is different to the order of the files in the related TDAT section

Games

List of games using this format:

  • GTA 2 (*.GXT) (PC)
  • GTA San Andreas

Supported Programs

See Also