FreeER Grandmaster Cheater Supreme Reputation: 53 Joined: 09 Aug 2013 Posts: 1091
|
Posted: 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
Last edited by FreeER on Thu Apr 19, 2018 9:19 pm; edited 3 times in total
|
|