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 


Save all process memory and load it to process

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

Joined: 07 Aug 2012
Posts: 7
Location: 127.0.0.1

PostPosted: Wed Aug 08, 2012 3:32 am    Post subject: Save all process memory and load it to process Reply with quote

Hi,
I'm want do something like this:
I have one game, and when I achieve good result on first part, then I hit pause and save all memory used by this process, in case I screw second part. So later I can load this "dump" file and start playing from time when I've saved it.
Is it possible with CE?

Im writeing C# program for this. Basicly it reads process memory and write it to file, which memory locations should I save?
00000000 -> FFFFFFFF ? I guess I cannot access other process memory by this
or this reported by cheat engine as reserved memory?

Thanks for Your reply
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Aug 08, 2012 4:55 am    Post subject: Reply with quote

you could always enable kernelmode memory access in settings to access 80000000 to ffffffff but what you wish to do isn't possible without also saving the states of the hardware and the whole operating system (so restoring would also restore all other programs running)

For example, you're not saving the textures and modules that have been uploaded to your videocard, so when the game continues and tries to display something, it'll fail.

Another example is the harddisk. The game might have closed a file after being saved, and when you load it back, the filehandle to that file will be invalid, so when it tries to read, it fails.

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

Joined: 07 Aug 2012
Posts: 7
Location: 127.0.0.1

PostPosted: Wed Aug 08, 2012 5:05 am    Post subject: Reply with quote

Thanks for reply,
this game isn't so advanced as far as I know it loads all textures before actual gameplay so everything should be the same as in previous state.
About files in harddisk anything that acctualy is writen is replay files, I was thinking before about backing them up Smile
When I find some time I'll try to do it, honestly I doubt in some results , but maybe I will learn something usefull Very Happy


EDIT: another thing just came to my mind.
would it be possible to make it by pauseing game, put computer to hibernate, load another OS, backup this file , then load to default OS, if I eventualy screw something I can rewrite my hibernation file and start again?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Wed Aug 08, 2012 5:52 am    Post subject: Reply with quote

That it loads all the textures at start is the problem, they get loaded at different locations so when you load back the state it will be wrong


Replacing the hibernation file might work, but it's not very userfriendly and takes a long time to restore

_________________
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
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