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 


Using existing header file for Memory View

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

Joined: 22 Dec 2020
Posts: 7

PostPosted: Sun May 19, 2024 3:55 pm    Post subject: Using existing header file for Memory View Reply with quote

I have an *.hpp file that describes the memory structure at given address. It describes it perfectly, with padding and such.

Is there a way to import that into CE to have more human-readable presentation?

An example:
Code:

class TargetData {
  uint8_t         unk[0x018];
  struct  Slots[3];
};
//etc


I can adapt/prep-process syntax if slightly different required, it is not a problem.
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4714

PostPosted: Sun May 19, 2024 4:52 pm    Post subject: Reply with quote

There's a Lua API for manipulating structures. See the createStructure function and the structure / StructureElement classes in celua.txt.

You'll need to parse the header file yourself. Good luck with that.

_________________
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
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