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 


Tweaking an existing game trainer
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Skull Kid
Expert Cheater
Reputation: 2

Joined: 03 Jul 2009
Posts: 146

PostPosted: Sat Jul 04, 2009 6:18 pm    Post subject: Tweaking an existing game trainer Reply with quote

How do I know what program language it is written in? And can I open the executable of the trainer in Visual Studio and add more cheats?

Last edited by Skull Kid on Thu May 27, 2010 9:17 am; edited 1 time in total
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sat Jul 04, 2009 7:16 pm    Post subject: Reply with quote

PEiD can help or disassembling can give you hints as to what language. eg. delphi = shit load of calls, vb = mainly jumping in and out of its main dll, etc.

no you can't open executable in visual studio and add cheats. unless it's coded in something that is decompilable like .net
Back to top
View user's profile Send private message
Skull Kid
Expert Cheater
Reputation: 2

Joined: 03 Jul 2009
Posts: 146

PostPosted: Sun Jul 05, 2009 2:38 am    Post subject: Reply with quote

Ok, I searched PEiD on Google and found it. So what do I do to decompile a trainer? This is what PEiD said about the trainer:


Image.jpg
 Description:
 Filesize:  21.41 KB
 Viewed:  14648 Time(s)

Image.jpg




Last edited by Skull Kid on Sun Jul 05, 2009 2:52 am; edited 1 time in total
Back to top
View user's profile Send private message
Drkgodz
Flash moderator
Reputation: 2

Joined: 17 Jul 2006
Posts: 2997
Location: Houston

PostPosted: Sun Jul 05, 2009 2:42 am    Post subject: Reply with quote

You can't really do what you're asking about.
_________________
Back to top
View user's profile Send private message
Slugsnack
Grandmaster Cheater Supreme
Reputation: 71

Joined: 24 Jan 2007
Posts: 1857

PostPosted: Sun Jul 05, 2009 4:31 am    Post subject: Reply with quote

it's coded in MASM32/TASM32 so to add functionality your best option is to disassemble it. since it's coded in ASM the code should be clean and easy to read. also i see it's a win32 GUI type program. so if you wanted to add a button or something it's a simple case of using a resource editor to put in what you want then change their dialogproc to handle that. although they could well be using pure winapi to code it.. although UNLIKELY. i suggest looking for a call to dialogboxparam, etc. to find a pointer to the dialogproc
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Sun Jul 05, 2009 6:12 am    Post subject: Reply with quote

Lol, masm/tasm. You can read the source with OllyDbg in this case.
Back to top
View user's profile Send private message MSN Messenger
Skull Kid
Expert Cheater
Reputation: 2

Joined: 03 Jul 2009
Posts: 146

PostPosted: Sun Jul 05, 2009 9:55 am    Post subject: Reply with quote

Noz3001 wrote:
Lol, masm/tasm. You can read the source with OllyDbg in this case.

Ok.
Back to top
View user's profile Send private message
dnsi0
I post too much
Reputation: 0

Joined: 04 Jan 2007
Posts: 2674

PostPosted: Sun Jul 05, 2009 4:31 pm    Post subject: Reply with quote

Lol masm. The source code is there. Cause that's how it is written using assembly. If you don't understand assembly, if he handed you the source you wouldn't understand it.
Back to top
View user's profile Send private message
Skull Kid
Expert Cheater
Reputation: 2

Joined: 03 Jul 2009
Posts: 146

PostPosted: Tue May 25, 2010 10:50 am    Post subject: Reply with quote

Like dnsi0 said, I don't understand a thing when I opened up the trainer executable in OllyDbg.


Image.jpg
 Description:
 Filesize:  163.88 KB
 Viewed:  13978 Time(s)

Image.jpg


Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Tue May 25, 2010 11:01 am    Post subject: Reply with quote

saken wrote:
Like dnsi0 said, I don't understand a thing when I opened up the trainer executable in OllyDbg.


Umm.. you do know you're looking in the ndll module not the main module itself.
Back to top
View user's profile Send private message
Skull Kid
Expert Cheater
Reputation: 2

Joined: 03 Jul 2009
Posts: 146

PostPosted: Tue May 25, 2010 11:04 am    Post subject: Reply with quote

Därk Byte wrote:
saken wrote:
Like dnsi0 said, I don't understand a thing when I opened up the trainer executable in OllyDbg.


Umm.. you do know you're looking in the ndll module not the main module itself.


Ah, I see. What should I do to look at the main module?
Back to top
View user's profile Send private message
AtheistCrusader
Grandmaster Cheater
Reputation: 6

Joined: 23 Sep 2006
Posts: 681

PostPosted: Tue May 25, 2010 11:08 am    Post subject: Reply with quote

Right click -> view -> 'process name'
Back to top
View user's profile Send private message
Skull Kid
Expert Cheater
Reputation: 2

Joined: 03 Jul 2009
Posts: 146

PostPosted: Tue May 25, 2010 11:12 am    Post subject: Reply with quote

Ah, there it is. A little bit easier to understand. I'm so desperate in adding invincibility to the trainer. The game is Robot Wars Extreme Destruction. DEViANCE made a trainer for it, but did not include invincibility. So I guess I have to add that myself, or with someone's help.
_________________
Regards,

Skull Kid

Originally known as "saken".
Back to top
View user's profile Send private message
Jesper
Grandmaster Cheater Supreme
Reputation: 9

Joined: 21 Feb 2007
Posts: 1156

PostPosted: Tue May 25, 2010 12:51 pm    Post subject: Reply with quote

You'll be better off just making a separate trainer for invincibility.
Back to top
View user's profile Send private message
Skull Kid
Expert Cheater
Reputation: 2

Joined: 03 Jul 2009
Posts: 146

PostPosted: Tue May 25, 2010 12:53 pm    Post subject: Reply with quote

SwallowIt wrote:
You'll be better off just making a separate trainer for invincibility.


Ok. I guess I have to admit it, I'm a complete noob in programming.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2  Next
Page 1 of 2

 
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