cs2-dumper/README.md

43 lines
1.8 KiB
Markdown
Raw Normal View History

2023-10-14 13:18:52 +08:00
# cs2-dumper
2023-09-08 15:59:09 +08:00
2024-03-28 20:19:20 +08:00
An external offset/interface dumper for Counter-Strike 2, with support for both Windows & Linux.
2023-10-26 13:41:34 +08:00
2024-03-28 20:19:20 +08:00
Powered by [memflow](https://github.com/memflow/memflow).
2024-03-27 09:47:10 +08:00
2024-03-28 20:19:20 +08:00
## Getting Started
2023-10-26 13:41:34 +08:00
2024-03-28 20:19:20 +08:00
You can download the latest release from [Releases](https://github.com/a2x/cs2-dumper/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.
2023-10-26 13:41:34 +08:00
2024-03-28 20:19:20 +08:00
## Usage
2023-10-26 13:41:34 +08:00
2024-03-28 20:19:20 +08:00
1. Ensure the game process is running (Being in the main menu should suffice).
2024-03-31 10:58:22 +08:00
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`
2023-09-08 15:59:09 +08:00
2024-03-28 20:19:20 +08:00
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 game's memory. However, any existing memflow connectors should work
out of the box.
Just pass the `connector` and optional `connector-args` arguments to the program.
2023-09-08 15:59:09 +08:00
2024-03-28 20:19:20 +08:00
E.g. `cs2-dumper.exe -c pcileech -a device=fpga -vvv`
2023-09-08 15:59:09 +08:00
2024-03-28 20:19:20 +08:00
### Available Arguments
2023-09-08 15:59:09 +08:00
2024-03-28 20:19:20 +08:00
- `-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, --os <os>`: The name of the target operating system.
- `-d, --directory <directory>`: The output directory to write the generated files to. Default: `output`.
2024-03-28 20:19:20 +08:00
- `-i, --indent-size <indent-size>`: The number of spaces to use per indentation level. Default: `4`.
- `-h, --help`: Print help.
- `-V, --version`: Print version.
2023-10-14 13:18:52 +08:00
2024-03-28 20:19:20 +08:00
## License
2023-09-08 15:59:09 +08:00
2024-03-28 20:19:20 +08:00
Licensed under the MIT license ([LICENSE](./LICENSE)).