Skip to content

Remove PointerSize attribute (dissect structure RLE compression)#236

Merged
cheat-engine merged 1 commit intocheat-engine:masterfrom
mgrinzPlayer:RLE-compression-for-structures
Oct 16, 2017
Merged

Remove PointerSize attribute (dissect structure RLE compression)#236
cheat-engine merged 1 commit intocheat-engine:masterfrom
mgrinzPlayer:RLE-compression-for-structures

Conversation

@mgrinzPlayer
Copy link
Copy Markdown
Contributor

Looks like PointerSize attribute is not needed for pointers when RLE compression is used. I analysed tens of CT files with structures created with CE6.7, and found out that Bytesize attribute is always the same as PointerSize attribute.

Conclusion, I can just use TStructelement.fbytesize field (based on just loaded data from XML) instead of TStructelement.Bytesize property (based on processhandler.pointersize when structelement is a pointer)

Looks like PointerSize attribute is not needed for pointers when RLE compression is used. I analysed tens of CT files with structures created with CE6.7, and found out that Bytesize attribute is always the same as PointerSize attribute.

Conclusion, I can just use TStructelement.fbytesize field (based on just loaded data from XML) instead of TStructelement.Bytesize property (based on processhandler.pointersize when structelement is a pointer)
@cheat-engine cheat-engine merged commit 798c7ae into cheat-engine:master Oct 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants