Jump to content
    1. Welcome to GTAForums!

    1. GTANet.com

    1. GTA Online

      1. Los Santos Drug Wars
      2. Updates
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Red Dead Online

      1. Blood Money
      2. Frontier Pursuits
      3. Find Lobbies & Outlaws
      4. Help & Support
    3. Crews

    1. Grand Theft Auto Series

      1. Bugs*
      2. St. Andrews Cathedral
    2. GTA VI

    3. GTA V

      1. Guides & Strategies
      2. Help & Support
    4. GTA IV

      1. The Lost and Damned
      2. The Ballad of Gay Tony
      3. Guides & Strategies
      4. Help & Support
    5. GTA San Andreas

      1. Classic GTA SA
      2. Guides & Strategies
      3. Help & Support
    6. GTA Vice City

      1. Classic GTA VC
      2. Guides & Strategies
      3. Help & Support
    7. GTA III

      1. Classic GTA III
      2. Guides & Strategies
      3. Help & Support
    8. Portable Games

      1. GTA Chinatown Wars
      2. GTA Vice City Stories
      3. GTA Liberty City Stories
    9. Top-Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    1. Red Dead Redemption 2

      1. PC
      2. Help & Support
    2. Red Dead Redemption

    1. GTA Mods

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Red Dead Mods

      1. Documentation
    3. Mod Showroom

      1. Scripts & Plugins
      2. Maps
      3. Total Conversions
      4. Vehicles
      5. Textures
      6. Characters
      7. Tools
      8. Other
      9. Workshop
    4. Featured Mods

      1. Design Your Own Mission
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Rockstar Games

    2. Rockstar Collectors

    1. Off-Topic

      1. General Chat
      2. Gaming
      3. Technology
      4. Movies & TV
      5. Music
      6. Sports
      7. Vehicles
    2. Expression

      1. Graphics / Visual Arts
      2. GFX Requests & Tutorials
      3. Writers' Discussion
      4. Debates & Discussion
    1. Announcements

    2. Forum Support

    3. Suggestions

san andreas gxt editor?


aboali
 Share

Recommended Posts

has anybody edited the gta sa text files yet? u know , the gtx language files? i know its been done for previous versions like vc, but all the tools and editors for those wont work on san andreas? can anyone help me with that?

 

thx

Link to comment
Share on other sites

I've written one for PS2, hopefully it still works for PC.

Download

 

Backup your files first.

Nope it does not work, well the entry names/values are messed up, and everything get swapped around when you save a file.

Link to comment
Share on other sites

This sucks sad.gif

 

EDIT: Actually, the fact that entries are stored in different positions doesn't matter that much (I guess). As long as the game shows the entries, it's fine, no? Note that entries in SA gxt are stored as CRC32. So unless you save the entry names to the ini-file, they will reset when you open the file next time.

Edited by Hammer83
Link to comment
Share on other sites

Well, correction, it does work, it was just me who was messed up last night at 3:41am.

I added my own entry now, to the main table, named COORDS to display in game coords on screen. And after some messing around I figured out how the tool worked because at first it didn't want to save the value.

But it is saved now, and its there according the editor, but won't show up in game if I use it through scm. Probably me once again who f*cks up though.

Link to comment
Share on other sites

Version 1.2 released. Download.

 

New in this version:

- Faster UI updates after item deletion/addition.

- Automatic read-only clearance.

- Multiligual support, with English and Russian translation by me and French translation by [-Akado-]. For Russian language to work, you must set Russian language in Advanced tab of Regional Settings in Control Panel (assuming WinNT based operating system).

- Tested on PC, seems to work. Although it often happens with my programs that they work here and nowhere else. biggrin.gif

Link to comment
Share on other sites

Version 1.2 released. Download.

 

New in this version:

- Faster UI updates after item deletion/addition.

- Automatic read-only clearance.

- Multiligual support, with English and Russian translation by me and French translation by [-Akado-]. For Russian language to work, you must set Russian language in Advanced tab of Regional Settings in Control Panel (assuming WinNT based operating system).

- Tested on PC, seems to work. Although it often happens with my programs that they work here and nowhere else. biggrin.gif

Thanx man, great post, program works perfectly on pc.

 

However, i attempted to translate it into arabic, while arabic text shows up in the entries in ur prog, it doesnt show up at all in the game.

I have my regional settings set to arabic language in the advanced tab.

could you help me out with this problem. it may possibly involve reconfiguring the default fonts that SA uses, via font.dat or some other file.

 

Thanx again for ur help,

 

Regards,

Tdl

Link to comment
Share on other sites

random_download

@Hammer: does your tool do anything extra when reading the gxt and when displaying the contents of different tables? It seems to load them slowly for me for some reason :s

Link to comment
Share on other sites

Nice editor, but why are the entry names hex values? How can I figure out what text the SCM is using when it calls sh*t like "C_CANC" ?

 

Link to comment
Share on other sites

The entries are stored as a CRC32 checksum of the entry name. Thus it's not possible to directly know which entry the number comes from. This is why the editor displays the checksum. You can find the entry you need by using "Find by name" in the Search menu. If the entry is found, it will be automatically renamed to that name and the correspondance between the name and the checksum will be stored in the ini file with the same name as the gxt file.

 

