View previous topic :: View next topic |
Author |
Message |
Merlini Advanced Cheater Reputation: 2
Joined: 12 Jun 2016 Posts: 53
|
Posted: Fri Jun 02, 2017 2:32 pm Post subject: Saving only memory record |
|
|
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 |
|
|
FreeER Grandmaster Cheater Supreme Reputation: 53
Joined: 09 Aug 2013 Posts: 1091
|
Posted: Sat Jun 03, 2017 11:00 am Post subject: |
|
|
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 |
|
|
Dark Byte Site Admin Reputation: 458
Joined: 09 May 2003 Posts: 25287 Location: The netherlands
|
Posted: Sat Jun 03, 2017 11:52 am Post subject: |
|
|
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 |
|
|
STN I post too much Reputation: 42
Joined: 09 Nov 2005 Posts: 2672
|
Posted: Sat Jun 03, 2017 12:09 pm Post subject: |
|
|
^ 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
_________________
|
|
Back to top |
|
|
Merlini Advanced Cheater Reputation: 2
Joined: 12 Jun 2016 Posts: 53
|
Posted: Sat Jun 03, 2017 1:08 pm Post subject: |
|
|
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 |
|
|
|