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 


DarkByte : Is it possible ... ?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
setekh
Cheater
Reputation: 0

Joined: 16 Feb 2006
Posts: 43

PostPosted: Mon Apr 30, 2007 7:57 pm    Post subject: DarkByte : Is it possible ... ? Reply with quote

Is it possible to make CE use Auto Assemble Scripts in the trainer generator...
Like : Using injection you get the address that keeps the value and then passing it for freeze.. I hope you get it..
or any other Auto Assemble Script ...
or adding an export option to ASM / C / Delphi / VB - whatever, even TMK poke codes ... so it would be much easyer to add that in trainers...
I really like using the build in trainer generator - it's cool Smile but that's something that it misses..

I just got an idea Smile pfuu it's stupid as hell - you may do that :

AutoAsmScript -> bytes and then just use the CE trainer generator to write those bytes at the address of the injection ... like if you want to do this :
************************************
label(returnhere)
label(exit)

0079DC94:
jmp 545930
returnhere:

push ebx
mov ecx,[eax+18]
lea ebx,[eax+18]
mov [635a11],ebx
pop ebx
mov edx,[eax]

exit:
jmp returnhere

******************************************************

You will

add address ->
545930
as Array of Bytes = [53 8B 48 18 8D 58 18 89 1D 11 5A 63 00 5B 8B 10 8B 48 18 8B 10 E9 4F 83 25 00]

and

add address ->
79DC94
as array of bytes =[E9 97 7C DA FF]

I guess it will do ??

and to disable just change 79DC94 to original instruction in hex ...

But i guess there must be a better way to do that ?

In all cases adding a instruction to hex convertor in the AutoAssembelScript window will help a lot...

If there is a way to use Auto Assemble Scripts with the trainer generator other than that - i would be glad if someone can help me...

Thanks
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 475

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

PostPosted: Mon Apr 30, 2007 8:03 pm    Post subject: Reply with quote

the trainer generator can make use of auto assemble script (I heard theres a bug with allocs though)

anyhow, first get a script on your cheat table (do that using the [enable] [disable] framework and then file->assign to current cheat table

now you can make a trainer using that cheat entry, allowing the user to enable and disable it
Of course if you only want to poke once, and don't want a disable script you can just leave that empty

_________________
Tools give you results. Knowledge gives you control.

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

Joined: 16 Feb 2006
Posts: 43

PostPosted: Mon Apr 30, 2007 8:36 pm    Post subject: Reply with quote

10x for the answer

upss - i tried it and it doesn't show up in the trainer generator options - will try it again..

One more thing -
where to set the Access exceptions insted of Debug registers ? I want to see the reg. values before the change but do not find how ...

p.s.
aham about the AutoAsm :: i was searching for it in the code section, and it was in the address cestion - so it gives you to freeze - that mean if you add a hotkey it will use ENABLE-DISABLE - is that right ? OK so if i stack "addresses" in there : like so -> [MyAutoScr1] and then Freeze value at address that i get from [myAutoScr] it would do it ?
I use the AutoAsmScr to get the address that holds the value in some code cave , then i get that address and freeze it ...
I normaly won't use injections , but i can seem to find that stupid static pointer ...
b.t.w. The pointer scan / injected/ frezzes when doing sub-search... I never used it before , and now i tried it - well did not work for me - and i can not get the idea - i get :
something.exe+01234
|-5
|-32c
|-11
Smile well i'm stupid - i do not get what this means ....
Some help ...
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