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 


[Suggestion] Memory Viewer mass address Edit lua extension

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Branimir
Advanced Cheater
Reputation: 0

Joined: 12 May 2015
Posts: 58

PostPosted: Mon Aug 03, 2020 1:12 pm    Post subject: [Suggestion] Memory Viewer mass address Edit lua extension Reply with quote

Hello there.

I've been wondering...

Can someone make a lua extension that enables the 'Edit' option in the Memory Viewer to mass/bulk edit addresses?

Example: Click and drag from/to your desired address.
(The selections will turn RED) -> Right-click -> Edit -> Profit.

I know that I can simply use this script to do it from outside the Memory Viewer:

Code:
function addMoreAddresses(baseAddress, step, endAddress)
  if type(baseAddress) == "number" then
    baseAddress = string.format("%X",baseAddress)
  end
  if type(step) == "string" then
    step = tonumber(step,16)
  end
  if type(endAddress) == "number" then
    endAddress = string.format("%X",endAddress)
  end

  local al = getAddressList()

  local base = al.createMemoryRecord()
  base.setAddress(baseAddress)
  base.setDescription("Base Address")
  base.Type = vtString
  base.String.Size = 0

  for i=0, (tonumber(endAddress,16)-tonumber(baseAddress,16))/step, 1 do
    local rec = al.createMemoryRecord()
    local str = string.format("+%X", i * step)
    rec.setAddress(str)
    rec.setDescription(str)
    rec.appendToEntry(base)
  end
end

addMoreAddresses(0xStart address, 0xOffset, 0xEnd address)


But I want to be able to do it from WITHIN the Memory Viewer itself.
Please tell me that this is a possibility.

PS:
Apologies if this already exists. I couldn't find it.
Back to top
View user's profile Send private message
Branimir
Advanced Cheater
Reputation: 0

Joined: 12 May 2015
Posts: 58

PostPosted: Thu Aug 06, 2020 3:00 pm    Post subject: Reply with quote

Bump.
Back to top
View user's profile Send private message
mg_01
Cheater
Reputation: 0

Joined: 28 Jan 2018
Posts: 41

PostPosted: Thu Aug 06, 2020 3:08 pm    Post subject: Reply with quote

oh yeah, that's something i've wanted for a while. it would be super useful while exploring the memory of a game. i've found so many values by just setting bytes to 01 or 00.
Back to top
View user's profile Send private message
Branimir
Advanced Cheater
Reputation: 0

Joined: 12 May 2015
Posts: 58

PostPosted: Tue Aug 18, 2020 12:47 pm    Post subject: Reply with quote

Bump.
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 410

Joined: 09 May 2003
Posts: 23606
Location: The netherlands

PostPosted: Sat Aug 22, 2020 10:11 am    Post subject: This post has 1 review(s) Reply with quote

https://forum.cheatengine.org/viewtopic.php?t=615066
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
Branimir
Advanced Cheater
Reputation: 0

Joined: 12 May 2015
Posts: 58

PostPosted: Sat Aug 22, 2020 10:39 am    Post subject: Reply with quote

Dark Byte wrote:
https://forum.cheatengine.org/viewtopic.php?t=615066


Perfection! Absolute perfection! Very Happy
You have my utmost gratitude for this!
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