Counter-Strike 2 Offset/Interfaces Dumper
Go to file
a2x ef5ff1c5f4 Update argument name for output directory 2024-04-01 19:13:13 +10:00
output Update generated files 2024-03-30 07:19:33 +10:00
src Update argument name for output directory 2024-04-01 19:13:13 +10:00
.editorconfig Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00
.gitattributes Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00
.gitignore Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00
Cargo.toml Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00
LICENSE Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00
README.md Update argument name for output directory 2024-04-01 19:13:13 +10:00
config_linux.json Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00
config_win.json Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00
rust-toolchain.toml Create rust-toolchain.toml 2023-11-04 12:39:57 +10:00
rustfmt.toml Merge `dev` branch into `main` 2024-03-28 22:19:20 +10:00

README.md

cs2-dumper

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

Powered by memflow.

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 to work.
    • Ensure that you have the appropriate config file in the same directory as the cs2-dumper executable:
      • For Linux: config_linux.json
      • For Windows: config_win.json

When running the executable without providing an optional memflow connector name, it will default to using the memflow-native cross-platform OS layer to read the memory of the game process. If you wish to use an existing memflow connector instead, pass the connector and optional connector-args arguments to the program.

E.g. ./cs2-dumper -c kvm -vvv

Available Arguments

  • -v...: Increase logging verbosity. Can be specified multiple times.
  • -c, --connector <connector>: The name of the memflow connector to use.
  • -a, --connector-args <connector-args>: Additional arguments to supply to the connector.
  • -o, --output <output>: The output directory to write the generated files to. Default: output.
  • -i, --indent-size <indent-size>: The number of spaces to use per indentation level. Default: 4.
  • -h, --help: Print help.
  • -V, --version: Print version.

License

Licensed under the MIT license (LICENSE).