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 


Need help restoring data

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

Joined: 15 Aug 2012
Posts: 5

PostPosted: Wed Aug 15, 2012 10:43 pm    Post subject: Need help restoring data Reply with quote

A notepad file containing unsaved data crashed on my system during a save (facepalm). It is still open, but unresponsive. Is there any way I can use cheat engine to retrieve the data from the notepad file? Thanks in advance.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Aug 15, 2012 11:02 pm    Post subject: Reply with quote

Target the notepad process and do a text scan for one word or sentence in there (do both unicode and non unicode if you don't find it first)
_________________
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
ponana
How do I cheat?
Reputation: 0

Joined: 15 Aug 2012
Posts: 5

PostPosted: Wed Aug 15, 2012 11:07 pm    Post subject: Reply with quote

Ok, I searched for a word and got 8 addresses, which sounds about right. Where do I go from here?

I appreciate the response, it's half five in the morning here and I haven't slept yet because I cant solve this problem!
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Aug 15, 2012 11:12 pm    Post subject: Reply with quote

rightclick each address and do a browse this memory region
You can then read the memory around there

If you found a block that contains all of the original text, then click file->save memory region and fill in the start and stop address (you have to find those manually.

(you might be able to copy/paste, but big copy/pastes are sometimes buggy)

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

Joined: 15 Aug 2012
Posts: 5

PostPosted: Wed Aug 15, 2012 11:20 pm    Post subject: Reply with quote

Thank you so much! I can see all of my work! one problem though, the 2 memory addresses I found were: C810E2BDCA and C810E2E86A. These are 10 characters long, and wont fit in the "from" and "to" boxes. I got these addresses of the left side of the bottom section of the memory viewer, is that wrong?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Aug 15, 2012 11:26 pm    Post subject: Reply with quote

Hmm, seems you're in 64-bit windows and this is a bug in ce

Try typing it over

Or, click tools->lua engine and type in:

if unicode:
Code:

s=readString(0xC810E2BDCA, 10912, true)

writeToClipboard(s)


if not unicode
Code:

s=readString(0xC810E2BDCA, 10912)

writeToClipboard(s)

And click the execute button

Then just paste somewhere and hope it's correct

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

Joined: 15 Aug 2012
Posts: 5

PostPosted: Wed Aug 15, 2012 11:29 pm    Post subject: Reply with quote

I got an error, "error:[string "s=readString(0xC810E2BDCA, 10912, true) ..."]:3: attempt to call global 'writeToClipboard' (a nil value)". Again, thank you so much for your time! :)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Aug 15, 2012 11:33 pm    Post subject: Reply with quote

Oh, you're not using a recent version of Cheat Engine.

In that case, replace "writeToClipboard(s)" with "print(s)" so it outputs it in the lua display, from which you can copy as well

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

Joined: 15 Aug 2012
Posts: 5

PostPosted: Wed Aug 15, 2012 11:43 pm    Post subject: Reply with quote

That fixed it. I really cant thank you enough! If I had the money I would shower you with gold and oversized cookies for eternity. I have literally been up for 5 hours stressing over losing my work, and you completely restored it on your own! Thank you! You are an awesome person!
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