Counter-Strike 2 Offset/Interfaces Dumper
Go to file
a2x baae1570ee
Merge pull request #219 from GOffrier-DEV/linux
Fix linux compilation
2024-08-31 20:21:56 +10:00
output add older offsets 2024-08-20 15:18:56 +02:00
src Game update (14022) 2024-07-22 21:24:09 +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 fix memflow stuff to fix linux compilation 2024-08-20 15:16:41 +02:00
LICENSE Refactor and move Linux code to separate branch 2024-04-03 03:02:49 +11:00
README.md Add tests for offsets 2024-06-16 17:10:09 +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.

Running Tests

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

License

Licensed under the MIT license (LICENSE).