DemoFile.Game.Deadlock
0.36.2
dotnet add package DemoFile.Game.Deadlock --version 0.36.2
NuGet\Install-Package DemoFile.Game.Deadlock -Version 0.36.2
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="DemoFile.Game.Deadlock" Version="0.36.2" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DemoFile.Game.Deadlock" Version="0.36.2" />
<PackageReference Include="DemoFile.Game.Deadlock" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add DemoFile.Game.Deadlock --version 0.36.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: DemoFile.Game.Deadlock, 0.36.2"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package DemoFile.Game.Deadlock@0.36.2
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=DemoFile.Game.Deadlock&version=0.36.2
#tool nuget:?package=DemoFile.Game.Deadlock&version=0.36.2
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
DemoFile.Game.Deadlock 
DemoFile.Net is a blazing fast demo parser library for Source 2 games, written in C#. It is cross-platform, and can be used on Windows, Mac or Linux.
This DemoFile.Game.Deadlock package provides support for parsing Deadlock demos.
See DemoFile on NuGet for more information about the base library.
Features
| Feature | Availability |
|---|---|
| TV demos | ✅ Full support |
| POV demos | ✅ Full support |
| HTTP broadcasts | ✅ Full support |
Game events (e.g. zipline_player_attached) |
✅ Full support |
| Entity updates (player positions, abilities, etc.) | ✅ Full support |
| Seeking forwards/backwards through the demo | ✅ Full support |
Examples
using DemoFile;
internal class Program
{
public static async Task Main(string[] args)
{
var path = args.SingleOrDefault() ?? throw new Exception("Expected a single argument: <path to .dem>");
var demo = new DeadlockDemoParser();
demo.Source1GameEvents.PlayerDeath += e =>
{
Console.WriteLine($"{e.Attacker?.PlayerName} [{e.Weapon}] {e.Player?.PlayerName}");
};
var reader = DemoFileReader.Create(demo, File.OpenRead(path));
await reader.ReadAllAsync();
Console.WriteLine("\nFinished!");
}
}
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net7.0
- DemoFile (>= 0.36.2)
- Google.Protobuf (>= 3.22.1)
- NerdBank.GitVersioning (>= 3.6.133)
- protobuf-net (>= 3.2.16)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 0.36.2 | 184 | 9/22/2025 |
| 0.35.1 | 109 | 9/5/2025 |
| 0.34.1 | 207 | 8/27/2025 |
| 0.33.1 | 152 | 8/18/2025 |
| 0.32.1 | 159 | 8/14/2025 |
| 0.31.2 | 232 | 8/6/2025 |
| 0.31.1 | 73 | 8/1/2025 |
| 0.30.2 | 133 | 7/29/2025 |
| 0.30.1 | 203 | 6/1/2025 |
| 0.29.1 | 177 | 3/1/2025 |
| 0.28.1 | 153 | 1/31/2025 |
| 0.27.1 | 254 | 11/2/2024 |
| 0.26.1 | 165 | 10/29/2024 |
| 0.25.1 | 181 | 10/12/2024 |
| 0.24.1 | 159 | 10/7/2024 |
| 0.23.1 | 194 | 9/27/2024 |
| 0.22.3 | 159 | 9/23/2024 |
| 0.22.1 | 174 | 9/22/2024 |
| 0.21.1 | 151 | 9/14/2024 |
| 0.21.1-g27b712d66f | 149 | 9/14/2024 |
| 0.0.0-g27b712d66f | 150 | 9/14/2024 |