dtmt/crates/dtmt
Lucas Schwiderski 7b95918000
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Refactor code for file injection
I ended up wrapping the raw data in a `BundleFile` twice.
I also made '--compile' the default, as it should be much less often
that raw data needs to be inserted. Even files that are essentially raw
binary blobs, like `.wwise_event`, still have some custom fields that
need to be accounted for.
2025-04-22 23:17:01 +02:00
..
src Refactor code for file injection 2025-04-22 23:17:01 +02:00
Cargo.toml Update dependencies 2024-08-21 14:33:39 +02:00
README.adoc docs: Add split READMEs 2023-03-01 22:14:31 +01:00

Darktide Mod Tools (DTMT)

A set of tools to develop mods for the newest generation of the Bitsquid game engine that powers the game Warhammer 40.000: Darktide.

Quickstart

  1. Head to the latest release and download the dtmt binary for your platform.

  2. Place the binary and dictionary.csv next to each other.

  3. Open a command prompt, navigate to the downloaded binary and run dtmt.exe help.

  4. Use the help command (it works for subcommands, too) and the CLI Reference.

Runtime dependencies

The LuaJit decompiler (short "ljd") is used to decompile Lua files. A version tailored specifically to Bitsquid may be found here: https://github.com/Aussiemon/ljd.

A custom executable location may be passed via the --ljd flag during extraction, otherwise decompilation expects ljd to be found via the PATH environmental variable.

Building

  1. Install Rust from rust-lang.org or via the preferred means for your system.

  2. Download or clone this source code. Make sure to include the submodules in lib/.

  3. Run cargo build.