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 Extensions
View previous topic :: View next topic  
Author Message
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Sun Aug 06, 2017 7:07 am    Post subject: Generate Memory Records From Structure This post has 2 review(s) 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
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



genFromStruct.lua
 Description:
v1.2

Download
 Filename:  genFromStruct.lua
 Filesize:  13.97 KB
 Downloaded:  1203 Time(s)


genFromStruct.lua
 Description:
v1.1

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



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
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

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
FreeER
Grandmaster Cheater Supreme
Reputation: 53

Joined: 09 Aug 2013
Posts: 1091

PostPosted: Fri Oct 27, 2017 6:43 pm    Post subject: Reply with quote

update: changed to be inside a Menu called "FreeER's Extensions", if you don't want that simply open the file and change
Code:
local useGroupMenu = true
to
Code:
local useGroupMenu = false


https://ufile.io/txmo9
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 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