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.7 (2026.07.17)

 
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: 160

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

Set FromAddress/ToAddress

Multi-Emulator Automatic Address Range + Auto Create Symbol Entries
Features:
- Auto-detect PCSX2, Cemu, ePSXe, DOSBox, PPSSPP
- Automatically set scan range and relative base
- Automatically add address entries with [AUTO] prefix
- Memory view right-click menu "Copy Relative Offset to Clipboard" (Ctrl+])
- Memory view right-click menu "Add Selected Address Relative Offset to Address List" (pure offset)
Auto-created entries all have [AUTO] prefix; when switching processes they will be automatically cleaned
(only top-level entries are deleted, avoiding access violations from re-deleting children).
Others:
This Lua script is AI-driven.
The DOSBox module is based on the following script by the Cheat Engine author:
https://forum.cheatengine.org/viewtopic.php?t=624001
This script has integrated all functionality of the previously shared "Copy Selection Address relative Offset Value to clipboard.lua" script; do not load it separately.
The PPSSPP module is based on ppsspp_WM.ahk source code.
The Cemu module is based on:
https://forum.cheatengine.org/viewtopic.php?p=5781484&sid=99730d28d965f0da2f1c6575921e6458
The PCSX2 module is based on:
https://forums.pcsx2.net/Thread-PCSX2-1-7-Cheat-Engine-Script-Compatibility


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.

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



SetMemoryRegion.lua
 Description:
Ver 1.1.7

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


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

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


SetMemoryRegion.lua
 Description:
2026.06.30

Download
 Filename:  SetMemoryRegion.lua
 Filesize:  13.6 KB
 Downloaded:  26 Time(s)


SetMemoryRegion.lua
 Description:
2024.09.27

Download
 Filename:  SetMemoryRegion.lua
 Filesize:  5.95 KB
 Downloaded:  12948 Time(s)


SetMemoryRegion.lua
 Description:
2024.09.05

Download
 Filename:  SetMemoryRegion.lua
 Filesize:  2.53 KB
 Downloaded:  12519 Time(s)

Back to top
View user's profile Send private message
xxhehe
Expert Cheater
Reputation: 0

Joined: 11 Mar 2015
Posts: 160

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