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 


Is it possible to dump the memory of a process to a file?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
CosmoCortney
Newbie cheater
Reputation: 0

Joined: 01 Apr 2015
Posts: 10
Location: under your bed

PostPosted: Tue Jul 05, 2016 2:45 pm    Post subject: Is it possible to dump the memory of a process to a file? Reply with quote

Hello,
every debugger made for video game consoles allows us to dump the memory to a file. Is Cheat Engine capable of doing so with any process loaded into memory?

I have found something labeled as Save memory region in the memory viewer. But I am unsure if it allows me to dump the RAM...
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Jul 05, 2016 3:53 pm    Post subject: Reply with quote

not all, but you can save sections using the memory view window file->save memory region

but you could probably also use the taskmanager, rightclick the process and then choose "create dump file"

_________________
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
CosmoCortney
Newbie cheater
Reputation: 0

Joined: 01 Apr 2015
Posts: 10
Location: under your bed

PostPosted: Tue Jul 05, 2016 4:11 pm    Post subject: Reply with quote

Tried the task manager method but there seems to be additional junk inside the dump so none of the addresses match.
When I try to dump the file with cheat engine as you have mentioned it tells me that not all of the memory was readable. The target address is at 0x03B53C98 and i wanted the dump to start at 0x00000000. But saving very small snippets works well. But that's not what I want
Back to top
View user's profile Send private message
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Tue Jul 05, 2016 6:09 pm    Post subject: Reply with quote

Use LordPE or IDA or similar software. CE is a memory scanner first and a debugger second so using a specialized software for your purpose works better than expecting another to be an AIO.
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
CosmoCortney
Newbie cheater
Reputation: 0

Joined: 01 Apr 2015
Posts: 10
Location: under your bed

PostPosted: Tue Jul 12, 2016 9:02 am    Post subject: Reply with quote

Well, I thought it'd be possible since a lot of debuggers for consoles can dump the memory which is a really helpful feature.
Well, LordPE seems to be unable to detect x64 programs Sad
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Tue Jul 12, 2016 9:09 am    Post subject: Reply with quote

Processes in windows act different than a console.

for example, address 0x00000000 to 0x0000ffff just doesn't exist. It's not 0, not 0xff , it just doesn't exist.
This is due to paging. Processes exist out of pages, which each point to a random physical memory location.

Also, unlike a book, pages can be missing. e.g pages 1 to 15 are usually missing, and this is fine. As long as the process doesn't reference those pages, everything will work as it should.
But this does cause an issue for dumping memory, as you would have to fill in the gaps for missing pages, which would basically be a waste of diskspace.


Of course, if you REALLY want to dump RAM, then enable kernelmode read/write process memory, open the [Physical Memory] process and save a memory region from 00000000 to whatever amount of RAM your system has (and perhaps a bit more to include device memory like a videocard)

_________________
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
CosmoCortney
Newbie cheater
Reputation: 0

Joined: 01 Apr 2015
Posts: 10
Location: under your bed

PostPosted: Tue Jul 12, 2016 9:44 am    Post subject: Reply with quote

Yea, I have noticed that it just maps a lot of snippets of RAM instead of a consecutive section. But this is totally fine. I can dump the right region if the address is between them. The problem is when the mapped memory area is not the same. I could dump the memory areas just fine with a tool called PETools. It supports x86 and x64 and shows me which memory regions have read/write-, execute permissions or cannot be accessed.
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