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. Support

    3. Suggestions

Happy Holidays from the GTANet team!

[GTAIV][Q] How to get right IDs from GXT file?


djerk
 Share

Recommended Posts

Hello!

 

There is San Andreas GXT editor for string edition which already works with GTA IV GXT files. That's true. We can modify any string from game we want. But all those strings are placed without any order - there's just mess. Every string has HEX (or something very similar to hex) game id like this:

 

 

4D17BB79=~z~sh*t, my bad. Yeah, of course. Love that guy. Love him.4DD47747=~z~You should not worry about Rivas any more.5171C42D=~z~sh*t no sh*t. What you doing here, man?570ECE87=~z~Hey yah! Oh! Ah! Oh! Enough, man, enough! Oh! Whoo!

 

 

However, in cuts.img file I found files with .cut extensions. There are strings placed in right order like this:

 

 

[TEXT]388	1245	B2_CUT1_11634	1866	B2_CUT1_23501	349	B2_CUT1_34954	1667	B2_CUT1_46654	2134	B2_CUT1_58821	2633	B2_CUT1_612221	900	B2_CUT1_713154	2967	B2_CUT1_816154	1467	B2_CUT1_917654	1367	B2_CUT1_10[/TEXT]

 

 

Is there any way I could recognize those ordered strings from cuts.img and find the right order in GXT file? It's just killing me when I want to translate all dialogues but everything in GXT file is placed without any order.

 

------------

 

Here (on gtaforms.com) I found page http://public.sannybuilder.com/GTA4/blips/ and author of its somehow managed to find GXT IDs of blips. How did he get them? If you could help me out, i'd be really thankfull.

Edited by djerk
Link to comment
Share on other sites

Ok, thanks for pointing on the CUT files. I've reversed hashes of the mission gxt sections using them.

 

http://public.sannybuilder.com/GTA4/americ...xt.reversed.rar

 

^ Also includes a file containing all gxt entries used by the scripts (~MAIN.txt).

Link to comment
Share on other sites

Your list is awesome.

 

Anyway, I can see there are some cutscenes dialogues missing. I just converted them to PHP array and here is what I see:

 

 

  [PIMAAUD] => Array      (          [9689CEC2] => PIM1_CUT2_1          [844C2A47] => PIM1_CUT2_2          [b2FD87A9] => PIM1_CUT2_3          [A0B6E31C] => PIM1_CUT2_4          [5D825CB4] => PIM1_CUT2_5          [4B40B831] => PIM1_CUT2_6          [74668A7C] => PIM1_CUT2_7          (...)      )

 

 

You can see IDs named CUT2. But... wait a second. There is no CUT1 at all! Where are they? Strange. In your files I even found some file where only CUT3 appeared, without CUT2 and CUT1. Does that mean there is no way to get IDs of dialogues from "lower level" cutscenes? I couldn't find them also in .cut files.

 

The same situation is in R1AUD (gxt section). We can find there dialogues from both cutscenes - intro and from mission in which you've got to lift Roman to his home. But in your file (R1AUD.txt) it looks like there is only the dialogue from second cutscene. How to get the rest of dialogues, then?

 

/edit

 

I guess the missing "lower level" cutscenes are named like PIM1_CUT1_1, PIM1_CUT1_2 etc. Still, don't know how to get gxt ID.

Edited by djerk
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.