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 


Profile for Hotkeys (speedhack in particular)

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

Joined: 24 Oct 2018
Posts: 4

PostPosted: Wed Oct 24, 2018 7:39 pm    Post subject: Profile for Hotkeys (speedhack in particular) Reply with quote

I have a really simple idea, i want different set of hotkeys for different games.
For example i use specific set of hotkeys for speedhack in Xcom 2 and a different set in other game.

Basically i want to load up a profile depending on a game i am gonna play.

Btw , i am talking about the Hotkeys section in Edit>Settings Very Happy

Is there a way to do this? I thought maybe some kind of a config exists in a cheatengine intall folder that i can edit and save different variations, but i found nothing.Rolling Eyes
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Wed Oct 24, 2018 11:57 pm    Post subject: Reply with quote

it's in the registry (which you can access using the registry class:getSettings())
and you can let ce apply registry changes by calling reloadSettingsFromRegistry()

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Fujosej
How do I cheat?
Reputation: 0

Joined: 24 Oct 2018
Posts: 4

PostPosted: Thu Oct 25, 2018 9:23 am    Post subject: Reply with quote

Ok thanks, thats sounds kinda complicated for me , never done any scripting or programming really.

So maybe this variant will work.
What if i export HKEY_CURRENT_USER\Software\Cheat Engine file from registry for different games.

And just apply it ,by doubleclicking.
Will it work?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Thu Oct 25, 2018 10:07 am    Post subject: Reply with quote

as long as you call reloadSettingsFromRegistry or restart CE, yes
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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