The editor also has the option String List Match (which is always disabled by my mistake in the current version) which asks you to provide a list of GXT entry names (for instance those that you might have extracted somehow from the scm, ide, or exe files) and then tries to match the CRCs in the file to each string in the list.

 

Anyway, if remember in ini option is enabled, the next time you load this file it will read the known names from the ini. With time, hopefully we'll have a complete ini with all the entries. When this happens, I'll include it in the archive.

 

random_download, next version will have instantaneous table switching.

 

AleXXX, yes I am.

Link to comment
Share on other sites

Extreme Gimp

So what if want to add something and call the tag in the main scm "RSTOP"... how would i know what code to put in the gxt editor? OR, if i just put "RSTOP" in that place, will it still pick it up?

Link to comment
Share on other sites

I'm willing to do a Dutch translation smile.gif

I've worked with feroCT5 on GTA Texter, maybe you two could team up? (he works in Delphi)

We've had some good progress on the CRC32 part

Link to comment
Share on other sites

Version 1.2 released. Download.

 

New in this version:

- Faster UI updates after item deletion/addition.

- Automatic read-only clearance.

- Multiligual support, with English and Russian translation by me and French translation by [-Akado-]. For Russian language to work, you must set Russian language in Advanced tab of Regional Settings in Control Panel (assuming WinNT based operating system).

- Tested on PC, seems to work. Although it often happens with my programs that they work here and nowhere else. biggrin.gif

Thanks man. And aren't the files called .gxt not .gtx?

user posted image
user posted image
R.I.P. Chi Shingi Meiyo

 

21/09/2005 - 07/03/2007

Andolini Mafia Family

 

16/08/2008 - Current

Link to comment
Share on other sites

( Sorry to double post this into this board, but I think this is a better place :9 )

 

Someone posted into the gta-modder-wiki and here that the gxtnames are crc32values of the ones used by main.scm, thatswhy I tried it with my crc32-Tool for INTRO_1 but it doesn't give me the expected value (3DFE5E49) , so I think it isn't correct to say that they are crc32values.

 

Someone else any idea what It may be?

 

See you,

Edited by DracoBlue
Link to comment
Share on other sites

Yes, I do smile.gif

 

The value is simply

 

NOT crc32()

 

and then convert it to hexadecimal obviously

Link to comment
Share on other sites

Damn! This works for the example I gave but not for

INTRO_2 -> 6048D1A9

 

Nice try, but it doesn't work.

 

Btw. I do not think that R* made such difficult method to hide the strings from us ... smile.gif

 

See you,

Link to comment
Share on other sites

I've been searching here and on other GTA sites for an hour or so now, but I just can't seem to find what I am looking for. confused.gif

 

I downloaded Hammer's tool (thanks Hammer!), and I want to add some of my own text (status messages and such) for my mod.

 

Does anyone know if and where the string tokens are defined?

 

By this I mean various strings have things like "~z~", "~o~", "~y~", etc. embedded within them. Has any deciphered all the tokens and their meaning?

Link to comment
Share on other sites

They're probably the same as for GTA3/VC. They are color codes. Wait for GTA Texter to edit those easily. It will be done soon.

Or maybe Hammer could support it in his program smile.gif

Link to comment
Share on other sites

copy-paste from GXTEdit:

 

~1~ - numeric parameter

~a~ - area title

~k~ - key definition

~b~ - person's name (like 'Sweet')

~h~ - text highlight

~r~ - failure message

~s~ - order text (do that and that)

~w~ - dark gray (default)

~x~ - menu command

~y~ - place title (like 'someone's pizza)

~z~ - white color

 

Like that.

Link to comment
Share on other sites

I feel pretty bad about bumping this topic over the one which is far more important than this one. I uploaded a new version of GTA: SA GXT Editor with some of the features requested by the users of the previous version:

* Faster switching between tables.

* Import from/Export to text file.

* Character Map edition to correctly deal with international characters.

* Small bug fixes and improvements.

 

One of these days I'll make a site to quit bumping this topic. For now, you can download the files at the following links:

GTA: SA GXT Editor 1.3 - English (463 KB)

 

Translation modules (not necessary):

English (140 KB)

French (140 KB)

Russian (140 KB)

 

INI-file (contains some of the entry names for original american.gxt, not necessary):

English (68 KB)

 

Link to comment
Share on other sites

I ask about how the quickest support of Polish very. Because Polish letters do not it enter at present :{ "Character map' does not it act. :{

Edited by Lemik
Link to comment
Share on other sites

Nice... but listview updating takes too long. You might want to consider disabling redraw before updating the listview and reenable it after. Look into API function SendMessage and constant WM_REDRAW.

I do that, but refreshing 5000 entries is still slow smile.gif

Link to comment
Share on other sites

Zverik, use virtual listview -> very fast.

 

Lemik, is your Regional Settings for non-Unicode programs set to Polish (in WinXP, or code page to Polish in Win9x) as described in readme?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • 1 User Currently Viewing
    0 members, 0 Anonymous, 1 Guest

×
×
  • Create New...

Important Information

By using GTAForums.com, you agree to our Terms of Use and Privacy Policy.