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 


How to make a trainer with CE, that inject my own code?

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

Joined: 25 Jul 2009
Posts: 2

PostPosted: Tue Jul 28, 2009 8:42 am    Post subject: How to make a trainer with CE, that inject my own code? Reply with quote

HI there! i was wondering if there's a way to inject a portion of code into a program memory with a trainer made by Cheat Engine 5.5.

As i've been able to see, there's already a section of the trainer maker, that is capable to replace one or more instruction in memory with NOP's.. but can we customize this function with our own assembly code?

Example:
i would like to to substitute an instruction to a certain adress that is

mov [eax],ecx

with mov [eax],50000


Can we make a trainer that inject different pieces of code while its activated or not?

Thanks a lot! Smile

_________________
Giacomo -- Celeste
Back to top
View user's profile Send private message
oOJustFakeOo
How do I cheat?
Reputation: 0

Joined: 25 Jul 2009
Posts: 2

PostPosted: Wed Jul 29, 2009 2:27 pm    Post subject: Re: How to make a trainer with CE, that inject my own code? Reply with quote

oOJustFakeOo wrote:
HI there! i was wondering if there's a way to inject a portion of code into a program memory with a trainer made by Cheat Engine 5.5.

As i've been able to see, there's already a section of the trainer maker, that is capable to replace one or more instruction in memory with NOP's.. but can we customize this function with our own assembly code?

Example:
i would like to to substitute an instruction to a certain adress that is

mov [eax],ecx

with mov [eax],50000


Can we make a trainer that inject different pieces of code while its activated or not?

Thanks a lot! Smile


AND THE ANSWER IS................ AUTOASSEMBLE SCRIPT XD
i've found it alone in the end!
..and i'm already scripting like a mad!
Thanks anyway! Shocked

_________________
Giacomo -- Celeste
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 474

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

PostPosted: Sun Aug 02, 2009 5:18 am    Post subject: Reply with quote

For those with the same question that might not get it 100%
Auto assembler->Assign to cheat table->create trainer with that cheat entry->done

_________________
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
Megamandos
How do I cheat?
Reputation: 0

Joined: 04 Aug 2009
Posts: 1

PostPosted: Tue Aug 11, 2009 6:59 pm    Post subject: Reply with quote

Yeah I love this. AutoAssembler script ROCKS. Thx Dark Byte!
Back to top
View user's profile Send private message AIM Address
Xblade Of Heaven
Master Cheater
Reputation: 0

Joined: 16 Oct 2005
Posts: 395
Location: DEAD

PostPosted: Wed Aug 12, 2009 7:17 am    Post subject: Reply with quote

Quote:
Example:
i would like to to substitute an instruction to a certain adress that is

mov [eax],ecx

with mov [eax],50000


error

with mov [eax],50000

50000 in hex no in decimal is and second error mov [eax] in your exaple is:

mov ecx,0000C350 or mov ecx,C350 this is the correct in you example.

_________________
Welcome to the Hell.
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
oOJustFakeOo
How do I cheat?
Reputation: 0

Joined: 25 Jul 2009
Posts: 2

PostPosted: Wed Aug 12, 2009 2:05 pm    Post subject: Reply with quote

Quote:
with mov [eax],50000

50000 in hex no in decimal is and second error mov [eax] in your exaple is:

mov ecx,0000C350 or mov ecx,C350 this is the correct in you example.


Right! Very Happy in this example i forgot the HEX conversion of the value,
Anyway i didn't understand the second error that you reported.. Rolling Eyes

Did you mean that the instruction to change the Score is,

mov ecx,C350

??

the correct (and tested) example is

substitute:


mov [eax],ecx

with

mov [eax],C350

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