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 


How do i copy large chunks of data?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 172

PostPosted: Thu Sep 23, 2021 4:44 am    Post subject: How do i copy large chunks of data? Reply with quote

I have a huge section of memory that i need to copy. Its a lot of bytes. Thousands of bytes from one address to the other.

I can do it manually, by selecting one address than shift then scrolling the click again in the next address and that selects all the bytes in the memory, but its taking so much time and causing me to do mistakes like clicking the wrong by address.

Is there an alternative?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

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

PostPosted: Thu Sep 23, 2021 4:54 am    Post subject: Reply with quote

lua
Code:

copyMemory(sourceaddress, size, destinationaddress)

_________________
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
LongBeardedLion
Expert Cheater
Reputation: 0

Joined: 10 Apr 2020
Posts: 172

PostPosted: Fri Sep 24, 2021 2:09 am    Post subject: Reply with quote

Thank you that worked.

But thats not exactly what im trying to do.

I need to copy the bytes to the clipboard. So that i can reset the application and test it again.

Is this possible?
Back to top
View user's profile Send private message
Birdi
Expert Cheater
Reputation: 0

Joined: 08 Jun 2020
Posts: 122
Location: Migrating

PostPosted: Sat Sep 25, 2021 3:45 am    Post subject: Reply with quote

You can just print out the sections of bytes that you need with Lua either to the Lua window or write to file using i/o with lua.
It's saved for you to copy in both instances, just not directly to your clipboard

_________________
Trying to learn!

Add me on Discord if you want hands-on help: Birdi#0007
Back to top
View user's profile Send private message Visit poster's website
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8517
Location: 127.0.0.1

PostPosted: Sat Sep 25, 2021 3:26 pm    Post subject: Reply with quote

CE's Lua offers:

Code:

writeToClipboard(text):  Writes the given text to the clipboard


Convert the bytes to a string and then pass that string to the 'writeToClipboard'.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
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