ModManager
A Mod for Rogue Genesia that can manage other Mods for Rogue Genesia
About this mod Author’s original text
Rogue Genesia Mod Manager
A simple mod that adds a button to the main menu and displays a list of loaded mods. More to come in the future.
How to add support for ModManager to your mod?
ModManager will detect your mod automatically and display the name, version and a description placeholder without doing anything.
However, it can pull some additional information from your mod. To enable that functionality, do the following:
First, add Path to Rogue Genesia game folder\BepInEx\plugins\ModManager\ModManager.RogueGenesiaMod.dll as a reference to your project.
Then, instead of extending BasePlugin, extend RogueGenesiaMod and you will have additional functionality available:
using BepInEx;
using BepInEx.Unity.IL2CPP;
namespace MyMod
{
[BepInPlugin(MyPluginInfo.PLUGIN_GUID, MyPluginInfo.PLUGIN_NAME, MyPluginInfo.PLUGIN_VERSION)]
public class MyMod: RogueGenesiaMod
{
// The description that will be displayed for your mod in ModManager.
// This can be dynamically generated, as it is only called when the ModManager window displays.
public override string ModDescription() => "My awesome mod description";
// If you return true here, if you want ModManager to display a small '?' button next to your mod info
public override bool SupportsDetailButtonClick() => false;
// This method will be called when the small '?' button for your mod is clicked. You can do
// whatever you want in here. This could be a UI specific to your mod.
public override void OnDetailButtonClicked(GameObject modManagerDialog)
{
Log.LogInfo("Detail button clicked");
}
}
}
Changelog
1.0.1
- Add R2modman & Mod Manager support
- Improved locating existing game elements to show the mod button. It will now consistently show up.
1.0.0
- Initial release
Install & use Install: follow the bundled instructions
- Unzip the archive from playbuff and read the bundled readme / instructions first.
- Most mods rely on the game's mod loader — the usual route is a community mod manager (such as r2modman): pick this game, install, and it handles the loader and dependencies.
- For a manual install, put the mod files into the matching Mod / plugins folder inside the game directory.
- Launch the game to confirm it loaded; mods with listed dependencies need those installed as well.
Install locations vary a lot between mods — the bundled readme is the most reliable guide.
Install these first, or the mod will not work: