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 


Why is createProcess causing Cheat Engine to hang?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
flarn2006
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2012
Posts: 73

PostPosted: Thu Jun 13, 2013 3:35 pm    Post subject: Why is createProcess causing Cheat Engine to hang? Reply with quote

I found this neat game called Perspective (from DigiPen, Google it), and I wanted to see what could be modded. I looked in its files, and found that pretty much all of the game's data was stored in standard formats in a renamed ZIP file called Default.bin. But when I tried to extract it, I found that for some reason they decided to encrypt it. Mad

I tried extracting the strings from the EXE and using that in a dictionary attack, but I don't think it worked (though it's possible I did something wrong.) So I fired up IDA Pro and found the point where it reads the files. I haven't found any kind of password or encryption key, but I did find a point where all the files are loaded into memory. By setting a breakpoint at a certain point in the program, it's possible to find an address where later on in the program each file is extracted to, only to be overwritten by the next file later.

So I wrote a Lua script to try and capture these files in memory as they are extracted and save them unencrypted. But for some reason, every time I execute it, Cheat Engine just hangs and I have to quit it from Task Manager. It seems to be createProcess that causes this to happen, as if I only execute lines 10 and 11 (see below Pastebin post) the same thing happens. Anyone know why this is happening?

You can find the script I wrote at pastebin dot com slash XA6ta1HD (which would be a link but for some reason I can't post URLs yet. Blame the admins.)

Also, if anyone wants to try and figure out the password themselves, that would be greatly appreciated too! Very Happy

I still don't know why they encrypted it... Confused
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 457

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

PostPosted: Thu Jun 13, 2013 3:43 pm    Post subject: Reply with quote

Make sure you use the windows debugger interface, and that you're using CE 6.3 (it fixes the break on entry bug)
_________________
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
flarn2006
Advanced Cheater
Reputation: 1

Joined: 27 Nov 2012
Posts: 73

PostPosted: Thu Jun 13, 2013 5:29 pm    Post subject: Reply with quote

Dark Byte wrote:
Make sure you use the windows debugger interface, and that you're using CE 6.3 (it fixes the break on entry bug)

Ah, I'm using 6.2. Thanks; let me upgrade and see if that fixes it!
Back to top
View user's profile Send private message
Alton
How do I cheat?
Reputation: 0

Joined: 18 Jun 2013
Posts: 1

PostPosted: Tue Jun 18, 2013 7:25 am    Post subject: Reply with quote

Cheat Engine just hangs and I have to quit it from Task Manager. It seems to be createProcess that causes this to happen, as if I only execute lines 10 and 11 (see below Pastebin post) the same thing happens.
_________________
liza
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 Lua Scripting 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