About this project

cs2-dumper is a tool for Counter-Strike 2 that extracts game memory offsets and interfaces for use by external applications. It runs against a live game process (main menu is sufficient) and outputs structured bindings across multiple languages. The project is built in Rust and relies on the memflow memory-reading framework. By default it uses the native memflow connector, but supports alternative backends such as pcileech and kvm via command-line arguments. ### Key Features - Works on both Windows and Linux (the Linux version lives in the linux branch) - Generates output files in C#, C++, JSON, Rust, and Zig - Configurable output directory, indent size, and process name - Verbose logging with `-v` - Supports optional memflow connectors like pcileech and kvm, which may require elevated privileges - Also references cs2-analyzer, an offline analysis version available as a web demo ### Usage Run the executable while CS2 is active. Optional flags let you select the memflow connector (`-c`), pass connector arguments (`-a`), choose output file types (`-f`), set indentation (`-i`), and specify the output directory (`-o`). A minimum Rust 1.74.0 is required to build from source. ### License MIT.