| Author |
Message |
   
Charles Arthur Ricketts II
| | Posted on Monday, Jul 11, 2005 - 22:28: | |
I'm using WinHex (registered non-forensics license) and I would just like to know if it's possible to copy data from a file into RAM. A game I'm playing will not let you save during a mission, so I figured a hex editor would do this for me? If WinHex is uncapable of doing this, could anybody recommend a program that can? |
   
Stefan Fleischmann (Admin)
| | Posted on Monday, Jul 11, 2005 - 22:34: | |
It would be possible to copy data from a file into RAM with WinHex. However, since memory is provided to programs dynamically, and the addresses of certain virtual memory sections in physical RAM may change at any time, what you have in mind I'm afraid cannot be done practically. Plus it is probably impossible to properly identify all the relevant and irrelevant sections in memory that need to be saved or ignored, respectively. |
   
Charles Arthur Ricketts II
| | Posted on Monday, Jul 11, 2005 - 22:44: | |
Even if I kept the program running to overwrite it's RAM it would not work? That all I'm really wanting to do. You say it's possible, could you elaborate? |
   
Stefan Fleischmann (Admin)
| | Posted on Monday, Jul 11, 2005 - 22:52: | |
- If you are referring to copying/overwriting physical RAM: The addresses of certain virtual memory sections in physical RAM may change at any time. - It is probably impossible to properly identify all the relevant and irrelevant sections in memory that need to be saved or ignored. - If you are referring to the logical/virtual memory of that particular process, you cannot simply copy certain sections of the memory and later overwrite memory because the program was active in the meantime, such that allocated sections in memory may have disappeared (the address space has new holes), new sections have appeared (filling previous holes), others may have been resized. |
   
Charles Arthur Ricketts II
| | Posted on Tuesday, Jul 12, 2005 - 0:37: | |
I realize this, I am a programmer. I don't mean to sound rude, so don't let this rub you the wrong way: But you said that it is possible to copy data from a file and paste it into the Ram Editor and I would just like to know how so that I could apply the process to anything else I might have to do (such as just editing the health - probably not a good example, but you get my drift). |
   
Stefan Fleischmann (Admin)
| | Posted on Tuesday, Jul 12, 2005 - 0:43: | |
> I would just like to know how Copy = Ctrl+C (copies what is currently selected as a block) Paste (in overwrite mode) = Ctrl+B (writes what is currently contained in the clipboard) |