W.I.P
A mod manager for the game Vigil that provides an in-game interface for managing loaded mods and their settings.
The mod is built using Melonloader 7.1
- Install MelonLoader for Vigil if not already installed
- Place
VigilModManager.dllfrom releases in theModsfolder of your Vigil installation - After launching the game the mod will automatically initialize and add a "Mods" button to the main menu
- Launch Vigil and navigate to the main menu
- Click the "Mods" button to open the mod management interface
- Browse the list of installed mods on the left
- Click on any mod to view its information on the right
- If a mod has configurable settings, click "Settings" to open its configuration panel
To add settings to your mod:
using VMM.ModRegistry.Settings;
using VMM.ModRegistry.Settings.Types;
// Create settings container
var settings = new ModSettings();
// Add a toggle setting
var toggleSetting = new ToggleSetting
{
Name = "Enable Feature",
Value = true,
OnChanged = (value) => {
// Handle setting change
YourMod.HandleToggleChange(value);
}
};
settings.AddSetting(toggleSetting);
// Add a slider setting
var sliderSetting = new SliderSetting
{
Name = "Intensity",
Value = 50f,
MinValue = 0f,
MaxValue = 100f,
OnChanged = (value) => {
// Handle slider change
YourMod.HandleSliderChange(value);
}
};
settings.AddSetting(sliderSetting);
// Register settings with the manager
VMM.ModRegistry.ModManager.Instance.RegisterSettings(Assembly.GetExecutingAssembly(), settings);- Set the
VIGIL_GAME_DIRenvironment variable to your Vigil installation directory- Example Windows:
setx VIGIL_GAME_DIR "E:\Steam\steamapps\common\Vigil"
- Example Windows:
- Build the project using Visual Studio or
dotnet build - The post-build event automatically copies the compiled DLL to the game's Mods folder
Open up a issue and tag it with the fitting tags
This project is licensed under the Apache License 2.0. See LICENSE.txt for the full license text.