Added configuration options for form type collisions and force-loading plugins

This commit is contained in:
Eddoursul 2026-01-19 02:58:12 +01:00
parent 461405836d
commit 3fe7fb62ac
4 changed files with 15 additions and 5 deletions

View File

@ -1,3 +1,4 @@
ForceLoadEnderalPlugins = true
FlatMapMarkers = true FlatMapMarkers = true
StayAtSystemPage = true StayAtSystemPage = true
MapMarkerPlacementFixes = true MapMarkerPlacementFixes = true
@ -6,3 +7,4 @@ VideoInterruptPatch = true
ForceBorderless = true ForceBorderless = true
AttachLightHitEffectCrashFix = true AttachLightHitEffectCrashFix = true
AutoScaleHeroMenu = true AutoScaleHeroMenu = true
WarnFormTypeCollisions = true

View File

@ -1 +1 @@
version = 2.1.4 version = 2.1.4.1

BIN
source/Enderal DLL/cmake/version.rc.in (Stored with Git LFS)

Binary file not shown.

View File

@ -19,6 +19,8 @@
using namespace SKSE; using namespace SKSE;
static std::map<std::string, bool> g_settings{ static std::map<std::string, bool> g_settings{
{ "ForceLoadEnderalPlugins", true },
{ "WarnFormTypeCollisions", true },
{ "FlatMapMarkers", true }, { "FlatMapMarkers", true },
{ "StayAtSystemPage", true }, { "StayAtSystemPage", true },
{ "MapMarkerPlacementFixes", true }, { "MapMarkerPlacementFixes", true },
@ -190,8 +192,14 @@ SKSEPluginLoad(const LoadInterface* skse) {
Init(skse); Init(skse);
InitializeMessaging(); InitializeMessaging();
FormTypeCollisionDetector::Install();
PluginsTxtPatch::Install(); if (g_settings.at("WarnFormTypeCollisions")) {
FormTypeCollisionDetector::Install();
}
if (g_settings.at("ForceLoadEnderalPlugins")) {
PluginsTxtPatch::Install();
}
RE::INISettingCollection::GetSingleton()->GetSetting("sIntroSequence:General")->data.s = nullptr; RE::INISettingCollection::GetSingleton()->GetSetting("sIntroSequence:General")->data.s = nullptr;