Quantcast
Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
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

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

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

×

Important Information

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