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 Cheat Engine Assemble

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

Joined: 01 Apr 2006
Posts: 4

PostPosted: Sat Apr 01, 2006 7:15 pm    Post subject: How to make Cheat Engine Assemble Reply with quote

Sorry, I'm a serious noob at making trainers but I decided to make a trainer using CE. Cheat Engine NOP's the addresses I want but this time I want them to assemble them.

For example, I want to change
JNB 0048D724
to
JNZ 0048D724

How do I make cheat engine do this?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Sun Apr 02, 2006 7:54 am    Post subject: Reply with quote

in the disassebmbler select the line and type in the new code
_________________
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
1337Sasuke
How do I cheat?
Reputation: 0

Joined: 01 Apr 2006
Posts: 4

PostPosted: Sun Apr 02, 2006 1:05 pm    Post subject: Reply with quote

No, I'm trying to put that in a trainer. For example I press Alt + 1 and it assembles it to JNZ *whatever*
Back to top
View user's profile Send private message
kionay
Expert Cheater
Reputation: 0

Joined: 13 Mar 2006
Posts: 240
Location: everywhere and nowhere

PostPosted: Sun Apr 02, 2006 1:13 pm    Post subject: Reply with quote

so ur trying to make a program out of a program that finds and edits memory?
_________________
Back to top
View user's profile Send private message Yahoo Messenger
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Sun Apr 02, 2006 8:16 pm    Post subject: Reply with quote

1337Sasuke wrote:
No, I'm trying to put that in a trainer. For example I press Alt + 1 and it assembles it to JNZ *whatever*


try using a hex value to put in the trainer to change the jump

for example look at the hex values of your address in CE's memory view window,

then change the instruction from jnb to jnz by right clicking that address and typing in jnz in place of jnb,

the look to see what the hex values have changed to in the hex view pane in the bottom of the memory view window,

you can put those bytes into the trainer to change the instruction, not sure about the undo change part though without trying a bit of caving,,

a quick fix would be to have 2 trainers, one to poke the new value in to change to jnz...
then the other trainer will put the original bytes back to put the code back to jnb,,

unless your happy to use allowing the user to change the values option in the trainer to input the old code manually ..
the trainer don't seem to let you effect the same address with another hotkey to reset back to the original values,, even if you use a different byte type so you can run from a couple of addresses back,

well you might be able to now but not when I last tried (that will be a couple of ce versions back in time)

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

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

PostPosted: Mon Apr 03, 2006 12:33 am    Post subject: Reply with quote

Add a auto assembler script to your cheat table that does that.
you will then be able to give it a hotkey, and you can add it to trainers

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

Joined: 01 Apr 2006
Posts: 4

PostPosted: Mon Apr 03, 2006 1:04 pm    Post subject: Reply with quote

Wow! Thanks Dark Byte and "me" that really helped a lot. Been trying to figure this out for a long time.


Edit: Ok, I pressed CTRL+Alt+A to open the auto assembler. Now I'm stuck after this, how do I make this

Address:
0048D4A6
Thing after it:
JNB 0048D724

to

0048D4A6
Thing after it:
JNZ 0048D724

What would I have to type in the auto assembler?
Back to top
View user's profile Send private message
cparty
Expert Cheater
Reputation: 0

Joined: 01 Dec 2005
Posts: 219

PostPosted: Mon Apr 03, 2006 1:26 pm    Post subject: Reply with quote

1337Sasuke wrote:
Now I'm stuck after this, how do I make this

Address: 0048D4A6
Thing after it: JNB 0048D724

to

0048D4A6
Thing after it: JNZ 0048D724


Try this:

Code:
[ENABLE] // enable cheat
0048D4A6:
jnz 0048D724

[DISABLE] // disable cheat (use original code)
0048D4A6:
jnb 0048D724


Then choose "File" --> "Assign to current Cheat Table"
Select the new entry when building a Trainer.
Back to top
View user's profile Send private message
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Tue Apr 04, 2006 7:59 pm    Post subject: Reply with quote

cparty wrote:
1337Sasuke wrote:
Now I'm stuck after this, how do I make this

Address: 0048D4A6
Thing after it: JNB 0048D724

to

0048D4A6
Thing after it: JNZ 0048D724


Try this:

Code:
[ENABLE] // enable cheat
0048D4A6:
jnz 0048D724

[DISABLE] // disable cheat (use original code)
0048D4A6:
jnb 0048D724


Then choose "File" --> "Assign to current Cheat Table"
Select the new entry when building a Trainer.




yeah I really should have read this description by dark byte,, http://forum.cheatengine.org/viewtopic.php?t=4868 this assembler tut passed me by, didd'nt realise he had [ENABLE],[DISABLE] built in ,,,,,,,doh

_________________
Back to top
View user's profile Send private message
kionay
Expert Cheater
Reputation: 0

Joined: 13 Mar 2006
Posts: 240
Location: everywhere and nowhere

PostPosted: Tue Apr 04, 2006 8:21 pm    Post subject: Reply with quote

i dont hack the way u do
[i mean as of games, i hack other stuff, but thats beside the point]

but this only look half complicated

but that 1 half is pretty complicated @_@

_________________
Back to top
View user's profile Send private message Yahoo Messenger
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Tue Apr 04, 2006 9:28 pm    Post subject: Reply with quote

well [ENABLE] POKES the assigned address with your cheat code,

[DISABLE] will POKE the original code back in,

all the other stuff is in that link is doing pretty much the same, but is POKING a jump in the original code to make the game go to some unused memory buffer space, then mess with the code in this allocated memory

the use of symbols to make the code easier to read really does make life easier than noting down addresses and stepping through code,

anyway thats what I meant in the first post by caving, using the assember(code caving,, yeah well some people still call it that I spose),

looks like me has to brush up on me CE assembler..

_________________
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