A modern, external cheat for Counter-Strike 2 (CS2) built with C++ and featuring automated build pipelines, memory dumping, and module-based architecture.
- External Memory Access - No injection required, safer detection profile
- Automated Build Pipeline - One-command setup and execution
- Dynamic Offset Updates - Automatically fetches latest CS2 memory offsets
- Modular Architecture - Clean, maintainable code structure
- Cross-Platform Scripts - Works on Windows, WSL, and Linux environments
- ESP Module - Visual overlays and information display
- Aimbot Module - Aim assistance functionality
- Root Module - Core cheat management and coordination
- Windows OS with CS2 installed
- Visual Studio Build Tools or Visual Studio (for MSBuild)
- Git Bash or WSL (recommended for script execution)
- curl (for downloading dependencies)
# Clone and setup everything
git clone <repository-url>
cd External-cheat
./run.sh --buildThis will:
- 📥 Download the latest CS2 dumper
- 🔍 Generate current memory offsets
- 🔨 Build the application
- 🚀 Launch the cheat
# Quick run - uses existing build
./run.sh./run.sh --build # Force rebuild with latest offsets
./run.sh -b # Short form./run.sh # Skip dumper, use existing application./scripts/update-dumper.sh # Update CS2 dumper
./scripts/dump.sh # Generate memory offsets
./scripts/build.sh # Build application onlyExternal-cheat/
├── 📁 Application/ # Main cheat application
│ ├── Application.cpp # Entry point
│ ├── Application.h # Main application header
│ ├── 📁 Gui/ # User interface components
│ ├── 📁 Instances/ # Game object representations
│ └── 📁 Modules/ # Cheat functionality modules
├── 📁 Engine/ # Core engine and utilities
│ ├── Engine.h # Main engine header
│ ├── Memory.h # Memory manipulation
│ ├── 📁 Classes/ # Utility classes
│ ├── 📁 GameDumper/ # CS2 offset dumping tools
│ ├── 📁 Math/ # Mathematical utilities
│ └── 📁 Shell/ # System interaction
├── 📁 ImGui/ # Dear ImGui integration
├── 📁 Build/ # Compiled outputs
│ └── 📁 Release/ # Release build artifacts
├── 📁 scripts/ # Build and utility scripts
│ ├── build.sh # Application builder
│ ├── dump.sh # Memory dumper
│ ├── update-dumper.sh # Dumper updater
│ └── README.md # Scripts documentation
├── run.sh # Main pipeline orchestrator
└── Application.sln # Visual Studio solution
The project uses MSBuild with a Visual Studio solution:
# Debug build
./scripts/build.sh --debug
# Release build (default)
./scripts/build.shCS2 updates frequently change memory layouts. The project uses cs2-dumper to automatically generate current offsets:
# Update dumper tool
./scripts/update-dumper.sh
# Generate fresh offsets (requires CS2 running)
./scripts/dump.shGenerated offsets are stored in Engine/GameDumper/Dumps/ as C++ header files.
Create new cheat modules in Application/Modules/:
// Example module structure
class NewModule : public Module {
public:
void Initialize() override;
void Update() override;
void Render() override;
};- Platform: x64 (64-bit)
- Configuration: Release (optimized) / Debug (development)
- Compiler: MSVC via MSBuild
- Administrator Privileges - Required for memory access
- CS2 Running - Target process must be active
- Antivirus Exclusions - May be needed for memory access
This project is for educational purposes and legitimate testing environments only.
- External Implementation - Safer than injection-based cheats
- Detection Risks - Use responsibly and at your own risk
- Game Integrity - Respect other players and game rules
- Educational Focus - Primarily for learning memory manipulation techniques
Build Failures
# Check MSBuild availability
msbuild --version
# Verify Visual Studio installation
./scripts/build.sh --debugDumper Issues
# Run as administrator
# Ensure CS2 is running
# Check antivirus settingsMemory Access Errors
- Run as Administrator
- Verify CS2 process is active
- Update memory offsets with fresh dump
# Build with debug symbols
./run.sh --build --debug
# Check build logs
./scripts/build.sh --debug 2>&1 | tee build.logAll build and utility scripts are documented in scripts/README.md.
- Modular Design - Single responsibility per script
- Error Handling - Graceful failure recovery
- User Feedback - Clear progress and status messages
- Cross-Platform - Git Bash, WSL, Linux compatible
- Fork the repository
- Create a feature branch
- Implement your changes with proper error handling
- Test on multiple environments
- Submit a pull request with clear description
- C++17 standard compliance
- RAII memory management
- Clear naming conventions
- Comprehensive comments for complex logic
This project is provided for educational purposes. Use responsibly and in accordance with applicable laws and game terms of service.
- cs2-dumper - Memory offset dumping tool
- Dear ImGui - Immediate mode GUI library