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