CS2 DemoTracer v0.5.0
CS2 DemoTracer v0.5.0
本版本主要适配 2026 年 7 月的 Valve CS2 demo / runtime 更新,并同步更新 CounterStrikeSharp 运行要求。重点是恢复新版 demo 的完整输入回放,同时保持旧 demo 和既有 .dtr 的兼容性。
主要更新
- 适配 Valve 新版 demo user-command delta 编码;旧版
data路径继续保留,新版delta_data也可正确解析。 - 恢复受影响 demo 中的开火、投掷物释放、subtick movement 和部分移动输入,修复人物漂移、脚步动画异常等连带问题。
- 更新 2026 年 7 月 CS2 runtime / gamedata 兼容性,并将服务器前置要求更新为 CounterStrikeSharp v1.0.371 或更新版本。
- 修复新版 CS2 下 crosshair paint 配置 hook、回放视野/感知、freeze-time 控制、武器与输入注入等 runtime 路径。
- 修复 demo 语音回放的阵营路由和发送者身份映射:队内语音不再发送给对方阵营,语音显示绑定到正确的 replay bot。
- 收紧公开主线范围,移除不再承诺维护的实验性 Demo2Nade / nade-library surface;DemoTracer companion API 更新到 v6。
- 保持
.dtrwriter v7、manifest ABI 17、BotController native ABI major 16;本次 server bundle 使用 ABI minor 29。
兼容性
- Converter 同时支持旧版 demo user-command 数据和 Valve 新版 delta 数据。
- 使用新版 delta 编码的 demo 需要 converter v0.5.0 或更新版本;若曾用旧 converter 导出且出现不开火/不释放投掷物,需要重新转换。
- 旧版 demo 无需重新转换;已经正常工作的
.dtr也无需重新生成。 - Runtime reader 支持
.dtrv3 到 v7;当前 writer 仍输出.dtrv7。 - Server bundle 需要 CounterStrikeSharp v1.0.371 或更新版本,目标为 CS2 1.41.6.9。
- DemoTracer companion API 为 v6;BotController native ABI 为 16.29。
校验
- Converter 测试通过:115 个库测试和 7 个 CLI 测试,0 失败。
- Windows x64 converter CLI / GUI release build 完成。
- BotController native Release build 完成。
- DemoTracer CSS Release build 完成,0 warnings / 0 errors。
- 新版 demo 输入回放、语音阵营路由和发送者身份已进行实机验证。
- Release assets 已检查无原始 demo、本机路径、日志或调试符号;
SHA256SUMS.txt已重新生成。
English
CS2 DemoTracer v0.5.0
This release primarily adapts DemoTracer to the July 2026 Valve CS2 demo and runtime updates, with updated CounterStrikeSharp runtime requirements. It restores complete input replay for affected new demos while retaining compatibility with older demos and existing .dtr files.
Highlights
- Added support for Valve's newer delta-encoded demo user commands while retaining the existing legacy
datapath. - Restored attack input, grenade release, subtick movement, and related movement state in affected demos, including associated floating and missing-footstep-animation behavior.
- Updated July 2026 CS2 runtime and gamedata compatibility, with CounterStrikeSharp v1.0.371 or newer now required for the server bundle.
- Fixed runtime paths affected by the CS2 update, including the crosshair paint configuration hook, replay perception/FOV handling, freeze-time control, weapon control, and input injection.
- Fixed replay voice team routing and speaker identity mapping so team voice is not sent to the opposing team and is displayed on the correct replay bot.
- Narrowed the maintained public surface by removing the experimental Demo2Nade / nade-library path; updated the DemoTracer companion API to v6.
- Kept
.dtrwriter format at v7, manifest ABI at 17, and BotController native ABI major at 16. This server bundle uses ABI minor 29.
Compatibility
- The converter supports both older demo user-command data and Valve's newer delta data.
- Demos using the new delta encoding require converter v0.5.0 or newer. Reconvert affected demos previously exported by an older converter if attack or grenade input is missing.
- Older demos do not need to be reconverted, and existing
.dtrfiles that already replay correctly remain usable. - The runtime reader supports
.dtrv3 through v7; the current writer still emits.dtrv7. - The server bundle requires CounterStrikeSharp v1.0.371 or newer and targets CS2 1.41.6.9.
- DemoTracer companion API is v6; BotController native ABI is 16.29.
Validation
- Converter tests passed: 115 library tests and 7 CLI tests, with 0 failures.
- Windows x64 converter CLI and GUI release builds completed.
- BotController native Release build completed.
- DemoTracer CSS Release build completed with 0 warnings and 0 errors.
- New-demo input replay, voice team routing, and speaker identity were verified in game.
- Release assets were checked for raw demos, local paths, logs, and debug symbols;
SHA256SUMS.txtwas regenerated.