본문으로 건너뛰기

© 2026 Molayo

GH Trending중요릴리즈2026. 04. 24. 12:28

CS2 메모리 덤퍼 도구 소개: a2x/cs2-dumper 사용 가이드

요약

a2x/cs2-dumper는 카운터-스트라이크 2(Counter-Strike 2, CS2)의 외부 오프셋 및 인터페이스를 덤프할 수 있는 도구입니다. Windows와 Linux 환경을 모두 지원하며, 메모리 분석 프레임워크인 memflow를 기반으로 작동합니다. 이 도구를 사용하면 게임 프로세스의 메모리를 읽어 핵심 데이터를 추출하고 구조화된 파일(JSON, C++, Rust 등)로 저장할 수 있습니다. 특히 `pcileech`나 `kvm` 같은 고급 커넥터를 활용하여 높은 권한이 필요한 하드웨어 레벨의 데이터까지 분석 가능합니다.

핵심 포인트

  • CS2-dumper는 memflow를 기반으로 하며, Windows와 Linux 환경을 모두 지원하는 외부 오프셋/인터페이스 덤퍼입니다.
  • 기본 사용 시 별도 설정 없이 `memflow-native` OS 레이어를 통해 게임 메모리를 자동 읽어옵니다.
  • 고급 분석을 위해 `-c <connector>` 옵션을 사용하여 `pcileech`나 `kvm` 같은 특정 커넥터를 지정할 수 있습니다.
  • 일부 고급 커넥터(예: Linux의 `kvm`, Windows의 `winio`)는 작동을 위해 `sudo` 또는 관리자 권한이 필요합니다.
  • 덤프된 파일은 기본적으로 C++, HPP, JSON, Rust, Zig 등 다양한 형식으로 출력됩니다.

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.
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.

  • Ensure the game is running (Being in the main menu should suffice).
  • 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.

-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.

To run the few basic provided tests, use the following command: cargo test -- --nocapture

Licensed under the MIT license (LICENSE).

AI 자동 생성 콘텐츠

본 콘텐츠는 GitHub Trending Rust (weekly)의 원문을 AI가 자동으로 요약·번역·분석한 것입니다. 원 저작권은 원저작자에게 있으며, 정확한 내용은 반드시 원문을 확인해 주세요.

원문 바로가기
5

댓글

0