*.gxt |
File Formats |
Fil_GXT.html |
*.gxt - contains all in game text
text\*.gxt
american.gxt, english.gxt, french.gxt,
german.gxt, italian.gxt, spanish.gxt
These files contain all the in game text in various languages which are american(variant of english to pertain to the US), english, french, german, italian, and spanish. We'll look at the american variant. The *.gxt files are compiled in that they can't be edited using notepad. They contain two main sections. TKEY which contains a short name for every gxt string and TDAT which contains the value of each gxt string. There are different flags and variables to trigger display styles and insert numbers into the text during the game.
A GXT string is not something thats in the gxt files but the individual parts of a gxt file are put together to form a gxt string.
______________________________ GXT Name
____/____ __________________________GXT Value
| | | |
[ESPERAN] Esperanto
The TKEY section contains all gxt string names the names are aranged in alphabetical order. Before each name there is a pointer. The actual offset of the gxt value is (pointer + tkey_section_size + 16). Gta3 requsets the name and the name refrences to the gxt value.
The TDAT section contains all gxt values which contain the actual text which is refrenced by the gxt names. The gxt values are in alphabetical order by thier first charachter.
There are various symbols used in the gxt values, they begin andend with ~. They can control the color and style of text and insert variables into the text. I will list the codes and there uses.
~1~
This code is a variable for a nummber, it can appear anywhere in the string and it can appear mulltiple times in a string.
~a~
This code is a variable for a text string.
~b~
This is a color code it changes the display color of any text that follows to BLUE.
~g~
This is a color code it changes the display color of any text that follows to GREEN.
~h~
This is a style code it highlights any text that follows, to return text to normal use one of the color codes.
~k~
This appears before any one of the key variables listed below. It displays the designated key or button.
-
-
GXT Editor,
|
File Formats |
Last change: 19 July 2002 |
unofficial GTA III Reference |