Counter-Strike 2 Offset/Interfaces Dumper
Go to file
a2x efa25951be
Merge pull request #201 from Xsintashi/main
2024-08-09 09:07:12 +10:00
output This is right one! 2024-08-09 00:46:25 +02:00
src This is right one! 2024-08-09 00:46:25 +02: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 0.1.2 2024-07-30 02:07:40 +10:00
LICENSE Refactor and move Linux code to separate branch 2024-04-03 03:13:57 +11:00
README.md Update README.md 2024-07-30 09:14:30 +10:00
cs2-dumper.log This is right one! 2024-08-09 00:46:25 +02:00
rustfmt.toml Update rustfmt.toml 2024-04-09 20:42:12 +10:00

README.md

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.

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

  • -c, --connector <connector>: The name of the memflow connector to use.
  • -a, --connector-args <connector-args>: Additional arguments to pass to the memflow connector.
  • -f, --file-types <file-types>: The types of files to generate. Default: cs, hpp, json, rs.
  • -i, --indent-size <indent-size>: The number of spaces to use per indentation level. Default: 4.
  • -o, --output <output>: The output directory to write the generated files to. Default: output.
  • -p, --process-name <process-name>: The name of the game process. Default: cs2.exe.
  • -v...: Increase logging verbosity. Can be specified multiple times.
  • -h, --help: Print help.
  • -V, --version: Print version.

Running Tests

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

License

Licensed under the MIT license (LICENSE).