(Google translation)
CE automatically detects the data type in the structure window. How can I turn off automatic data type detection and manually set the data type I need when creating and filling out a structure?
For example, I need to create a "Structure dissect" window, where all data would be only of type "float", and all addresses are multiples of 4 bytes. How to do it?
Sorry for the bad english ...
Structure dissect
Re: Structure dissect
^ check out my 'Kena' table, and follow [Tools ~ Error & Settings ~ Maintenance scripts ~ Run All Form Scripts].
Inside that script, check out the 'openStructure' function. What is important here is, that you'll find the proper "keywords" for you to search @CEF for more details...
ps: i recall finding some of that stuff @CE's github; and part from a table posted by #FreeER @CEF. (basically, he made a table that "converts your struct to mr records" ~ iow you'll find most/all details in there)
oh yeah: i do not frequent these parts @FRF, so if i do not reply back within a couple of days then just pm me...
-EDIT-
found the reference back in my MM table: google "cheat engine Generate Memory Records From Structure"
Inside that script, check out the 'openStructure' function. What is important here is, that you'll find the proper "keywords" for you to search @CEF for more details...
ps: i recall finding some of that stuff @CE's github; and part from a table posted by #FreeER @CEF. (basically, he made a table that "converts your struct to mr records" ~ iow you'll find most/all details in there)
oh yeah: i do not frequent these parts @FRF, so if i do not reply back within a couple of days then just pm me...
-EDIT-
found the reference back in my MM table: google "cheat engine Generate Memory Records From Structure"
Last edited by Paul44 on Fri Dec 31, 2021 7:29 am, edited 1 time in total.
-
- Table Makers
- Posts: 690
- Joined: Mon Jul 06, 2020 3:19 am
- Reputation: 1260
Re: Structure dissect
Use this:
List of datatypes that make sense for the structure autoguess:
What you are doing is creating a function that is called when CE is guessing the type and then registering it with onAutoGuess(), so you need to call onAutoGuess() whenever you reset the function.
Code: Select all
function aGuess(address,guessType)
return vtSingle
end
onAutoGuess(aGuess)
- vtByte
- vtWord
- vtDword
- vtQword
- vtSingle
- vtDouble
- vtString
- vtUnicodeString
- vtByteArray
- vtPointer
What you are doing is creating a function that is called when CE is guessing the type and then registering it with onAutoGuess(), so you need to call onAutoGuess() whenever you reset the function.
Who is online
Users browsing this forum: No registered users