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 :)

Comments

Popular Posts

VMOS Pro - FREE Custom ROMs without VIP | GMS, ROOT, Xposed | Android 4.4.4, 5.1.1, 7.1.2, 9.0 ROMs

List of Android Virtual Machine apps for Android devices