a2x / cs2-dumper

Counter-Strike: 2 Offset Dumper
MIT License
818 stars 94 forks source link

cs2-dumper

An external offset/interface dumper for Counter-Strike 2, with support for both Windows & Linux. Powered by memflow.

The native Linux version is available in the linux branch.

For a work-in-progress offline version, please check out cs2-analyzer and the web demo here: https://a2x.github.io/cs2-analyzer

Getting Started

You can download the latest release from Releases or compile it yourself. Note that compiling it yourself requires your Rust compiler version to be at least 1.74.0 or newer, and the nightly toolchain must be installed.

Usage

  1. Ensure the game process is running (Being in the main menu should suffice).
  2. Run the cs2-dumper executable (Note that some memflow connectors may require elevated privileges).

Note: If you run the executable without specifying an optional memflow connector name, it will automatically use the memflow-native OS layer to read the memory of the game process. If you wish to use an existing memflow connector instead, you can pass the connector and optional connector-args arguments to the program.

E.g. sudo ./cs2-dumper -c pcileech -a :device=FPGA -vvv

Available Arguments

Running Tests

To run tests, use the following command: cargo test -- --nocapture.

License

Licensed under the MIT license (LICENSE).