Automated SDK Generation for Source 2 Engine Games with cross-platform support and multiple output formats
Core Capabilities
Cross-Platform
Support for Windows and Linux with consistent output across platforms.
Multiple Formats
Generate SDKs in C++23, C23, or IDA-compatible C headers.
Automated Process
Extract SDK definitions from Source 2 binaries with minimal effort.
Usage Instructions
Installation & Setup
Basic Usage
source2gen-loader.exe
The loader will attempt to automatically detect the game path.
Custom Game Path
source2gen-loader.exe --game-path "C:\Games\CS2"
Advanced Options
source2gen-loader.exe --game-path "C:\Games\CS2" --emit-language c
Additional arguments can be passed directly to source2gen via the loader.
Development Setup
Prerequisites
Windows
- Visual Studio 2019 or newer
- CMake
- Conan
Linux
- g++-13 or newer
- CMake
- Conan
Output Languages
Language | Minimum Language Standard |
---|---|
cpp | C++23 |
c | C23 |
c-ida | C (single file: sdk/ida.h ) |