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 


is there (a path to) a way to customize the AA templates?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
ralfonat
Newbie cheater
Reputation: 0

Joined: 03 Nov 2022
Posts: 14

PostPosted: Mon Dec 11, 2023 5:54 am    Post subject: is there (a path to) a way to customize the AA templates? Reply with quote

Hi there,

I often find myself in the situation that I'm using a default set of tools to tackle a problem.

Either I find a memory location and want to make a fast general purpose "address finder" by AOB injecting, but I need to store the found address in the inject.

Or I do that approach but it is more complicated and I need to evaluate at the INJECT using Lua..

Both seem to me like automatable tasks since I am always doing the same to "augment" the script after I used the AOB template...

So I was wondering if there is like a way to extend the basic templates that come with CE.

It seems like currently it is pretty fixed in the source code with no real template file to be modified/copied.

I had a look at this: www cheatengine org/forum/viewtopic.php?t=588038

This looks very promising, but it does not seems like the Lua code within exactly follows the code within CE.

Is this the way to go?

Does anyone have recommendations?

Thanks!
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Dec 11, 2023 6:09 am    Post subject: Reply with quote

You can try this. Based on the above extension by mgr.inz.Player, I have included several custom templates. There is a 'store' template for both, 32bit and 64bit.

Feel free to alter them however you like.

Drop the file inside of the autorun folder. You will need to include any necessary filter inside of your script, as well as manually add the address in your table once the script has been activated.



customAOBInjectionTemplates.lua
 Description:

Download
 Filename:  customAOBInjectionTemplates.lua
 Filesize:  93.26 KB
 Downloaded:  224 Time(s)

Back to top
View user's profile Send private message
ralfonat
Newbie cheater
Reputation: 0

Joined: 03 Nov 2022
Posts: 14

PostPosted: Mon Dec 11, 2023 6:25 am    Post subject: Reply with quote

wow. Thanks! That is quite a number of templates. Does it come with a manual? Razz
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Mon Dec 11, 2023 8:55 am    Post subject: Reply with quote

No manual. But it's pretty easy to figure out.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Mon Dec 11, 2023 10:16 am    Post subject: Reply with quote

there's also
Code:

registerAutoAssemblerTemplate(name, function(script: TStrings; sender: TFrmAutoInject), shortcut OPTIONAL ): id - Registers an template for the auto assembler. The script parameter is a TStrings object that has a direct connection to the current script. (All script parsing is up to you...).  Returns an ID
unregisterAutoAssemblerTemplate(ID)

_________________
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
ralfonat
Newbie cheater
Reputation: 0

Joined: 03 Nov 2022
Posts: 14

PostPosted: Mon Dec 11, 2023 12:09 pm    Post subject: Reply with quote

Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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