Counter-Strike 2 Offset/Interfaces Dumper
Go to file
a2x 9111d7a0f4 Game update (14015) 2024-06-15 11:37:03 +10:00
output Game update (14015) 2024-06-15 11:37:03 +10:00
src Game update (14014) 2024-06-13 22:51:05 +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 Update package version 2024-06-13 22:51:23 +10:00
LICENSE Refactor and move Linux code to separate branch 2024-04-03 03:02:49 +11:00
README.md Add disclaimer to README.md 2024-05-24 18:14:05 +10:00
config.json Game update (14014) 2024-06-13 22:51:05 +10:00
rust-toolchain.toml Create rust-toolchain.toml 2024-06-13 22:51:29 +10:00
rustfmt.toml Update code 2024-04-16 12:32:14 +10:00

README.md

cs2-dumper

An external Counter-Strike 2 offset/interface dumper for Linux.

Note: This branch will likely not be kept up-to-date by myself. Pull requests are welcome!

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.

Available Arguments

  • -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.
  • -v...: Increase logging verbosity. Can be specified multiple times.
  • -h, --help: Print help.
  • -V, --version: Print version.

License

Licensed under the MIT license (LICENSE).