4
Fork 0

Removed the More Affinities check, it is now redundant

steam-1.6.1130
Eddoursul 6 months ago
parent 7b24aa0767
commit 9bdf9a2640
  1. BIN
      SKSE/Plugins/EnderalSE.dll
  2. BIN
      scripts/_00e_playersetupscript.pex
  3. 21
      source/Enderal DLL/src/CheckInvalidForms.h
  4. 3
      source/Enderal DLL/src/Util.h
  5. 5
      source/scripts/_00e_playersetupscript.psc

BIN
SKSE/Plugins/EnderalSE.dll (Stored with Git LFS)

Binary file not shown.

@ -10,27 +10,6 @@ inline bool DataFileExists(std::string filename, int maxSize = 1000000)
return std::filesystem::exists(path) && std::filesystem::file_size(path) > maxSize;
}
inline void CheckBlacklist()
{
const auto dataHandler = RE::TESDataHandler::GetSingleton();
if (!dataHandler) {
return;
}
std::string filenames[1] = {
"Enderal_FS_More_Affinities.esp",
};
for (short i = 0; i < 1; i++) {
if (dataHandler->LookupLoadedModByName(filenames[i])) {
aModNames.insert(filenames[i]);
RE::DebugMessageBox(std::format("{} is incompatible with Enderal SE.\nCheck console for the list of flagged mods.", filenames[i]).c_str());
RE::ConsoleLog::GetSingleton()->Print(std::format("{} is incompatible", filenames[i]).c_str());
}
}
}
inline void NotifyInvalidForm(const RE::TESForm* form)
{
if (!form) {

@ -54,7 +54,6 @@ inline void CheckIncompatibleMods()
RE::ConsoleLog::GetSingleton()->Print("Loaded SureAI's Enderal: Forgotten Stories | Special Edition v2.0.x by Eddoursul and contributors");
}
CheckBlacklist();
CheckWorldspaces();
CheckUnconvertedMap();
CheckSkyrimCells();
@ -67,8 +66,6 @@ inline void CheckIncompatibleMods()
inline bool PapyrusGlobalFunctionExists(const char* scriptName, const char* funcName)
{
logger::info("Real - GetGlobalFunctionNames of {}", scriptName);
std::vector<std::string> functionNames;
RE::BSTSmartPointer<RE::BSScript::ObjectTypeInfo> typeInfoPtr;
RE::BSScript::Internal::VirtualMachine::GetSingleton()->GetScriptObjectType(RE::BSFixedString(scriptName), typeInfoPtr);
auto functionCount = typeInfoPtr->GetNumGlobalFuncs();

@ -45,11 +45,6 @@ Event OnInit()
kQuest.Start()
endwhile
If Game.GetModByName("Enderal_FS_More_Affinities.esp") != 255
Game.QuitToMainMenu()
Debug.MessageBox("Enderal_FS_More_Affinities.esp is outdated and does not work with Enderal SE. Please, uninstall or update the mod.")
EndIf
EndEvent
Event OnPlayerLoadGame()

Loading…
Cancel
Save