GTA Series GXT: Difference between revisions

From XentaxWiki
Jump to navigation Jump to search
imported>Ikskoks
imported>Ikskoks
 
(7 intermediate revisions by the same user not shown)
Line 5: Line 5:




=== Format Specifications ===  
=== Format Specifications (GTA San Andreas) ===  


<tt><b>
<tt><b>
Line 41: Line 41:
:::: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <font color="purple">(a null-terminated string)</font> <br>  
:::: char {X}&nbsp;&nbsp;&nbsp;&nbsp; - File Data <font color="purple">(a null-terminated string)</font> <br>  
</b></tt>
</b></tt>
=== Format Specifications (GTA 2) ===
<div class="toccolours mw-collapsible" id="mw-customcollapsible-myDivision" style="width:800px; overflow:auto;">
<pre>
//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
</pre>
</div>


=== MultiEx BMS ===  
=== MultiEx BMS ===  
Line 59: Line 80:


* [[Game Extractor|Game Extractor]]<br>
* [[Game Extractor|Game Extractor]]<br>
=== See Also ===
* [https://www.grandtheftwiki.com/GXT GXT file format (GTA wiki)]
<br><br>




[[Category:Complete Complete|GTA Series GXT]]
[[Category:Platform PC|GTA Series GXT]]
[[Category:CE None|GTA Series GXT]]
[[Category:Format_Text | Type: Text]]
[[Category:Extension_gxt | Extension: gxt]]
[[Category:BMS_None | BMS: None]]
[[Category:File Format]]
[[Category:File Format]]

Latest revision as of 22:38, 24 December 2021

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