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 


"LoadTable" Manipulations!

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting
View previous topic :: View next topic  
Author Message
AylinCE
Grandmaster Cheater Supreme
Reputation: 32

Joined: 16 Feb 2017
Posts: 1260

PostPosted: Thu Mar 07, 2024 1:12 pm    Post subject: "LoadTable" Manipulations! Reply with quote

I'm still involved with this project and I think there's more oversight than I expected!

What attachments are integrated, created when loading a table (CT)?

The attachments listed in the current state of the project (Completed) are:

*Form(s)
*Address List
*Lua Script(s)

When you open a CT table, what other attachments that you have previously saved and come up with CT again?

For example;
*Add File (Added files or images.)

I want to process as many audits as possible before the project is completed.

What examples do you have?

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4307

PostPosted: Thu Mar 07, 2024 2:17 pm    Post subject: Reply with quote

Structures defined in structure dissect, cryptographic signature, code saved in "advanced options" window, userdefined symbols, "table extras" comments, disassembler comments...

Consult CE's source for more information. Specifically the function LoadXML in Cheat Engine/OpenSave.pas

_________________
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
AylinCE
Grandmaster Cheater Supreme
Reputation: 32

Joined: 16 Feb 2017
Posts: 1260

PostPosted: Thu Mar 07, 2024 3:22 pm    Post subject: Reply with quote

Presumably "openSave" aims to generate the following xml and make it readable for reloading.

Code:
<?xml version="1.0" encoding="utf-8"?>
<CheatTable CheatEngineTableVersion="45">
  <Files>

  </Files>
  <Forms>

  </Forms>
  <CheatEntries>
    <CheatEntry>

    </CheatEntry>
  </CheatEntries>
  <UserdefinedSymbols/>
  <LuaScript>

</LuaScript>
</CheatTable>


My question is, when a table is saved as CT, what else can be listed in xml?
In other words, everything that comes with Cheat Engine and is in the autorun folder is already loaded at startup.
But what else can be added with the CT extension, apart from customizations such as Form, Lua Script codes, Address list records (Address, script, etc.) and Add File?

Or; When you call LoadTable(), apart from the 4 options above, what else comes in a CT with user addition? (CE, MainForm and autorun folder plugins are already available. What else? )

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
ParkourPenguin
I post too much
Reputation: 140

Joined: 06 Jul 2014
Posts: 4307

PostPosted: Thu Mar 07, 2024 3:35 pm    Post subject: Reply with quote

AylinCE wrote:
My question is, when a table is saved as CT, what else can be listed in xml?
In other words, everything that comes with Cheat Engine and is in the autorun folder is already loaded at startup.
But what else can be added with the CT extension, apart from customizations such as Form, Lua Script codes, Address list records (Address, script, etc.) and Add File?

ParkourPenguin wrote:
Structures defined in structure dissect, cryptographic signature, code saved in "advanced options" window, userdefined symbols, "table extras" comments, disassembler comments...

Again, read CE's source if you want everything.

_________________
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
AylinCE
Grandmaster Cheater Supreme
Reputation: 32

Joined: 16 Feb 2017
Posts: 1260

PostPosted: Thu Mar 07, 2024 3:53 pm    Post subject: Reply with quote

There are many options in CE that I have not used.
The options I use are the ones that appear in the list.

Here is a test code and some details;

Code:
function myTableFullCode()
ss1 = createStringStream()
saveTable(ss1)
aa23 = ss1.DataString
print(aa23)
--loadTable(aa23,true)
ss1.Destroy()
return aa23
end

myTableFullCode()


(Just so you understand what I mean Wink
*Open CE and paste this code into the Lua script.
*Create a Form. (UDF1 etc.)
*Add address or script to address list.
*Add a txt file with Add File.

run the code.
You will see that the spaces in the xml codes I gave above are filled.

The question is;
Apart from these 4 additions (Form, Address list, Lua script, File), whatever you want to add is up to you.
Are the things you added externally included in the xml output list when you run the code?

Here I need additions other than the 4 known ones to that list.

What else can a CT record add to the xml list? ...

_________________
Hi Hitler Different Trainer forms for you!
https://forum.cheatengine.org/viewtopic.php?t=619279
Enthusiastic people: Always one step ahead
Do not underestimate me Master: You were a beginner in the past
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting 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