Jump to content

All Text Labels


Recommended Posts

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
Link to comment
https://gtaforums.com/topic/878942-all-text-labels/
Share on other sites

  • 2 months later...
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

Link to comment
https://gtaforums.com/topic/878942-all-text-labels/#findComment-1069456177
Share on other sites

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.

Link to comment
https://gtaforums.com/topic/878942-all-text-labels/#findComment-1069458045
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

  • Like 2
Link to comment
https://gtaforums.com/topic/878942-all-text-labels/#findComment-1069458642
Share on other sites

  • 1 month later...

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)

  • Like 2
Link to comment
https://gtaforums.com/topic/878942-all-text-labels/#findComment-1069535311
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 4 months later...

 

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.

Link to comment
https://gtaforums.com/topic/878942-all-text-labels/#findComment-1069947687
Share on other sites

 

 

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.

Link to comment
https://gtaforums.com/topic/878942-all-text-labels/#findComment-1069947705
Share on other sites

  • 5 months later...

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

×
×
  • Create New...

Important Information

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