cheatengine 5.8.27 → 5.8.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -25,7 +25,7 @@ AI <--MCP/JSON-RPC--> ce_mcp_server.js <--Named Pipe--> ce_mcp_bridge.lua (CE)
25
25
  dofile([[D:\path\to\ce_mcp_bridge.lua]])
26
26
  ```
27
27
 
28
- 3. **Configure MCP** (`.kiro/settings/mcp.json`):
28
+ 3. **Configure MCP** :
29
29
  ```json
30
30
  {
31
31
  "mcpServers": {
@@ -157,17 +157,19 @@ Write a value to memory.
157
157
 
158
158
  ### Scanning & Search
159
159
 
160
- #### `ce_aob_scan(aob_string, module?, protection?, max_results?)`
160
+ #### `ce_aob_scan(aob_string, module?, protection?, start?, stop?, max_results?)`
161
161
  Scan memory for Array of Bytes pattern. Supports `??` wildcards.
162
162
 
163
163
  **Parameters:**
164
164
  - `aob_string` (string, required): Pattern like `"48 89 5C 24 ?? 48 83 EC 20"`
165
165
  - `module` (string, optional): Limit scan to module (e.g. `"game.exe"`)
166
166
  - `protection` (string, optional): Memory protection flags (default: `"-C+X"`)
167
+ - `start` (string, optional): Start address if module not specified
168
+ - `stop` (string, optional): Stop address if module not specified
167
169
  - `max_results` (integer, optional): Maximum results (default: 100)
168
170
 
169
171
  #### `ce_value_scan(value, type, module?, protection?)`
170
- Scan for a specific value. Useful for pointer tracing. **One-shot scan - for iterative scanning use Scan Sessions.**
172
+ Scan for a specific value. Useful for pointer tracing. Auto-aligns scan based on type for performance. **One-shot scan - for iterative scanning use Scan Sessions.**
171
173
 
172
174
  **Parameters:**
173
175
  - `value` (string, required): Value to search (e.g. `"0x255D5E758"` or `"12345"`)
@@ -182,7 +184,7 @@ Scan for a specific value. Useful for pointer tracing. **One-shot scan - for ite
182
184
  Implements CE's core "First Scan → Next Scan" workflow with session management. Sessions auto-expire after 5 minutes of inactivity.
183
185
 
184
186
  #### `ce_scan_new(value, type, module?, protection?)`
185
- Start a new scan session.
187
+ Start a new scan session. Auto-aligns scan based on type for performance (4-byte for dword/float, 8-byte for qword/double).
186
188
 
187
189
  #### `ce_scan_next(session_id, value, scan_type?, value2?)`
188
190
  Continue scanning (filter) an existing session.
package/README_CN.md CHANGED
@@ -7,7 +7,7 @@ MCP 桥接器,让 AI 助手直接控制 Cheat Engine 进行游戏修改和逆
7
7
  ## 架构
8
8
 
9
9
  ```
10
- AI <--MCP/JSON-RPC--> ce_mcp_server.py <--命名管道--> ce_mcp_bridge.lua (CE)
10
+ AI <--MCP/JSON-RPC--> ce_mcp_server.js <--命名管道--> ce_mcp_bridge.lua (CE)
11
11
 
12
12
  后台自动重连
13
13
  ```
@@ -16,7 +16,7 @@ AI <--MCP/JSON-RPC--> ce_mcp_server.py <--命名管道--> ce_mcp_bridge.lua (CE)
16
16
 
17
17
  ### 快速开始 (NPX) - 推荐
18
18
 
19
- 1. **安装依赖**: `pip install pywin32`
19
+ 1. **前提条件**: Node.js 14+ (无需其他依赖项)
20
20
 
21
21
  2. **在 CE 中加载** (二选一):
22
22
  - **自动加载**: 将 `ce_mcp_bridge.lua` 复制到 CE 的 `autorun` 文件夹 (如 `D:\Cheat Engine\autorun\`)
@@ -25,7 +25,7 @@ AI <--MCP/JSON-RPC--> ce_mcp_server.py <--命名管道--> ce_mcp_bridge.lua (CE)
25
25
  dofile([[D:\path\to\ce_mcp_bridge.lua]])
26
26
  ```
27
27
 
28
- 3. **配置 MCP** (`.kiro/settings/mcp.json`):
28
+ 3. **配置 MCP** :
29
29
  ```json
30
30
  {
31
31
  "mcpServers": {
@@ -45,8 +45,8 @@ AI <--MCP/JSON-RPC--> ce_mcp_server.py <--命名管道--> ce_mcp_bridge.lua (CE)
45
45
  {
46
46
  "mcpServers": {
47
47
  "cheat-engine": {
48
- "command": "python",
49
- "args": ["D:/path/to/ce_mcp/ce_mcp_server.py"]
48
+ "command": "node",
49
+ "args": ["D:/path/to/ce_mcp/ce_mcp_server.js"]
50
50
  }
51
51
  }
52
52
  }
@@ -157,17 +157,19 @@ Hook 名称现在会验证以防止 AA 脚本注入:
157
157
 
158
158
  ### 扫描与搜索
159
159
 
160
- #### `ce_aob_scan(aob_string, module?, protection?, max_results?)`
160
+ #### `ce_aob_scan(aob_string, module?, protection?, start?, stop?, max_results?)`
161
161
  扫描内存中的字节数组模式。支持 `??` 通配符。
162
162
 
163
163
  **参数:**
164
164
  - `aob_string` (string, 必需): 模式如 `"48 89 5C 24 ?? 48 83 EC 20"`
165
165
  - `module` (string, 可选): 限制扫描到模块 (如 `"game.exe"`)
166
166
  - `protection` (string, 可选): 内存保护标志 (默认: `"-C+X"`)
167
+ - `start` (string, 可选): 起始地址(未指定 module 时使用)
168
+ - `stop` (string, 可选): 结束地址(未指定 module 时使用)
167
169
  - `max_results` (integer, 可选): 最大结果数 (默认: 100)
168
170
 
169
171
  #### `ce_value_scan(value, type, module?, protection?)`
170
- 扫描特定值。用于指针追踪。**一次性扫描 - 迭代扫描请使用扫描会话。**
172
+ 扫描特定值。用于指针追踪。根据类型自动对齐扫描以优化性能。**一次性扫描 - 迭代扫描请使用扫描会话。**
171
173
 
172
174
  **参数:**
173
175
  - `value` (string, 必需): 要搜索的值 (如 `"0x255D5E758"` 或 `"12345"`)
@@ -182,7 +184,7 @@ Hook 名称现在会验证以防止 AA 脚本注入:
182
184
  实现 CE 核心的 "首次扫描 → 再次扫描" 工作流,带会话管理。会话在 5 分钟不活动后自动过期。
183
185
 
184
186
  #### `ce_scan_new(value, type, module?, protection?)`
185
- 开始新的扫描会话。
187
+ 开始新的扫描会话。根据类型自动对齐扫描以优化性能(dword/float 用 4 字节对齐,qword/double 用 8 字节对齐)。
186
188
 
187
189
  #### `ce_scan_next(session_id, value, scan_type?, value2?)`
188
190
  继续扫描(过滤)现有会话。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cheatengine",
3
- "version": "5.8.27",
3
+ "version": "5.8.28",
4
4
  "description": "Cheat Engine MCP Server - AI-assisted reverse engineering bridge",
5
5
  "main": "ce_mcp_server.js",
6
6
  "bin": {