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 can I extract the XM file from a trainer I made?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
gir489
Grandmaster Cheater
Reputation: 14

Joined: 03 Jan 2012
Posts: 835
Location: Maryland, United States

PostPosted: Mon Aug 04, 2014 8:46 am    Post subject: How can I extract the XM file from a trainer I made? Reply with quote

I made a test trainer for Far Cry 2 in the late hours of the morning some time recently, and I packed it with an XM I wanted to use for release, but I didn't back it up, and now it's somewhere in my collection and I don't remember which it is.

I tried gutting the CETRAINER part of the module, but I get an error saying: error can not read stream byte 1 of file. It looks like it's compressed or something, so I saw something else in the PE called decompressor, and tried to run it against that, but I guess all that does is decompress it in memory.

Here's the trainer: https://www.mediafire.com/?kly6ja9dkwp83yr
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 218

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Mon Aug 04, 2014 9:14 am    Post subject: Reply with quote

standalone trainers have layers like an onion (but, it doesn't smell).
Code:
xmplayer.playXM( findTableFile('TRAINERXM') )


findTableFile function will use this (more or less):
Code:
Base85ToBin( xmlReader.Node().TextContent() )
or
hexToBin( xmlReader.Node().TextContent() )


and XML document is a CT file. CheatEngine "converts' CETRAINER to CT file in memory:
Code:
xml = decompress(decrypt( CETRAINER))


CETRAINER file and minimal CE installation is inside %temp%\cetrainers\CETxxx.tmp\extracted and is immediately deleted just after conversion.



But, before any of this, your standalone trainer extracts decompressor and archive into
%temp%\cetrainers\CETxxx.tmp\

decompressor will have the very same name as the first EXE, archive will be saved as CET_Archive.dat.
CET_Archive.dat itself is a zlib archive and it contains "minimal CE installation" and CETRAINER file.

Decompressor extracts those files into %temp%\cetrainers\CETxxx.tmp\extracted.



Anyway, here your XM file (open it with CE and save your XM file to disk)



CT file.CT
 Description:

Download
 Filename:  CT file.CT
 Filesize:  67.71 KB
 Downloaded:  1105 Time(s)


_________________


Last edited by mgr.inz.Player on Mon Aug 04, 2014 9:16 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
gir489
Grandmaster Cheater
Reputation: 14

Joined: 03 Jan 2012
Posts: 835
Location: Maryland, United States

PostPosted: Mon Aug 04, 2014 9:16 am    Post subject: Reply with quote

10/10 doesn't smell.
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 42

Joined: 09 Nov 2005
Posts: 2672

PostPosted: Mon Aug 04, 2014 9:16 am    Post subject: Reply with quote

I love this tune, i couldn't extract it (trainer doesn't even run on my system win8) but i remembered it by listening to it. This is it right ?

http://keygenmusic.net/?page=team&teamname=edge
Download the tune used in Norton Internet Security 2007 keygen

the tune is called complications ii, found it on youtube as well

The original i think
https://www.youtube.com/watch?v=VGv2V72Tit8


EDIT: nvm 2 mins late

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
gir489
Grandmaster Cheater
Reputation: 14

Joined: 03 Jan 2012
Posts: 835
Location: Maryland, United States

PostPosted: Mon Aug 04, 2014 9:28 am    Post subject: Reply with quote

Ew he rendered the video with Protracker. Protracker is and always was garbage. I remember running it on my 500 and thinking "This is the biggest piece of shit ever."

Fasttracker 2 was better.
Back to top
View user's profile Send private message
ShooD
How do I cheat?
Reputation: 0

Joined: 04 May 2014
Posts: 8

PostPosted: Thu Oct 16, 2014 2:49 pm    Post subject: Reply with quote

I have a problem. I saved the values ​​as "ctrainer" file. How can I now edit it in Cheat Engine? The program closes immediately after opening. Thank you.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Oct 16, 2014 3:11 pm    Post subject: Reply with quote

As long as you didn't say yes to protecting it you can rename it to .ct and open it
_________________
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
ShooD
How do I cheat?
Reputation: 0

Joined: 04 May 2014
Posts: 8

PostPosted: Fri Oct 17, 2014 9:03 am    Post subject: Reply with quote

Thank you. Sorry for the stupid question.
Back to top
View user's profile Send private message
taylorgates
How do I cheat?
Reputation: 0

Joined: 21 Apr 2014
Posts: 1

PostPosted: Fri Oct 31, 2014 2:20 pm    Post subject: Reply with quote

hey you can tell me how i get the CETRAINER file before it will delete after lunching the trainer ?
Back to top
View user's profile Send private message AIM Address
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