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 


Set Memory Region for Emulator Ver 1.1.8 (2026.07.26)

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

Joined: 11 Mar 2015
Posts: 162

PostPosted: Thu Sep 05, 2024 9:10 pm    Post subject: Set Memory Region for Emulator Ver 1.1.8 (2026.07.26) Reply with quote

Set FromAddress/ToAddress

Multi-emulator auto address range + auto symbol entry creation
Features:
- Automatically detects: PCSX2, Cemu, ePSXe, DOSBox, PPSSPP, DuckStation
- Auto-sets scan range and relative base address
- Auto-adds address entries with [AUTO] prefix
- Memory view right-click menu "Copy relative offset to clipboard" (Ctrl+])
- Memory view right-click menu "Add relative offset of selected address to address list" (pure offset)
Auto-created entries all have the [AUTO] prefix and are automatically cleaned up on process switch
(only top-level entries are deleted to avoid access violations from duplicate child deletions).
Other:
This LUA script is AI-driven.
The DOSBox module of this script is based on the following script by the Cheat Engine author:
https://forum.cheatengine.org/viewtopic.php?t=624001
This script integrates all functionality from the previously shared "Copy Selection Address relative Offset Value to clipboard.lua"
(copy relative offset to clipboard). Do not load that script separately.
The PPSSPP module of this script is based on ppsspp_WM.ahk source code.
The Cemu module of this script is based on:
https://forum.cheatengine.org/viewtopic.php?p=5781484&sid=99730d28d965f0da2f1c6575921e6458
The PCSX2 module of this script is based on:
https://forums.pcsx2.net/Thread-PCSX2-1-7-Cheat-Engine-Script-Compatibility
The DuckStation module of this script is based on the official built-in symbol RAM.




Usage:
1.Create a Lua file in CheatEngine\autorun\SetMemoryRegion.lua
2.Restart Cheat Engine

----------------------------------------------------------
Ver 1.1.8 :
Added DuckStation support,
added timer for delayed startup to work simultaneously with "recentFiles.lua")


Ver 1.1.7 :
Fixes:

PPSSPP timer not stopped: In OnProcessOpened, when switching to a non-PPSSPP process, explicitly set ppssppTimer.Enabled = false to avoid unnecessary polling.

PPSSPP module name case: In getPPSSPPModuleInfo changed matching to mod.Name:lower() to support ppsspp.exe, PPSSPP.exe etc.
Restored pure offset format, no longer using base expression.

Access Violation on process switch: removeScriptedSymbols deleted all [AUTO] entries, including child offset entries, but when deleting parent, CE had already auto-deleted children, causing a crash when trying to delete already freed child objects.



SetMemoryRegion.lua
 Description:
Ver 1.1.8

Download
 Filename:  SetMemoryRegion.lua
 Filesize:  17.72 KB
 Downloaded:  0 Time(s)


SetMemoryRegion.lua
 Description:
Ver 1.1.7

Download
 Filename:  SetMemoryRegion.lua
 Filesize:  16.92 KB
 Downloaded:  30 Time(s)


SetMemoryRegion.lua
 Description:
2026.07.16:
Ver 1.1.2 (fixed OnProcessOpened conflict)

Download
 Filename:  SetMemoryRegion.lua
 Filesize:  16.68 KB
 Downloaded:  25 Time(s)



Last edited by xxhehe on Sat Jul 25, 2026 10:33 pm; edited 1 time in total
Back to top
View user's profile Send private message
xxhehe
Expert Cheater
Reputation: 0

Joined: 11 Mar 2015
Posts: 162

PostPosted: Thu Jul 16, 2026 7:26 am    Post subject: Reply with quote

AI really likes to do things it wasn't asked to do, for example: generating relative addresses in the [_REL_BASE+/-offset] format.
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