Page 1 of 1
Useful Function to Inspect Properties of any CE Object
Posted: Sun Jan 22, 2023 1:29 am
by Azaias
EDIT: proprint is the improved version of this and is much better imo. Please check out that post instead
I made a function for inspecting Cheat Engine Objects called propertyprint
It prints all of the properties and their values for the given instance of a Cheat Engine Object (like Forms, Components, etc..)
To use it, you can just put it in your Cheat Engine autorun folder.
If you give it something like the MainForm it will give you a ton of data lol
(Example)

- propprint.png (48.69 KiB) Viewed 10354 times
The (new) version also searches the metatable and finds anything that it hasn't already, excluding functions and methods (I just wanted it to get the properties)
EDIT: I found some problems with the new one but most problems should be fixed now, I updated it. Still wokring on improving it though.
Re: Useful Function to Inspect Properties of any CE Object
Posted: Sun Jan 22, 2023 2:44 am
by Eric
Don't forget to crossreference the metatable fields as well. When a property isn't published it sometimes gets added as a metadata field
Re: Useful Function to Inspect Properties of any CE Object
Posted: Sun Jan 22, 2023 4:11 am
by Azaias
Eric wrote: Sun Jan 22, 2023 2:44 am
Don't forget to crossreference the metatable fields as well. When a property isn't published it sometimes gets added as a metadata field
Thanks! I'll look into that. I was actually playing around with printing the contents of the metatables before I made this
Re: Useful Function to Inspect Properties of any CE Object
Posted: Sun Jan 22, 2023 7:07 pm
by Azaias
Eric wrote: Sun Jan 22, 2023 2:44 am
Don't forget to crossreference the metatable fields as well. When a property isn't published it sometimes gets added as a metadata field
I added a newer version that incorporates that 
I tried having even the recursive iterations crossreference the metatables but it just kept repeating the same info for almost every property and ended up with an insanely ridiculous amount of output lol. I just made the main (non-recursive) iterations crossreference it and it does find data that it didn't before.
Thanks again!