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 


Cheat Engine Forum Index
PostGo back to topic
FreeER
Grandmaster Cheater Supreme
Reputation: 42
Joined: 09 Aug 2013
Posts: 1089

PostPosted: Sun Aug 06, 2017 7:07 am    Post subject: Generate Memory Records From Structure

As the title says, this is a lua extension designed to allow you to Generate Memory Records From a Structure that you've created in the Dissect data/structures window.

adds one global function generateFromStructure (yes that's verbose, but it should also help prevent any accidental name collisions) that takes the memory record to look at and optionally the structure to use and offset (defaults to 0), if the struct is not given it prompts for both struct and offset (just like clicking the menu item)

Demo: https://youtu.be/V3SZWJQnGYs

Update Log
v1.0. Release
v1.1. Updated to set memory records to showAsHex or showAsSigned based on DisplayMethod from struct element
v1.2 Updated to use "FreeER's Extensions" menu, to disable change useGroupMenu boolean in file to false


download:
https://github.com/FreeER/CE-Extensions/blob/master/genFromStruct.lua

Old versions:
v1.1 - https://ufile.io/0y2tv
v1.0 - https://ufile.io/f1pat

Just place the lua file in the autoruns folder

I'm sure it can be improved but it seems to be working Smile


Last edited by FreeER on Thu Apr 19, 2018 9:19 pm; edited 3 times in total
Back to top
View user's profile Send private message
Post reviews:   Approve 1
Author Review
Csimbi
Review: Approve
Post reference:
ReviewPosted: Thu Jan 11, 2018 12:14 pm

neat!
Back to top
View user's profile Send private message
Display:  
Cheat Engine Forum Index


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites