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 


Bloated scripts or useful - structures section in a table

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Straputsky
How do I cheat?
Reputation: 0

Joined: 09 Aug 2009
Posts: 7

PostPosted: Mon Apr 09, 2018 2:40 am    Post subject: Bloated scripts or useful - structures section in a table Reply with quote

Hello,
sometimes I see tables which are way larger in size than usual. Using notepad I then find code which seems not to be used. When I copy&paste the scripts of such a table to another instance of CE, all the "bloat" is gone and the size back to normal.
Is it really useless or is something important to this data? What happened in the first place, so that it got written to the file?

An excerpt from an example (Far Cry 3 cheat table):

<Structures StructVersion="2">
<Structure Name="unnamed structure" AutoFill="0" AutoCreate="1" DefaultHex="0" AutoDestroy="0" DoNotSaveLocal="0" AutoCreateStructsize="4096">
<Elements>
<Element Offset="0" Vartype="Pointer" Bytesize="4" DisplayMethod="Unsigned Integer" BackgroundColor="80000005"/>
...
Back to top
View user's profile Send private message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Mon Apr 09, 2018 5:16 am    Post subject: Reply with quote

Do you make tables? If so "Structure" should remind you of something (Data/Structure Dissect), if not then it's from people using a part of CE to auto-guess data types for memory, the default memory size is 4096 which is about 1000 four byte values which can take up a fair amount of space particularly if you do it for multiple different structures.

Most of the time that data is unused after the table is developed, but it can be used to refer to the offsets of a structure by name (eg. [rax+player.health] instead of [rax+0x48]).

_________________
https://github.com/FreeER/ has a few CE related repos
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