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 


Question about exporting data structures

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

Joined: 25 Sep 2020
Posts: 26

PostPosted: Tue Oct 27, 2020 12:43 pm    Post subject: Question about exporting data structures Reply with quote

When I do a string search, some of the results seem to be arranged in a giant table along with other relevant data. I'd like to dump this entire table into a format that's more accessible for me, can be read/imported into other applications, etc.

What would be the best way to go about doing this?
Back to top
View user's profile Send private message
soggytoast111
Cheater
Reputation: 0

Joined: 25 Sep 2020
Posts: 26

PostPosted: Wed Oct 28, 2020 10:29 am    Post subject: Reply with quote

No ideas?

At least I could do an Lua script to crawl along the memory and output to a .csv or something like that, right? What Lua functions would I be using to read memory/write to file?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4706

PostPosted: Wed Oct 28, 2020 11:16 am    Post subject: Reply with quote

Lua I/O: https://www.lua.org/manual/5.3/manual.html#6.8
CE API: main.lua (file in main CE directory); also see the CE wiki

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Csimbi
I post too much
Reputation: 97

Joined: 14 Jul 2007
Posts: 3327

PostPosted: Wed Oct 28, 2020 5:02 pm    Post subject: Reply with quote

There's a 'save as' in dissect data of you want it as text.
Back to top
View user's profile Send private message
soggytoast111
Cheater
Reputation: 0

Joined: 25 Sep 2020
Posts: 26

PostPosted: Fri Oct 30, 2020 1:34 pm    Post subject: Reply with quote

I originally tried dissect data method, but that was not quite what I was looking for. I couldn't figure out how to build a table with row/columns in the way that I wanted.

All is good though, got it working with a lua script! The i/o functions was the missing piece that I needed. Thanks.
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