Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
    1. Welcome to GTAForums!

    1. Red Dead Redemption 2

      1. PC
      2. Gameplay
      3. Missions
      4. Help & Support
    2. Red Dead Online

      1. Gameplay
      2. Find Lobbies & Outlaws
      3. Help & Support
    1. Crews & Posses

      1. Recruitment
    2. Events

    1. GTA Online

      1. Diamond Casino & Resort
      2. DLC
      3. Find Lobbies & Players
      4. Guides & Strategies
      5. Vehicles
      6. Content Creator
      7. Help & Support
    2. Grand Theft Auto Series

    3. GTA 6

    4. GTA V

      1. PC
      2. Guides & Strategies
      3. Help & Support
    5. GTA IV

      1. Episodes from Liberty City
      2. Multiplayer
      3. Guides & Strategies
      4. Help & Support
      5. GTA Mods
    6. GTA Chinatown Wars

    7. GTA Vice City Stories

    8. GTA Liberty City Stories

    9. GTA San Andreas

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    10. GTA Vice City

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    11. GTA III

      1. Guides & Strategies
      2. Help & Support
      3. GTA Mods
    12. Top Down Games

      1. GTA Advance
      2. GTA 2
      3. GTA
    13. Wiki

      1. Merchandising
    1. GTA Modding

      1. GTA V
      2. GTA IV
      3. GTA III, VC & SA
      4. Tutorials
    2. Mod Showroom

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

      1. DYOM
      2. OpenIV
      3. GTA: Underground
      4. GTA: Liberty City
      5. GTA: State of Liberty
    1. Red Dead Redemption

    2. Rockstar Games

    1. Off-Topic

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

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

    2. Forum Support

    3. Site Suggestions

Unknown_Modder

All Text Labels

Recommended Posts

Unknown_Modder

First of all, I don't know if this helps anybody but I figured why not post this as it might help someone for their scripts or researching the game.
For me personally it is much more comfortable than using OpenIV.

EDIT: Here's the complete list (up-to-date for build 1604).

Since _GET_LABEL_TEXT and other related natives only accept char* (the name of the text label), you can use this to get the text by hash if you need to:

__int64 funcAddress = Pattern::Scan("48 89 5C 24 08 48 89 6C 24 18 89 54 24 10 56 57 41 56 48 83 EC 20");
LPSTR(__thiscall* CTextFile__Get)(__int64 This, unsigned int hash);
CTextFile__Get = (decltype(CTextFile__Get))funcAddress;

__int64 patternAddress = Pattern::Scan("84 C0 74 34 48 8D 0D ? ? ? ? 48 8B D3");
__int64 TheText = patternAddress + *(int*)(patternAddress + 7) + 11;

inline LPSTR GetLocalizedStringByHash(unsigned int labelHash)
{
	return CTextFile__Get(TheText, labelHash);
}

 

Edited by Unknown_Modder

Share this post


Link to post
Share on other sites
qiangqiang101

how to use Pattern::Scan in .NET?

Share this post


Link to post
Share on other sites
Unknown_Modder

how to use Pattern::Scan in .NET?

Idk, I've never used a .NET language for pattern scans, google it.

Edited by Unknown_Modder

Share this post


Link to post
Share on other sites
qiangqiang101

 

how to use Pattern::Scan in .NET?

Idk, I've never used a .NET language for pattern scans, google it.

 

 

well, i did, turns out it only can use when import a C++ dll

Share this post


Link to post
Share on other sites
unknown modder

 

 

how to use Pattern::Scan in .NET?

Idk, I've never used a .NET language for pattern scans, google it.

 

 

well, i did, turns out it only can use when import a C++ dll

 

you can do signature scanning in .net, but i dont think you can call unmananged functions from a pointer in .net

Share this post


Link to post
Share on other sites
Unknown_Modder

The list has been updated to 1.0.1011.1

Share this post


Link to post
Share on other sites
ikt

Offtopic, but are you two "unknown modders" related somehow anyhow? Strikes me that both of you do have the same name and do reversing stuff.

