Collection of JavaScript packages for parsing and playing back Valve Source 2 demo / replay data in Node.js and modern browsers.
The parsing stack depends only on:
protobufjs— protobuf decoding.snappyjs— Snappy decompression.
| Package | Description |
|---|---|
@deademx/engine |
Shared, game-agnostic engine: parser, replay player, interceptor pipeline, broadcast client, configuration. |
deadem |
Deadlock implementation built on top of @deademx/engine. |
@deademx/dota2 |
Dota 2 implementation built on top of @deademx/engine. |
| Package | Description |
|---|---|
@deademx/examples-common |
Shared helpers, fixtures, and support code used by the example packages. |
@deademx/examples-node-deadem |
Node.js example scripts, benchmarks, and diagnostics for deadem. |
@deademx/examples-node-dota2 |
Node.js example scripts, benchmarks, and diagnostics for @deademx/dota2. |
@deademx/ui |
Published web app at deadem.com demonstrating the libraries. |
@deademx/engine— shared parsing model, player lifecycle, interceptors, API reference, and direct-engine usage. Read this first to understand the concepts that all game-specific packages share.deadem— Deadlock installation, examples, Deadlock-specific extraction snippets, compatibility, and performance benchmarks.@deademx/dota2— Dota 2 installation, examples, and Dota 2-specific extraction snippets.
This project is licensed under the MIT License.
Inspired by and built upon the work of:
- dotabuff/manta — Dotabuff's Dota 2 replay parser in Go
- saul/demofile-net — CS2 / Deadlock replay parser in C#