CS2签名偏移生成器

CS2 VibeSignatures 是一个自动化生成 CS2 游戏签名和偏移量的开发工具,能够更新 s2sdk C++ 头文件并生成版本化的 gamedata 数据,适用于 CS2 模组和插件开发场景。

  • by HLND2T
  • Python
  • 本地部署
  • 67 星标
  • 更新于
在 GitHub 查看 hzqst/CS2_VibeSignatures

使用说明

CS2 VibeSignatures

中文文档 | GUI

CS2 VibeSignatures generates CS2 signatures and offsets, updates s2sdk C++ headers through Agent skills and MCP calls, and produces versioned downstream gamedata.

The s2sdk/ submodule uses the cs2 branch of HLND2T/s2sdk. Each source commit pins the exact SDK revision used by C++ validation and release archives.

The project is designed to update signatures, offsets, and C++ headers without manual intervention. It currently automates the signatures and offsets consumed by CounterStrikeSharp, CS2Fixes, and other supported projects.

Quick start

Install the requirements, then prepare and analyze one game version:

uv sync
uv run download_depot.py -tag 14156
uv run copy_depot_bin.py -gamever 14156 -platform all-platform
uv run ida_analyze_bin.py -gamever 14156 -oldgamever 14155

These commands populate the binary workspace under bin/<GAMEVER>/ and run the configured deterministic, LLM-assisted, and Agent-assisted analysis. Canonical per-symbol results belong in bin_artifacts/<GAMEVER>/ and must be committed with the source/config changes that produce them.

Documentation

The only Git-tracked symbol truth is bin_artifacts/<GAMEVER>/<module>/*.yaml. Source-owned binary_locks/<GAMEVER>.json binds the exact configured binary bytes to the corresponding immutable depot manifests; bin/ remains a disposable binary/IDA workspace. Snapshots, metadata, gamedata, archives, and manifests are Release-derived assets and are not tracked on main.

Supported gamedata

Versioned gamedata is generated for CounterStrikeSharp, CS2Fixes, CS2FOW, swiftlys2, plugify, cs2kz-metamod, modsharp, and CS2Surf/Timer. See supported gamedata paths and exceptions.