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 


Saving only memory record

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Merlini
Advanced Cheater
Reputation: 2

Joined: 12 Jun 2016
Posts: 53

PostPosted: Fri Jun 02, 2017 2:32 pm    Post subject: Saving only memory record Reply with quote

Hello DB,

Is there anyway to save cheat engine's memory record/script only?

The goal is to save a barebone version of a table to be shared with
other players and strip the table of say
<UserdefinedSymbols>
<Structures>
<LuaScript>
etc. that is not essential to running the script.

If possible in CE 6.7 could you include a menu option to save only the
barebone/minimum save for sharing purpose?

Thank you.
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 42

Joined: 09 Aug 2013
Posts: 1089

PostPosted: Sat Jun 03, 2017 11:00 am    Post subject: Reply with quote

I'm not sure this needs to be a feature... just open the ct file in a text (or xml) editor and delete the parts you don't want... or just select what you want from the address list, copy them and then paste them into a new CE instance / text file and save it. Unless you're doing this dozens of times a day it doesn't seem like a big issue.

Though it's possible someone could create a lua script that would remove most of those things from a table and simply add it to an autorun file that runs it when you click a button like I did for duplicating a scan tab.... hm,

Code:
for i = 0, getStructureCount() do
  getStructure(i).removeFromGlobalStructureList()
end
should work for removing structures (at least in theory, I haven't tested it)

I don't see any way to automatically remove symbols but
Code:
mv.Menu.Items[2].Item[20].doClick()
should open the userdefined symbol list and let the user remove them...

I also don't see anyway to get the table luascript or or comments (without enumerating every address at least)... at least not that's mentioned in main.lua (though I could have skipped over it even with keyword searches, there's a lot of information in there lol)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 380

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

PostPosted: Sat Jun 03, 2017 11:52 am    Post subject: Reply with quote

the barebone minimum depends on the person you ask.

if your AA or lua scripts reference structure offsets by name then the structures have to stay

there is a menu option to delete all structures though

_________________
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
STN
I post too much
Reputation: 35

Joined: 09 Nov 2005
Posts: 2582

PostPosted: Sat Jun 03, 2017 12:09 pm    Post subject: Reply with quote

^ It will cause problems if CE didn't save that data. Removing them yourself isn't that big a deal as the xml files are simple text files
_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Merlini
Advanced Cheater
Reputation: 2

Joined: 12 Jun 2016
Posts: 53

PostPosted: Sat Jun 03, 2017 1:08 pm    Post subject: Reply with quote

Dark Byte wrote:
the barebone minimum depends on the person you ask.

if your AA or lua scripts reference structure offsets by name then the structures have to stay

there is a menu option to delete all structures though


That makes a lot of sense.
I didn't know you could use structure items as a labels in scripts.

I already made a script that removes list of tags and its contents from ct tables.
I was thinking that if this functionality was part of CE core, then
I don't have to micromanage code maintenance across CE updates.

Thanks a lot DB and friends.
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