Home - 7D2DMods/HarmonyDocs GitHub Wiki
DMT ( [7] Days Modding Tool ) is a modding tool that allows custom code to be added to the Fun Pimp's 7 Days To Die game.
Designed as an open source replacement for the SDX Launcher from Dominix, DMT supports compiling custom C# scripts, adding SDX-style DLL patches, as well as Harmony patching support.
Harmony is a non-intrusive way of loading special mods into 7 Days to Die.
Harmony gives you an elegant and high level way to alter the functionality in applications written in C#. It works great in games and is in fact well established in games like
You can use Harmony to alter the functionality of all the available assemblies of that application. Where other patch libraries simply allow you to replace the original method, Harmony goes one step further and gives you:
- A way to keep the original method intact
- Execute your code before and/or after the original method
- Modify the original with IL code processors
- Multiple Harmony patches co-exist and don't conflict with each other
What's the difference between SDX and DMT patching?
SDX-style patching modifies the existing DLL at build time, changing the base game's DLL.
Harmony patching generates a standalone DLL for each patch, and applies them at run-time.