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 


Possible to convert EXE trainer back into CT table?

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

Joined: 29 Jul 2013
Posts: 39

PostPosted: Sat Mar 14, 2015 3:15 pm    Post subject: Possible to convert EXE trainer back into CT table? Reply with quote

Is this possible? Often there's Cheat Engine EXE trainers posted around on the web and I'd rather just run the tables from within Cheat Engine.
Back to top
View user's profile Send private message
hhhuut
Grandmaster Cheater
Reputation: 6

Joined: 08 Feb 2015
Posts: 607

PostPosted: Sat Mar 14, 2015 3:51 pm    Post subject: Reply with quote

That would mean to decompile the EXE file which is not possible. It's possible to extract some data strutctures and things, but since a compiler translates all variable names into addresses it's not possible to recover them in order to fully recover the auto assemble script ...
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 891

PostPosted: Tue Mar 17, 2015 9:39 pm    Post subject: Reply with quote

Yes, it is thankfully possible. No cheat is worth risking the security of your computer.

The best way, of course, is to ask the author to upload a table. If that doesn't work, you'll need to extract the archive from the .rsrc section of the PE header, snip and record the first dword for the number of files, pass it through zlib deflate, and extract the .CEtrainer file from the archive (format: [pstring fname, pstring dname, pstring data]*num_files). You can run this portion via CE or decrypt it into a table using the unprotecttrainer algorithm.

I was thinking that at one point CE allowed you to simply open trainer .exe files to see the scripts, but that doesn't seem possible at present. You could trivially pull the data from memory once it was unpacked and "decrypted", but that would require that you run the trainer and defeat the purpose.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
daninthemix
Cheater
Reputation: 0

Joined: 29 Jul 2013
Posts: 39

PostPosted: Wed Mar 18, 2015 2:58 am    Post subject: Reply with quote

Your post left me lost. Would you be at all willing to do it? At least then we'd have a working Shadow Man table for the board (a game from 1999!).

I tried messaging the author but he doesn't respond. I can't post URLs yet so PM me for the link.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 891

PostPosted: Wed Mar 18, 2015 4:49 am    Post subject: Reply with quote

I could post code to do it, but I don't know how DB feels about it. I'm certainly not going to become a bot for unpacking everyone else's trainers.
_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
daninthemix
Cheater
Reputation: 0

Joined: 29 Jul 2013
Posts: 39

PostPosted: Wed Mar 18, 2015 4:52 am    Post subject: Reply with quote

"Code" as in a full-blown app? A program to do this would be very useful for people. As you said, no cheat is worth risking the security of your PC, and trainers all require elevation to run so they're especially risky.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Wed Mar 18, 2015 9:37 am    Post subject: Reply with quote

I think things like this are better left to those that can work it out on their own. Rippers that steal work and don't give credit are the worst...especially those that profit monetarily.

Regarding security...there are ways to mitigate/eliminate risk.
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