Share this post


Link to post
Share on other sites
Unknown_Modder

Offtopic, but are you two "unknown modders" related somehow anyhow? Strikes me that both of you do have the same name and do reversing stuff.

No, he is also known as zorg93 or drp4lyf and said he chose the name when he was not so "famous" yet and I just suck at naming so I chose the name because I mod games and was "unknown" when I started.

Share this post


Link to post
Share on other sites
unknown modder

 

Offtopic, but are you two "unknown modders" related somehow anyhow? Strikes me that both of you do have the same name and do reversing stuff.

No, he is also known as zorg93 or drp4lyf and said he chose the name when he was not so "famous" yet and I just suck at naming so I chose the name because I mod games and was "unknown" when I started.

 

my cover has been blown

Share this post


Link to post
Share on other sites
Unknown_Modder

I've updated the list once again. Known label hashes have been replaced by their name (currently only 18074).

Edit: Also fixed wrong format for some strings containing \n.

Edited by Unknown_Modder

Share this post


Link to post
Share on other sites
Unknown_Modder

Just replaced these hashes with the correct names. Found them while looking at cash related functions.

0x3AAC4241 = PURCH_FAILED0xA11DF0BD = CASH_LMT_DAILY0xAC349FE9 = CASH_LMT_BALANCE

(Didn't even know there was a limit on how much shark card money you can purchase)

Share this post


Link to post
Share on other sites
Unknown_Modder

Made 3 changes in the last hour because I f*cked up so badly lol. But anyway, 152 hashes have been replaced.

Share this post


Link to post
Share on other sites
Unknown_Modder

Updated the list for build 1103. Oh and f*ck you Take-Two.

Edited by Unknown_Modder

Share this post


Link to post
Share on other sites
uNiverselEgacy

How about gxt thats not always loaded like 'MOD_MNU'? It would be great to include those as well. :)

Share this post


Link to post
Share on other sites
Unknown_Modder

How about gxt thats not always loaded like 'MOD_MNU'? It would be great to include those as well. :)

Those are included as well, MOD_MNU starts at line 179216.

Edited by Unknown_Modder

Share this post


Link to post
Share on other sites
uNiverselEgacy

 

How about gxt thats not always loaded like 'MOD_MNU'? It would be great to include those as well. :)

Those are included as well, MOD_MNU starts at line 179216.

 

Oh my bad. :( The page was probably not fully loaded last time.

Share this post


Link to post
Share on other sites
Flatracer

Hey, nice list. Thank you.

Could you do the same for the other languages too?

Share this post


Link to post
Share on other sites
Unknown_Modder

Hey, nice list. Thank you.

 

Could you do the same for the other languages too?

Hm, I could but I don't really see a reason for this. Any particular language you need a list for?

Share this post


Link to post
Share on other sites
Flatracer

I could but I don't really see a reason for this

To check the actual meaning of a word because many english words mean something different depending on the context.

 

 

Any particular language you need a list for?

 

Especially German...

Share this post


Link to post
Share on other sites
Unknown_Modder

 

I could but I don't really see a reason for this

To check the actual meaning of a word because many english words mean something different depending on the context.

 

 

Any particular language you need a list for?

 

Especially German...

 

Alright, just uploaded the list.

Share this post


Link to post
Share on other sites
Flatracer

 

 

I could but I don't really see a reason for this

To check the actual meaning of a word because many english words mean something different depending on the context.

 

 

Any particular language you need a list for?

 

Especially German...

 

Alright, just uploaded the list.

 

Thank you m8, I really appreciate that.

Share this post


Link to post
Share on other sites
uNiverselEgacy

Glad to see you're still updating this. However it seems that some labels are missing.

For example:

WCT_C_TINT_30 = Turquoise
WCT_TINT_30 = Metallic White & Aqua
They were added in 1103 I think.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • 2 Users Currently Viewing
    0 members, 0 Anonymous, 2 Guests

×
×
  • Create New...

Important Information

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