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 


Copying from Memory View

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

Joined: 07 Jan 2015
Posts: 6
Location: US

PostPosted: Sat Jan 02, 2016 1:49 pm    Post subject: Copying from Memory View Reply with quote

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! Smile

------------------------
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
View user's profile Send private message Send e-mail
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Jan 02, 2016 2:05 pm    Post subject: Reply with quote

Doesn't support this. You have to click and drag... Confused
_________________
Back to top
View user's profile Send private message MSN Messenger
ALPhaKiLLer
How do I cheat?
Reputation: 0

Joined: 07 Jan 2015
Posts: 6
Location: US

PostPosted: Sat Jan 02, 2016 2:11 pm    Post subject: Reply with quote

That's unfortunate to hear (I have to click and drag a total of 200000 lines Confused ). Thank you for the info, though.
Back to top
View user's profile Send private message Send e-mail
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Jan 02, 2016 2:23 pm    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jan 02, 2016 2:24 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
ALPhaKiLLer
How do I cheat?
Reputation: 0

Joined: 07 Jan 2015
Posts: 6
Location: US

PostPosted: Sat Jan 02, 2016 2:32 pm    Post subject: Reply with quote

Ah, File-Save memory region works great!

Thank you both @Zanzer and @Dark Byte for your solutions Very Happy

_________________
"There are 10 types of people in the world: those who understand binary, and those who don't."
Back to top
View user's profile Send private message Send e-mail
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Sat Jan 02, 2016 2:42 pm    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
ALPhaKiLLer
How do I cheat?
Reputation: 0

Joined: 07 Jan 2015
Posts: 6
Location: US

PostPosted: Sat Jan 02, 2016 3:45 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail
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