5 Commits
1.0.0 ... 1.0.1

Author SHA1 Message Date
Exil Productions
b1e5cc6f25 Made Core Logger Only Gettable 2025-11-11 22:03:48 +01:00
Exil Productions
a9493c78bd Merge branch 'master' of https://github.com/ExilProd 2025-11-11 19:08:36 +01:00
Exil Productions
d80c272b97 Add Images 2025-11-11 19:08:31 +01:00
Exil Productions
5c9a8362cb Update Usage
Updated proper namespace for ModManager
2025-11-11 18:56:27 +01:00
Exil Productions
a4ca3b18d5 Update Project and ModInfo 2025-11-11 17:03:38 +01:00
6 changed files with 31 additions and 8 deletions

BIN
Assets/ModButton.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

BIN
Assets/ModMenu.PNG Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 MiB

21
Core.cs
View File

@@ -8,18 +8,33 @@ using VMM.ModRegistry.Settings;
using VMM.ModRegistry.Settings.Types;
using VMM.UI;
[assembly: MelonInfo(typeof(VMM.Core), ModInfo.Name, ModInfo.Version, ModInfo.Author, null)]
[assembly: MelonInfo(typeof(VMM.Core), ModInfo.Name, ModInfo.Version, ModInfo.Author, ModInfo.DownloadLink)]
[assembly: MelonGame("Singularity Studios", "Vigil")]
namespace VMM
{
internal class Core : MelonMod
{
public static MelonLogger.Instance Logger { get; private set; }
public static MelonLogger.Instance Logger
{
get
{
if (_logger != null)
{
return _logger;
}
else
{
throw new System.Exception("Logger instance is not initialized yet.");
}
}
}
private static MelonLogger.Instance _logger;
public override void OnInitializeMelon()
{
Logger = LoggerInstance;
_logger = LoggerInstance;
LoggerInstance.Msg("Initialized.");
}

View File

@@ -9,6 +9,6 @@ namespace VMM
public const string Name = "VigilModManager";
public const string Version = "1.0.0";
public const string Author = "Exil_S";
public const string DownloadLink = "";
public const string DownloadLink = "https://github.com/ExilProductions/VigilModManager";
}
}

View File

@@ -6,6 +6,13 @@ A mod manager for the game Vigil that provides an in-game interface for managing
*The mod is built using Melonloader 7.1*
## Showcase
### Mod Button in Main Menu
![Mod Button](Assets/ModButton.PNG)
### Mod Management Interface
![Mod Menu](Assets/ModMenu.PNG)
## Installation
@@ -61,7 +68,7 @@ var sliderSetting = new SliderSetting
settings.AddSetting(sliderSetting);
// Register settings with the manager
VMM.Core.ModManager.Instance.RegisterSettings(Assembly.GetExecutingAssembly(), settings);
VMM.ModRegistry.ModManager.Instance.RegisterSettings(Assembly.GetExecutingAssembly(), settings);
```
@@ -76,4 +83,4 @@ VMM.Core.ModManager.Instance.RegisterSettings(Assembly.GetExecutingAssembly(), s
## License
This project is licensed under the Apache License 2.0. See LICENSE.txt for the full license text.
This project is licensed under the Apache License 2.0. See LICENSE.txt for the full license text.

View File

@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
@@ -9,12 +9,13 @@
<AssemblyVersion>1.0.0.0</AssemblyVersion>
<FileVersion>1.0.0.0</FileVersion>
<NeutralLanguage>en-US</NeutralLanguage>
<AssemblyName>VigilModManagerML</AssemblyName>
<AssemblyName>VigilModManager</AssemblyName>
<LangVersion>latest</LangVersion>
<ImplicitUsings>enable</ImplicitUsings>
</PropertyGroup>
<ItemGroup>
<Compile Include="Core.cs" />
<Compile Include="ModInfo.cs" />
<Compile Include="ModRegistry\ModEntry.cs" />
<Compile Include="ModRegistry\ModManager.cs" />
<Compile Include="ModRegistry\Settings\ISettingsElement.cs" />