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 


The Ultimate Vision For AOB Script

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Game Hacking Dojo
Master Cheater
Reputation: 1

Joined: 17 Sep 2023
Posts: 250

PostPosted: Sat Oct 07, 2023 9:48 am    Post subject: The Ultimate Vision For AOB Script Reply with quote

For a long time, I've been looking around to find a way to make/change Auto Assembler templates. Recently, I found templates to make Auto Assembler templates. However, in my humble opinion, none of them is complete. So close, but still needed some work to be the ultimate script.

I found aamaker.lua and customAOBInjectionTemplates.lua they are both great for making new templates. But I think customAOBInjectionTemplates.lua is very simple and aamaker.lua is so much more powerful but impractical.

aamaker.lua:
pros:
- brutal signature AOB scan in the Auto Assembler window
- get signature without Auto Assembler window

cons:
- the options to make a script only appear in the context menu in the disassembler and not in the Auto Assembler window
- no way to name the script before generating it (using the quick option).
- the maker window will give the ability to name the script but also will force you to mov a value to the address (if there was any) at the location of the injection.
- the script will be saved to the cheat table once you click on the quick option.
- the maker window is messed up for any screen other than 1080p because all the elements are hard positioned (not anchored or positioned respectively) and no window resize option.

customAOBInjectionTemplates:
pros:
- simple

cons:
- simple (no extra ability over the original template)

When I tried to make the best of both worlds of course I failed to do so.
My vision for an ultimate script that Cheat Engine should also implement is to use the following:

- signature scanning (the same used in aamaker.lua)
- next to the scan to show if the signature is unique or not
- if the signature isn't unique to show the count of other occurrences
- keep an AOB scan commented under the signature scan (for reference)
- if the signature scan fails to find a unique signature, uncomment the normal AOB scan line and comment the signature line.
- read the bytes at the signature, save them into an allocated address and write them back once the script is disabled.

In my opinion that could be achieved by ripping the signature scan from the aamaker.lua and adding to the customAOBInjectionTemplates.lua

I can't do it myself, it might take me forever depending on my time investment in learning Lua and CE API/functions.

I know, it is hard to make one like this but I think this should've been the way to make the AOB script from the start, correct me if I'm wrong.
Because, in my opinion, this is the most update-resilient way I know of.



customAOBInjectionTemplates.lua
 Description:

Download
 Filename:  customAOBInjectionTemplates.lua
 Filesize:  22.4 KB
 Downloaded:  147 Time(s)


aamaker.lua
 Description:

Download
 Filename:  aamaker.lua
 Filesize:  25.39 KB
 Downloaded:  138 Time(s)

Back to top
View user's profile Send private message Visit poster's website
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