CS2 DemoTracer v0.6.0
CS2 DemoTracer v0.6.0
v0.6.0 是一次较大的架构与性能版本。相比 v0.5.2,本次重点重构了
demo 解析、转换导出、回放加载和 handoff 链路。
先选对下载包
- CLI —
cs2-demotracer-cli-v0.6.0-windows-x64.zip- 转换器入口是
cs2-demotracer.exe,不包含 GUI 可执行文件。 - 适合命令行、inspect、convert、validate、wizard、批量和 pool 工作流。
- 三个包中体积最小;只需要转换 demo 的命令行用户下载它即可。
- 转换器入口是
- GUI —
cs2-demotracer-gui-v0.6.0-windows-x64.zip- 转换器入口是
cs2-demotracer-gui.exe,不包含 CLI 可执行文件。 - 适合单 demo 的图形化分析、回合选择和转换。
- 批量、pool、wizard 或独立 validate 工作流仍请使用 CLI。
- 转换器入口是
- Playback Bundle —
cs2-demotracer-playback-v0.6.0-windows-x64.zip- 安装到本地 Windows x64 CS2 服务器,用于播放转换后的
.dtr。 - 包含
DemoTracer、DemoTracerBotHiderCounterStrikeSharp 插件,
BotController、BotHiderMetamod runtime 及对应 API。 - 它不是云服务器或托管服务;只转换 demo、不在 CS2 中回放的用户不需要下载。
- Metamod:Source 和 CounterStrikeSharp 是外部前置依赖,不包含在播放包内。
- 安装到本地 Windows x64 CS2 服务器,用于播放转换后的
主要更新
- 解析与转换速度大幅提升。 转换器的数据链路经过系统重构:默认非饰品转换
跳过昂贵的饰品列,主解析恢复安全的多线程路径,movement/usercmd 使用严格
row-key 对齐的窄 overlay 并在不匹配时自动回退;行物化和逐玩家.dtr导出也已
并行化。完整饰品转换增加 entity revision cache,并减少列合并中的深拷贝。 - 更自然的 handoff 衔接和接管。 Contact handoff 现在只使用当前 native
可见性证据,不再被记忆中的 enemy handle 或单纯附近人数过早触发;停止 replay
时会清理残留的移动、跳跃和 usercmd 输入,同时保留原生 bot 已建立的状态,让接管
更平顺。 - 更快的回放加载。 下一轮
.dtr会在回合间后台预解码,并配合稳定 manifest、
voice sidecar 缓存、native warm buffer 复用和显式释放,减少回合切换时的等待和
重复工作。 - 更稳定的 replay 身份展示。 Demo-backed 名字、SteamID、头像关联、准星和
scoreboard flair 会跨 handoff、replay finish、sequence complete 和后续回合保持,
直到被明确替换或卸载。 - 新增可选 playoff continuation。
dtr_playoff可在 sequence 耗尽后,分别从
T、CT 的 full-buy 来源轮继续调度,并保持严格的逐玩家 SteamID 匹配。该功能默认
关闭;示例配置仍为"playoff": false。 - 更多 runtime 热路径优化和修复。 减少 managed replay tick、native weapon
lookup、projectile alignment、BotHider capability check 与混合语音回放中的重复工作;
同时合入 Windows BotHider team-join 修复,并修复 playoff freeze-preroll 阵容证据
丢失问题。
兼容性
.dtrwriter 仍为 v7,reader 仍支持 v3–v7;旧.dtr无需重新转换。- Manifest ABI 仍为 17;DemoTracer companion API 仍为 6。
- BotController ABI major 仍为 16;本次播放包包含 ABI minor 31。
- 升级时请整体替换 Playback Bundle,不要混用新旧 native DLL 和 CSS plugin。
- Playback Bundle 需要 CounterStrikeSharp v1.0.371 或更新版本。
- 本次正式发布资产仍只维护并验证 Windows x64。
English
CS2 DemoTracer v0.6.0
v0.6.0 is a major architecture and performance release. Compared with v0.5.2,
it substantially refactors demo parsing, conversion, replay loading, and handoff.
Choose the right download
- CLI —
cs2-demotracer-cli-v0.6.0-windows-x64.zip- Its converter entry point is
cs2-demotracer.exe; the GUI executable is not included. - Use it for inspect, convert, validate, wizard, batch, and pool workflows.
- This is the smallest package and is all command-line converter users need.
- Its converter entry point is
- GUI —
cs2-demotracer-gui-v0.6.0-windows-x64.zip- Its converter entry point is
cs2-demotracer-gui.exe; the CLI executable is not included. - Use it for graphical single-demo analysis, round selection, and conversion.
- Batch, pool, wizard, and standalone validate workflows remain in the CLI.
- Its converter entry point is
- Playback Bundle —
cs2-demotracer-playback-v0.6.0-windows-x64.zip- Install it on the local Windows x64 CS2 server that will play converted
.dtrroutes. - It includes the
DemoTracerandDemoTracerBotHiderCounterStrikeSharp
plugins, theBotControllerandBotHiderMetamod runtimes, and their APIs. - It is not a hosted or cloud service. Converter-only users do not need it.
- Metamod:Source and CounterStrikeSharp remain external prerequisites.
- Install it on the local Windows x64 CS2 server that will play converted
Highlights
- Substantially faster parsing and conversion. The converter now uses lean
non-cosmetic columns, safer multi-threaded parsing, strict row-key-aligned
movement/usercmd overlays with automatic fallback, lower-copy column merging,
parallel row materialization and per-player.dtrgeneration, and cached
cosmetic extraction. - More natural handoff. Contact handoff now relies on current native
visibility evidence instead of remembered enemy handles or proximity alone.
Replay stop clears residual movement, jump, and usercmd input while preserving
the native bot state needed for a smoother takeover. - Faster replay preparation. Upcoming
.dtrfiles are decoded off the game
thread. Stable manifests and voice sidecars are cached, warm native buffers are
reused where appropriate, and unused buffers are released explicitly. - Persistent replay presentation. Demo-backed names, SteamIDs, avatar
associations, crosshairs, and scoreboard flair remain stable across handoff,
replay completion, sequence completion, and later rounds until explicitly
replaced or unloaded. - Optional playoff continuation.
dtr_playoffcan continue an exhausted
sequence using independently selected full-buy T and CT source rounds with
strict per-player SteamID matching. It remains disabled by default. - Runtime hot-path improvements and fixes. Managed replay ticking, native
weapon lookup, projectile alignment, BotHider capability checks, and mixed
voice playback perform less repeated work. This release also includes the
Windows BotHider team-join fix and preserves freeze-preroll roster evidence
while preparing playoff rounds.
Compatibility
.dtrwriter format remains v7; v3–v7 files remain readable and existing
.dtrfiles do not need reconversion.- Manifest ABI remains 17; DemoTracer companion API remains 6.
- BotController ABI major remains 16; the bundled ABI minor is 31.
- Replace the complete Playback Bundle when upgrading instead of mixing old and
new native DLLs or CounterStrikeSharp plugins. - The Playback Bundle requires CounterStrikeSharp v1.0.371 or newer.
- Official release assets remain Windows x64 only.
Full Changelog: v0.5.2...v0.6.0