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
|
Posted: Wed Aug 08, 2012 3:32 am Post subject: Save all process memory and load it to process |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25806 Location: The netherlands
|
Posted: Wed Aug 08, 2012 4:55 am Post subject: |
|
|
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 |
|
 |
kvazinet How do I cheat?
Reputation: 0
Joined: 07 Aug 2012 Posts: 7 Location: 127.0.0.1
|
Posted: Wed Aug 08, 2012 5:05 am Post subject: |
|
|
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
When I find some time I'll try to do it, honestly I doubt in some results , but maybe I will learn something usefull
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25806 Location: The netherlands
|
Posted: Wed Aug 08, 2012 5:52 am Post subject: |
|
|
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 |
|
 |
|