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 


Generate Memory Records From Structure

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine Lua Scripting -> Lua Extensions
View previous topic :: View next topic  
Author Message
FreeER
Master Cheater
Reputation: 10

Joined: 09 Aug 2013
Posts: 307

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

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


download:
https://www.dropbox.com/s/dfabviyjykl7xuv/genFromStruct.lua?dl=0
https://ufile.io/0y2tv

Old versions:
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



genFromStruct.lua
 Description:
v1.1

Download
 Filename:  genFromStruct.lua
 Filesize:  13.12 KB
 Downloaded:  251 Time(s)



Last edited by FreeER on Sat Aug 12, 2017 7:18 am; edited 1 time in total
Back to top
View user's profile Send private message
FreeER
Master Cheater
Reputation: 10

Joined: 09 Aug 2013
Posts: 307

PostPosted: Sat Aug 12, 2017 7:17 am    Post subject: Reply with quote

quick update to set memory records to showAsHex or showAsSigned based on DisplayMethod from struct element.

see OP for download
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 Lua Scripting -> Lua Extensions 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