Jump to content

GXT: Difference between revisions

133 bytes added ,  30 June 2018
m
no edit summary
(contributions from myself, Blackbird88, DK22Pac, fastman92, GooD-NTS, LINK2012, Seemann, Silent, and Wesser)
mNo edit summary
Line 1: Line 1:
A '''G'''TA Te'''xt''' (''GXT'') file contains almost all texts that are displayed on the screen of [[GTA 2]] and above. The location of those files may differ between the various game versions, but they are usualy located in a <code>text\</code> folder inside the games installation directory. Except for GTA 2 There is one GXT file for each language, but the number of gxt files does not define the number of supported languages by the game.  
A '''G'''TA Te'''xt''' (''GXT'') file contains almost all texts that are displayed on the screen of [[Grand Theft Auto 2]] and above. The location of those files may differ between the various game versions, but they are usually located in a <code>/text</code> folder inside the games installation directory. Except for GTA 2 There is one GXT file for each language, but the number of gxt files does not define the number of supported languages by the game.  


== File format ==
== File format ==
Line 72: Line 72:


=== GTA III ===
=== GTA III ===
GTA III is nearly identical to GTA 2 but without the header. It begins with a TKEY block followed by a TDAT block. Within the TKEY block is an array of TKEY entries containing the offset to and the name of the TDAT entry. A TDAT entry contains the text to be displayed in the game. The Xbox version of Vice City uses this format also.
[[Grand Theft Auto III]] is nearly identical to GTA 2 but without the header. It begins with a TKEY block followed by a TDAT block. Within the TKEY block is an array of TKEY entries containing the offset to and the name of the TDAT entry. A TDAT entry contains the text to be displayed in the game. The Xbox version of GTA Vice City uses this format also.


{|class="wikitable" style="max-width: 64em;"
{|class="wikitable" style="max-width: 64em;"
Line 118: Line 118:
</div>
</div>


=== Vice City, Liberty City Stories, and Vice City Stories ===
=== GTA Vice City, GTA Liberty City Stories, and GTA Vice City Stories ===
Vice City, Liberty City Stories, and Vice City Stories begin with a TABL block, which was first introduced in Vice City, followed by an array of TKEY blocks. Within each TKEY block is an array of TKEY entries containing the offset to and the name of the TDAT entry. A TDAT entry contains the text to be displayed in the game. The Xbox version of Vice City uses GTA III's format instead.
[[Grand Theft Auto: Vice City]], [[Grand Theft Auto: Liberty City Stories]], and [[Grand Theft Auto: Vice City Stories]] begin with a TABL block, which was first introduced in GTA Vice City, followed by an array of TKEY blocks. Within each TKEY block is an array of TKEY entries containing the offset to and the name of the TDAT entry. A TDAT entry contains the text to be displayed in the game. The Xbox version of GTA Vice City uses GTA III's format instead.
{|class="wikitable" style="max-width: 64em;"
{|class="wikitable" style="max-width: 64em;"
!colspan="3" |Block 1 (TABL)
!colspan="3" |Block 1 (TABL)
Line 825: Line 825:
</small>
</small>


=== Vice City ===
=== GTA Vice City ===
==== Font Style 0 (Bank) ====
==== Font Style 0 (Bank) ====
{|class="charmap"
{|class="charmap"
Line 1,654: Line 1,654:
|
|
|}
|}
In GTA III's original GXT files for the PC version, the token <code>l</code> is unused. The token <code>W</code> appears erroneously in GXT key <code>AS3_A</code> in all language files except the Italian one. In Vice City's original GXT files for the PC version, the tokens <code>B</code> and <code>l</code> are unused. <code>t</code> and <code>x</code> are unused in the English language file but appear to be used erroneously in other language files. The token <code>c</code> appears erroneously in GXT key <code>FIN_B5</code>; it could have represented the cyan color to match the color of the blip the text represents.<ref>http://www.gtaforums.com/index.php?showtopic=849281&view=findpost&p=1068784991</ref> The token also appears in GXT key <code>RCH1_3</code> in all language files except the English one.
In GTA III's original GXT files for the PC version, the token <code>l</code> is unused. The token <code>W</code> appears erroneously in GXT key <code>AS3_A</code> in all language files except the Italian one. In GTA Vice City's original GXT files for the PC version, the tokens <code>B</code> and <code>l</code> are unused. <code>t</code> and <code>x</code> are unused in the English language file but appear to be used erroneously in other language files. The token <code>c</code> appears erroneously in GXT key <code>FIN_B5</code>; it could have represented the cyan color to match the color of the blip the text represents.<ref>http://www.gtaforums.com/index.php?showtopic=849281&view=findpost&p=1068784991</ref> The token also appears in GXT key <code>RCH1_3</code> in all language files except the English one.


=== Buttons ===
=== Buttons ===
Line 1,944: Line 1,944:
*{{Icon|3}} [http://pastebin.com/raw.php?i=HwDP132U american.gxt source] - original code found by Wesser
*{{Icon|3}} [http://pastebin.com/raw.php?i=HwDP132U american.gxt source] - original code found by Wesser
*{{Icon|4}} [http://public.sannybuilder.com/GTA4/american.gxt.reversed.rar Some of GTA IV GXT text entry names]
*{{Icon|4}} [http://public.sannybuilder.com/GTA4/american.gxt.reversed.rar Some of GTA IV GXT text entry names]
*[http://www.gtaforums.com/index.php?showtopic=458584 List of usable characters] in GTA III and Vice City by [[User:Spaceeinstein|spaceeinstein]]
*[http://www.gtaforums.com/index.php?showtopic=458584 List of usable characters] in GTA III and GTA Vice City by [[User:Spaceeinstein|spaceeinstein]]


{{fdl}}
{{fdl}}
12,236

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.