A server-side modding framework for Deadlock.
Early development — APIs are not finalized and will change without notice. We are not distributing prebuilt binaries at this time. Early users and contributors should build from source.
Install Visual Studio 2026 with the following workloads:
- Desktop development with C++
- .NET desktop development
Download the latest .NET 10.x.x SDK from dotnet.microsoft.com/download/dotnet/10.0.
After installing, locate the nethost static library. Note down this path for local.props later.
The path will look like: C:\Program Files\dotnet\packs\Microsoft.NETCore.App.Host.win-x64\10.0.5\runtimes\win-x64\native
The native layer statically links libprotobuf.lib. You need protobuf 3.21.8 headers and a Release build of the static library.
- Clone the protobuf 3.21.8 source:
git clone --branch v3.21.8 --depth 1 https://github.com/protocolbuffers/protobuf.git protobuf-3.21.8 - Configure with CMake:
cmake -B build -DCMAKE_BUILD_TYPE=Release -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_MSVC_STATIC_RUNTIME=ON - Build:
cmake --build build --config Release - After a successful build, you should have
libprotobuf.libinbuild/Release/. Note the paths to:src/- headers (used forProtobufIncludeDirinlocal.props)build/Release/- static library (used forProtobufLibDirinlocal.props)
Install Deadlock via Steam. You'll need the path to game\bin\win64\ for deployment.
The path will look like: C:\Program Files (x86)\Steam\steamapps\common\Deadlock\game\bin\win64
-
Clone with submodules:
git clone --recurse-submodules https://github.com/Deadworks-net/deadworks.git -
Copy
local.props.exampletolocal.propsand fill in your paths:ProtobufIncludeDir— protobufsrc/directory (e.g.C:\protobuf-3.21.8\src)ProtobufLibDir— protobuf build output (e.g.C:\protobuf-3.21.8\build\Release)NetHostDir— .NETnethostnative directory (see above)DeadlockDir— Deadlockgame\bin\win64(optional, enables automatic post-build deploy)
-
Open
deadworks.slnxin Visual Studio and build (x64 Release). -
Run the built
deadworks.exefrom<Deadlock>/game/bin/win64/to start the Deadworks server. -
Open your game and connect via console
connect localhost:27067