Aspasia1337/Aspasia
GitHub: Aspasia1337/Aspasia
Aspasia 是一个专为 Counter-Strike 2 逆向工程与游戏操作原型设计而开发的 C++ 研究框架,旨在通过学术探索深入理解游戏安全与反作弊机制。
Stars: 56 | Forks: 4
UI demonstration of the in-game menu system, featuring tab navigation and real-time configuration.
Aimbot with smoothing (interpolation) and chams enabled for both visible and hidden targets.
Animated preview of anti-aim behavior and overlay visuals in action.
Flashbang effect disabled during gameplay, enabling uninterrupted visual clarity.
Smoke rendering bypassed to maintain full visibility in obstructed areas.
Live gameplay preview showing multiple features working together in a real match context.
Chams and skeletal overlays for target visualization and debugging.
Real-time bone overlays showing all entities in view for runtime inspection.
UI menu with chams tab open, used for configuring material and visibility settings.
Close-up of USP-S and player arms using custom chams.
Close-up of M4A1 and player arms using custom chams.
## 2. 主要功能概览 - **自瞄系统** - Hitbox 选择和 FOV 限制 - 使用插值因子进行平滑瞄准 - **Chams 渲染** - 自定义材质和实体可见性覆盖 - 支持隐藏和可见状态 - **反自瞄 / 假身** - 下身偏航 (LBY) 操作 - **实体分析** - 通过 OnAddEntity / OnRemoveEntity 进行运行时跟踪 - 内存结构监控 - **移动研究** - 自动连跳 - **视觉清晰度调整** - 禁用闪光弹和烟雾渲染以获得无遮挡视野 - **光照和天空调制** - 调整游戏内环境光照和天空盒颜色值,以增强可见性或自定义美学效果 - **玩家覆盖层增强** - 为可见玩家显示生命条、骨骼骨架和装备武器指示器 ## 3. 项目结构 | 目录 | 描述 | |---|---| | `Features/` | 单独的功能模块(自瞄、视觉效果、反自瞄、移动、杂项) | | `HooksManager/` | 通过 MinHook 进行 Hook 设置和生命周期管理 | | `EntityManager/` | 通过 `OnAddEntity` / `OnRemoveEntity` 回调进行实体跟踪 | | `Interfaces/` | CS2 运行时接口解析 | | `Classes/` | 游戏类定义和内存布局结构体 | | `helper/` | PE 工具和杂项辅助函数 | | `math/` | 向量数学 | | `includes/` | 第三方库(ImGui, Kiero, MinHook, offsets) | | `thesis/` | 学术论文、幻灯片、截图和 GIF | ## 4. 编译与设置 ### 4.1 系统要求 - Windows 10/11 (x64) - Visual Studio 2019 或更高版本 - DirectX SDK (2010 年 6 月) - ImGui 和 MinHook(已包含) - C++17 支持 (`/std:c++17`) - 仅 `x64` 配置得到积极维护和测试 ### 4.2 构建说明 1. 下载该仓库为 ZIP 或使用 Git for Windows: git clone https://github.com/Aspasia1337/Aspasia.git 2. 在 Visual Studio 中打开 `Aspasia Solution.sln`。 3. 将构建配置设置为 `Release x64`。 4. 构建解决方案 —— `Aspasia.dll` 将在输出目录中生成。 ## 5. 注入指南与运行时行为 本项目不包含注入器。由于 Valve 反作弊系统 (VAC) 的性质,`LoadLibrary` 等标准注入方法是可检测的且不安全。 为了在受控环境中安全使用,加载器应支持: - 手动映射 - 内核辅助注入 - 内存隐藏或混淆技术 如果注入成功,将出现一个显示日志的游戏内控制台。这确认了正确的加载和 Hook 初始化。