EndFieldCheat 是一个基于 C++ 的 Windows DLL 项目,使用 MinHook 进行函数 Hook,使用 Dear ImGui 构建界面。
- Windows 10/11 x64
- Visual Studio 2019/2022(含 C++ 工具链)
- CMake 3.14+
本项目使用子模块(imgui、minhook):
git clone https://github.com/a0yark/EndFieldCheat.git
cd EndFieldCheat
git submodule update --init --recursive方式一:脚本构建(推荐)
build.bat默认输出目录:C:\temp\EndfieldBuild\Release\
方式二:手动 CMake
cmake -S . -B build -A x64
cmake --build build --config Release --parallel- 工作流文件:
.github/workflows/build.yml - 触发:
push main、pull_request main、手动触发(workflow_dispatch) - 行为:自动拉取子模块、编译
Release、上传dll/pdb构建产物
- 工作流文件:
.github/workflows/release.yml - 触发:推送标签
v*(例如v1.0.0) - 行为:自动编译、打包为 zip、创建 GitHub Release 并上传附件
发布示例:
git tag v1.0.0
git push origin v1.0.0DllMain.cpp:DLL 入口Cheat.cpp:主要逻辑Hook.cpp/Hook.h:Hook 实现GameStructs.h:游戏结构定义imgui/:Dear ImGui 子模块minhook/:MinHook 子模块
EndFieldCheat is a Windows DLL project written in C++, using MinHook for function hooking and Dear ImGui for UI.
- Windows 10/11 x64
- Visual Studio 2019/2022 (with C++ toolchain)
- CMake 3.14+
This repository uses submodules (imgui, minhook):
git clone https://github.com/a0yark/EndFieldCheat.git
cd EndFieldCheat
git submodule update --init --recursiveOption 1: build script (recommended)
build.batDefault output path: C:\temp\EndfieldBuild\Release\
Option 2: manual CMake
cmake -S . -B build -A x64
cmake --build build --config Release --parallel- Workflow:
.github/workflows/build.yml - Triggers:
pushonmain,pull_requesttomain, and manual dispatch - Behavior: checks out submodules, builds
Release, uploadsdll/pdbartifacts
- Workflow:
.github/workflows/release.yml - Trigger: push a tag matching
v*(e.g.v1.0.0) - Behavior: builds release, packages artifacts to zip, creates GitHub Release with asset upload
Release example:
git tag v1.0.0
git push origin v1.0.0DllMain.cpp: DLL entry pointCheat.cpp: core logicHook.cpp/Hook.h: hook implementationGameStructs.h: game structure definitionsimgui/: Dear ImGui submoduleminhook/: MinHook submodule