ZOYKUHot Board

a2x/cs2-dumper기술 문서

Counter-Strike: 2 Offset Dumper

언어 대체 안내:해당 저장소의 한국어 문서가 제공되지 않아 공식 영문 원본(English)으로 표시됩니다.
빠른 설치
cargo add cs2-dumper

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 (currently outdated).

For a work-in-progress offline version, check out the cs2-analyzer repository or view its included web demo here.

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.

Usage

  1. Ensure the game is running (Being in the main menu should suffice).
  2. Run the cs2-dumper executable.

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, such as pcileech or kvm, you can pass the connector and optional connector-args arguments to the program. These connectors can be installed and managed using the memflowup tool.

E.g (for pcileech). cs2-dumper -c pcileech -a :device=FPGA -vv

Certain connectors, such as the kvm connector on Linux or the pcileech / winio connectors on Windows, require elevated privileges to work. So either run the cs2-dumper executable with sudo on Linux or as an administrator on Windows.

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, zig.
  • -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 the few basic provided tests, use the following command: cargo test -- --nocapture.

License

Licensed under the MIT license (LICENSE).

GitHub 공식 원본 저장소에서 아카이브된 문서 미러 · GitHub 저장소 방문
동기화 기준일: 2026-11-08