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 


Auto assemble logging functionality

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

Joined: 19 Jun 2014
Posts: 15

PostPosted: Wed Oct 29, 2014 6:19 pm    Post subject: Auto assemble logging functionality Reply with quote

Is there some api to log to a window?

Tried to find a list of supported instructions but couldn't find any cheat engine docs Sad
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Wed Oct 29, 2014 6:37 pm    Post subject: Reply with quote

what kind of information would you like to log ?

there is registerAssembler(function(address, instruction):bytetable) which gets called for each assembler instruction the auto assembler executes. (including the syntax check part where it doesn't write it at all)

then there's registerAutoAssemblerPrologue(function(script, syntaxcheck)) which gets called each time an assembler script is about to get executed

and then there's also setAPIPointer which you can point to your own version version of WriteProcessMemory where you could do some logging (I recommend writing a dll for that part)

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

Joined: 19 Jun 2014
Posts: 15

PostPosted: Thu Oct 30, 2014 3:29 am    Post subject: Reply with quote

Basically log registers and memory addresses.

Thanks for the suggestions, but I think I'll indeed need to code some dlls for those functions, but that's rather complicated for my use case. I managed to work around this by using break & trace after following the patched address.

Some log opcode would be ideal.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Oct 30, 2014 6:34 am    Post subject: Reply with quote

Oh, you wish to log registers (not related to aa)
Check out http://forum.cheatengine.org/viewtopic.php?p=5557095#5557095 for an example of using the auto assembler and lua to log a register

_________________
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 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