xxhehe Expert Cheater
Reputation: 0
Joined: 11 Mar 2015 Posts: 162
|
Posted: Thu Sep 05, 2024 9:10 pm Post subject: Set Memory Region for Emulator Ver 1.1.8 (2026.07.26) |
|
|
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.
| Description: |
|
 Download |
| Filename: |
SetMemoryRegion.lua |
| Filesize: |
17.72 KB |
| Downloaded: |
0 Time(s) |
| Description: |
|
 Download |
| Filename: |
SetMemoryRegion.lua |
| Filesize: |
16.92 KB |
| Downloaded: |
30 Time(s) |
| 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 |
|