Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to change language of game with CE?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Shinhu51
How do I cheat?
Reputation: 0

Joined: 22 Nov 2020
Posts: 1

PostPosted: Sun Nov 22, 2020 6:19 am    Post subject: How to change language of game with CE? Reply with quote

Some games do not support changing language once we open the game.
For example, some steam games only allow changing language in game properties setting in steam, not allowing players to change their language in in-game setting.

This time, I want to approach game hacking by trying to change language on games like this, while we are running the game.

I picked up one steam game to try, I dissected mono and there's a class called localization, with methods described below.

GetLanguage() : String
GetTranslationForKey(key : String) : String
LoadLanguageStrings() : Void
SetLanguage(languageCode : String) : Void

And static fields inside the class are :
currentLanguageCode (type String )
translationsByLanguage ( type Dictionary<String, Dictionary<String, String>> )
hasLoaded ( type Bool )

When I first run this game and trace how this game loads languages upon the language setting outside the game(in steam game properties),

First, every time I go to main menu, game executes methods above on following order :

LoadLang
SetLang
GetLang
GetTtranslationForKey

Then after this first serial execution, GetTranslationsForKey is executed every frame. until I go back to main menu again.

This is what I have researched so far. Now I'm stuck what am I supposed to do to change this game's language dynamically, in game?

Can anyone give me any idea how I can approach this?
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites