# Cheat Engine

**Cheat Engine**（CE）是一款开源的内存扫描器、调试器和游戏修改环境，面向 Windows 平台，主要用于修改单机游戏，使游戏变得更难或更简单——例如找到存储玩家生命值的变量并加以改动<sup>[1](https://cheatengine.org/aboutce.php)</sup>。其 GitHub 仓库将其描述为“一个专注于为个人用途修改游戏和应用程序的开发环境”<sup>[2](https://github.com/cheat-engine/cheat-engine)</sup>。除内存扫描器外，该软件包还包含调试器、反汇编器、汇编器、变速器、修改器制作工具、Direct3D 操控工具以及系统检查工具，这些对普通程序员和软件分析人员同样有用<sup>[1](https://cheatengine.org/aboutce.php)</sup>。

| 关键事实 | 详情 |
|---|---|
| 用途 | 修改单机、离线游戏，使其更难或更简单，以及对游戏和普通应用程序进行调试<sup>[1](https://cheatengine.org/aboutce.php)</sup> |
| 核心组件 | 内存扫描器、调试器、反汇编器、汇编器、变速器、修改器制作工具、Direct3D 操控工具、系统检查工具<sup>[1](https://cheatengine.org/aboutce.php)</sup> |
| 最新公开发行版 | Cheat Engine 7.5，于 2 月 23 日发布，此前版本依次为 7.4、7.3、7.2、7.1、7.0 及 6.8 系列<sup>[3](https://github.com/cheat-engine/cheat-engine/releases)</sup> |
| 源代码 | 在 GitHub 上公开可见（约 19,300 星标、2,800 复刻）；任何人都可以编译自己的版本<sup>[2](https://github.com/cheat-engine/cheat-engine)</sup><sup> • </sup><sup>[1](https://cheatengine.org/aboutce.php)</sup> |
| 构建工具链 | Lazarus 2.2.2 配合 Free Pascal 3.2.2；辅助 Visual Studio 项目提供变速器 DLL、Mono 和 .NET 数据收集器以及内核模式驱动<sup>[2](https://github.com/cheat-engine/cheat-engine)</sup> |
| 在线游戏 | 作者声明该工具极大概率无法用于在线游戏；在线使用时可能导致被 Valve Anti-Cheat 及其他反作弊程序封禁<sup>[1](https://cheatengine.org/aboutce.php)</sup><sup> • </sup><sup>[4](https://www.pcgamer.com/games/sim/schedule-1-cheats-console-commands/)</sup> |
| 脚本 | 提供广泛的脚本支持，包括 Lua，使有经验的开发者能够构建并分享自己的应用程序<sup>[1](https://cheatengine.org/aboutce.php)</sup><sup> • </sup><sup>[3](https://github.com/cheat-engine/cheat-engine/releases)</sup> |

## 工具功能

核心功能是内存扫描器。游戏将生命值、金钱或等级等数值作为变量保存在其进程内存中，Cheat Engine 读取该内存以定位已知数值的存储位置。“首次扫描”会初始化程序的内部数据结构，并读取所选游戏的完整内存；随后用户通过后续扫描缩小结果列表，例如搜索自上次扫描以来增加或减少的数值。如果扫描操作有误，“撤销扫描”会恢复之前的结果集，而不必完全重新开始<sup>[5](https://cheatengine.org/help/Standardscansettings.htm)</sup>。扫描设置可以排除受“无缓存”保护的内存区域，临时扫描文件也可以重定向到 Windows 临时目录之外<sup>[6](https://cheatengine.org/help/scan-settings.htm)</sup>。

一旦知道某个数值的地址，用户就可以修改或冻结它，这便是让游戏变简单（赋予大量生命值）或变难（最大生命值设为 1）的基本机制<sup>[1](https://cheatengine.org/aboutce.php)</sup>。一份关于该工具的技术概述描述了同样的工作流程，并介绍了如何通过指针路径加以扩展——通过跟踪指针链，在游戏更新后重新定位数值——还指出，基于 Unity 的 [Mono](https://www.edgepedia.org/zh/mono-software) 或 IL2CPP 运行时构建的游戏特别容易被从进程外部读取<sup>[7](https://www.guardingpearsoftware.com/blog/ever-wondered-how-cheat-engine-works-extended-41008)</sup>。

## 调试器与内存查看器

**调试器**是一个附加到已打开进程的线程，负责处理所有调试事件，例如线程创建和异常。当使用某个调试选项时（例如“查找什么访问/写入了此地址”），Cheat Engine 会提示用户附加调试器，除非调试器已附加或正在使用内核模式调试例程<sup>[8](https://cheatengine.org/help/Aboutthedebugger.htm)</sup>。查找写入某个地址的指令是定位更新数值的游戏代码的标准方法，而写入地址的指令与仅访问地址的指令之间的区别是 Cheat Engine 教程的标准内容<sup>[9](https://www.youtube.com/watch?v=-RiDP_6t1IE)</sup>。

**内存视图**窗口汇集了高级组件：自动汇编引擎、代码洞穴扫描器、线程生成器、内存分配器、代码剖析器、DLL 注入器、调试器选项、反汇编器、汇编器和十六进制查看器<sup>[10](https://cheatengine.org/help/Memoryview.htm)</sup>。借助这些工具，有经验的用户可以将自己的汇编代码注入游戏进程，而不仅仅是编辑数据值<sup>[10](https://cheatengine.org/help/Memoryview.htm)</sup>。

## 脚本、作弊表与运行时检查

Cheat Engine 自带广泛的脚本支持，使有经验的开发者能够创建并分享自己的应用程序<sup>[1](https://cheatengine.org/aboutce.php)</sup>。脚本和保存的修改以作弊表（CT）文件的形式分发：例如，游戏《Schedule 1》的一份已发布作弊表，通过双击 CT 文件、从进程列表中选择正在运行的游戏、勾选复选框启用选项来使用；该作弊表还使用了“初始化 Mono”功能以配合游戏的 Mono 运行时<sup>[4](https://www.pcgamer.com/games/sim/schedule-1-cheats-console-commands/)</sup>。为支持这一点，构建版本包含独立的 Mono 和 .NET 数据收集器项目、一个 .NET 运行时 JIT 支持 DLL 以及一个 Java 检查库（cejvmti）<sup>[2](https://github.com/cheat-engine/cheat-engine)</sup>。

Lua 环境在各个版本中不断扩展：7.5 版新增了 ceserver 命令、执行出错时的 Lua [堆栈跟踪](https://www.edgepedia.org/zh/stack-trace)以及 UTF-8 转换辅助函数，更早的 Patreon 构建版本则增加了内存记录回调、符号枚举及其他功能<sup>[3](https://github.com/cheat-engine/cheat-engine/releases)</sup>。

## 开发与发行

该项目在 GitHub 上公开开发，主仓库约有 6,179 次提交、19,300 星标和 2,800 复刻<sup>[2](https://github.com/cheat-engine/cheat-engine)</sup>。主应用程序使用 Lazarus 2.2.2 和 [Free Pascal](https://www.edgepedia.org/zh/free-pascal) 构建，一组辅助项目必须单独编译才能获得完整功能：32 位和 64 位变速器与 Lua 客户端 DLL、Direct3D 叠加显示支持、Mono、.NET 和 Java 检查器、VEH 调试器接口，以及用于设置中“额外”页面内核模式功能的 DBK 内核驱动<sup>[2](https://github.com/cheat-engine/cheat-engine)</sup>。

GitHub 上列出的最新公开发行版是 **Cheat Engine 7.5**，于 2 月 23 日发布，此前条目包括 7.4、7.3、7.2、7.1、7.0 以及 6.8 至 6.8.3<sup>[3](https://github.com/cheat-engine/cheat-engine/releases)</sup>。7.5 版取消了访问内存区域工具对驱动的需求，新增了跳过未分页内存的扫描选项，使扫描目标消耗更少内存，并使得在 Wine 和 Proton 下加载已签名的 CT 文件成为可能<sup>[3](https://github.com/cheat-engine/cheat-engine/releases)</sup>。旧版本仍可通过镜像官方 GitHub 发行版的存档获取<sup>[11](https://cheat-engine.ijinshan.com/download/old-version/index.html)</sup>。

## 反作弊背景与安全使用

Cheat Engine 面向离线单机使用，作者本人的说明指出它极大概率无法用于在线游戏<sup>[1](https://cheatengine.org/aboutce.php)</sup>。反作弊系统通过扫描运行中的进程并检查游戏完整性来检测作弊行为，这使得作弊开发者在修改游戏代码、注入 DLL 乃至运行内存扫描器时，都更难避开检测<sup>[12](https://tomchothia.gitlab.io/Papers/AntiCheat2024.pdf)</sup>。《[PC Gamer](https://www.edgepedia.org/zh/pc-gamer)》的建议是仅在离线游戏时使用该工具，因为在线使用可能导致被 [Valve Anti-Cheat](https://www.edgepedia.org/zh/valve-anti-cheat) 及其他反作弊程序封禁<sup>[4](https://www.pcgamer.com/games/sim/schedule-1-cheats-console-commands/)</sup>。

程序自身的**额外（高级）**设置页面包含内核模式和隐蔽功能，据描述这些功能最受针对在线游戏（因而也是针对反作弊系统）的用户关注；该页面还包含查询内存区域的例程，用于弄清游戏中的内存是如何分配的<sup>[13](https://cheatengine.org/help/extra.htm)</sup>。安装官方构建版本还有一个实际注意事项：安装程序会邀请用户安装额外的第三方软件，用户可以拒绝<sup>[4](https://www.pcgamer.com/games/sim/schedule-1-cheats-console-commands/)</sup>。

## 相关项目

由于源代码对所有人可见，任何人都可以编译自己的版本并加以修改<sup>[1](https://cheatengine.org/aboutce.php)</sup>。两个值得注意的独立项目建立在这种开放性之上。一个 Linux 原生的 C++/Qt6 版 Cheat Engine 重实现项目维护着自己的发行历史，并报告称在同一台机器上的对比中，其首次扫描比 Cheat Engine 快约 2 倍，比 scanmem、GameConqueror 和 PINCE 快 30 至 40 倍<sup>[14](https://github.com/wleeaf/cheat-engine-linux/blob/main/CHANGELOG.md)</sup>。另外，一个第三方 .NET 库 CheatEngine.SDK 封装了 Cheat Engine 的扫描功能，为自动化 CE 的程序提供字节数组（AOB）扫描器、有界内存扫描会话和受控的作弊表加载<sup>[15](https://github.com/CheatEngineNet/CheatEngine.SDK/blob/main/libs/CheatEngine.SDK.Engine/README.md)</sup>。

## References

1. [About Cheat Engine, cheatengine.org](https://cheatengine.org/aboutce.php)
2. [cheat-engine/cheat-engine repository, GitHub](https://github.com/cheat-engine/cheat-engine)
3. [Releases, cheat-engine/cheat-engine, GitHub](https://github.com/cheat-engine/cheat-engine/releases)
4. [Schedule 1 cheats and console commands, PC Gamer](https://www.pcgamer.com/games/sim/schedule-1-cheats-console-commands/)
5. [Memory scan settings, cheatengine.org](https://cheatengine.org/help/Standardscansettings.htm)
6. [Scan settings, cheatengine.org](https://cheatengine.org/help/scan-settings.htm)
7. [How Cheat Engine works, and what it actually does, GuardingPearSoftware](https://www.guardingpearsoftware.com/blog/ever-wondered-how-cheat-engine-works-extended-41008)
8. [About the debugger, cheatengine.org](https://cheatengine.org/help/Aboutthedebugger.htm)
9. [Cheat Engine 6.4 Tutorial Part 8: Memory Viewer, Debugger, YouTube](https://www.youtube.com/watch?v=-RiDP_6t1IE)
10. [Memory view, cheatengine.org](https://cheatengine.org/help/Memoryview.htm)
11. [Cheat Engine old version downloads](https://cheat-engine.ijinshan.com/download/old-version/index.html)
12. [Anti-Cheat: Attacks and the Effectiveness of Client-Side Defences](https://tomchothia.gitlab.io/Papers/AntiCheat2024.pdf)
13. [Extra (Advanced), cheatengine.org](https://cheatengine.org/help/extra.htm)
14. [cheat-engine-linux CHANGELOG, GitHub](https://github.com/wleeaf/cheat-engine-linux/blob/main/CHANGELOG.md)
15. [CheatEngine.SDK README, GitHub](https://github.com/CheatEngineNet/CheatEngine.SDK/blob/main/libs/CheatEngine.SDK.Engine/README.md)

---
*Initially written Sep 17, 2026 · Reviewed: Sep 17, 2026; Sep 30, 2026; Oct 21, 2026 · Edited: Sep 17, 2026; Oct 21, 2026 · Last review: Oct 21, 2026*

Topic: 体育、游戏与休闲 › 电子游戏与数字游戏 › 数字游戏文化与社会 › Ratings, law, and controversy › Cheating, piracy, and platform security controversies

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/cheat-engine

English original: https://www.edgepedia.org/cheat-engine
