MurderModLoader.API 0.1.7

There is a newer version of this package available.
See the version list below for details.
dotnet add package MurderModLoader.API --version 0.1.7
                    
NuGet\Install-Package MurderModLoader.API -Version 0.1.7
                    
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="MurderModLoader.API" Version="0.1.7" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MurderModLoader.API" Version="0.1.7" />
                    
Directory.Packages.props
<PackageReference Include="MurderModLoader.API" />
                    
Project file
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 MurderModLoader.API --version 0.1.7
                    
#r "nuget: MurderModLoader.API, 0.1.7"
                    
#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 MurderModLoader.API@0.1.7
                    
#: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=MurderModLoader.API&version=0.1.7
                    
Install as a Cake Addin
#tool nuget:?package=MurderModLoader.API&version=0.1.7
                    
Install as a Cake Tool

murder-mod-loader

Mod loader for Murder Engine games. Uses Harmony for runtime method patching.

Requirements

  • murder-unpack (for bundle extraction)
  • .NET 8 SDK matching the game's architecture (x64 game needs x64 SDK)

Setup

# Build
git clone https://github.com/yuna0x0/murder-mod-loader.git
cd murder-mod-loader
dotnet publish src/MurderModLoader -c Release -o publish/loader/
dotnet publish src/MurderModLoader.Installer -c Release -o publish/installer/

# Install into a game (auto-detects SDK)
dotnet run --project src/MurderModLoader.Installer -- "/path/to/game"

# Or specify the .NET SDK path manually
dotnet run --project src/MurderModLoader.Installer -- "/path/to/game" "/path/to/dotnet-sdk-8.0"

# Launch
/path/to/game/launch-modded.sh    # Linux / macOS
/path/to/game/launch-modded.bat   # Windows

Creating a Mod

Create a directory with mod.yaml and a C# project:

# mod.yaml
Id: my-mod
Name: My Mod
Version: 1.0.0
DLL: MyMod.dll
using HarmonyLib;
using MurderModLoader.API;

public class MyMod : IMurderMod
{
    private Harmony? _harmony;
    public void OnLoad(ModContext context)
    {
        _harmony = new Harmony(context.HarmonyId);
        _harmony.PatchAll(context.ModAssembly);
    }
    public void OnUnload() => _harmony?.UnpatchAll(_harmony.Id);
}

For game type references (Murder, Bang), set GameAssemblyPath in your .csproj to the game's .modded/ directory, or let the build command handle it.

Build and install a mod

dotnet run --project src/MurderModLoader.Installer -- build <mod-dir> <game-dir>

Limitations

  • SingleFileBundle only — NativeAOT games can't be patched at runtime
  • Architecture match — The .NET SDK must match the game (x64 game needs x64 SDK)

License

MIT

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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.
  • net8.0

    • No dependencies.

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.1.11 92 4/15/2026
0.1.10 90 4/14/2026
0.1.9 94 4/14/2026
0.1.8 95 4/14/2026
0.1.7 91 4/14/2026
0.1.6 97 4/14/2026
0.1.5 88 4/14/2026
0.1.4 93 4/14/2026
0.1.3 91 4/14/2026
0.1.2 97 4/14/2026