Exposing localization string from code on Unity games (DLL / Mono based only)

Hard to find right function to hack? You can expose localization string to find function easier

 

This is for DLL based games only.

 

Not all games are same, the localization function to get string can be called Get, GetLocalizedValue, GetString, Localize, Load etc.

 

To find it, search for UI related and look around until you found something like this. In this example I found LocalizationManager.GetLocalizedValue that sets the string to text.




Modify it to return string from string parameter. In this case, "key"




You will see something like this in-game



Search the string in dnSpy and you find the right function :)

Popular Posts

[TOOL] Unity Assets Bundle Extractor

Il2CppDumper GUI Android App