4
Fork 0

Added mod blacklist

master
Eddoursul 2 years ago
parent 509c54e62a
commit 5078a42dbb
  1. BIN
      SKSE/Plugins/EnderalSE.dll
  2. 21
      source/Enderal DLL/src/CheckInvalidForms.h
  3. 1
      source/Enderal DLL/src/Util.h

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

Binary file not shown.

@ -10,6 +10,27 @@ 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) {

@ -53,6 +53,7 @@ inline void CheckIncompatibleMods()
{
RE::ConsoleLog::GetSingleton()->Print("Loaded SureAI's Enderal: Forgotten Stories | Special Edition v2.0.12 by Eddoursul and contributors");
CheckBlacklist();
CheckWorldspaces();
CheckUnconvertedMap();
CheckSkyrimCells();

Loading…
Cancel
Save