View previous topic :: View next topic |
Author |
Message |
ALPhaKiLLer How do I cheat?
Reputation: 0
Joined: 07 Jan 2015 Posts: 6 Location: US
|
Posted: Sat Jan 02, 2016 1:49 pm Post subject: Copying from Memory View |
|
|
I've been trying to copy from one address to another in Memory View without having to click and drag (it's a long span of bytes), but can't find another way for the life of me.
I've tried Shift+Click, but to no avail it ended up selecting the byte I clicked on.
Am I missing something here, or does Cheat Engine not support this feature?
Thank you for the help guys!
------------------------
EDIT: Problem solved (in Memory View do File->Save memory region)
Last edited by ALPhaKiLLer on Sat Jan 02, 2016 2:34 pm; edited 2 times in total |
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jan 02, 2016 2:05 pm Post subject: |
|
|
Doesn't support this. You have to click and drag...  _________________
|
|
Back to top |
|
 |
ALPhaKiLLer How do I cheat?
Reputation: 0
Joined: 07 Jan 2015 Posts: 6 Location: US
|
Posted: Sat Jan 02, 2016 2:11 pm Post subject: |
|
|
That's unfortunate to hear (I have to click and drag a total of 200000 lines ). Thank you for the info, though. |
|
Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Sat Jan 02, 2016 2:23 pm Post subject: |
|
|
Code: | local addr_start = 0x00600000
local addr_end = 0x00601000
local value_size = 4
io.output("C:/zanzer.txt")
for i=addr_start,addr_end,value_size do
local value = readInteger(i)
local str = string.format("%04X\n", value)
io.write(str)
end
io.close() |
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25804 Location: The netherlands
|
Posted: Sat Jan 02, 2016 2:24 pm Post subject: |
|
|
You could use file->save memory region and file->load memory region.
Or lua:
Code: |
writeRegionToFile(filename,original,size)
loadRegionFromFile(filename2,newaddress,size)
|
or
Code: |
writeBytes(newaddress, readBytes(oldaddress, 200000*16, true))
|
note though that the readBytes fails if not all the memory exists (200000 lines may not sound like much, but it's already more than the ce tutorial) _________________
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 |
|
 |
ALPhaKiLLer How do I cheat?
Reputation: 0
Joined: 07 Jan 2015 Posts: 6 Location: US
|
|
Back to top |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Sat Jan 02, 2016 2:42 pm Post subject: |
|
|
Depends what you really want. I thought you wanted operate in MemoryView (HexView) only.
If you just want to copy from one place to another, there are dozens of methods.
Code: | autoAssemble([[
destinationAddress:
readmem(sourceAddress, size)
]]) |
(destinationAddress, sourceAddress are hex, size is decimal)
e.g.
Code: | autoAssemble([[
400600:
readmem(400500, 12)
]]) |
_________________
|
|
Back to top |
|
 |
ALPhaKiLLer How do I cheat?
Reputation: 0
Joined: 07 Jan 2015 Posts: 6 Location: US
|
Posted: Sat Jan 02, 2016 3:45 pm Post subject: |
|
|
The reason I was wanting to copy such a large sector was to extract one of the jitted DLLs for editing. _________________
"There are 10 types of people in the world: those who understand binary, and those who don't." |
|
Back to top |
|
 |
|