Check for leftover DLLs from previous versions of Enderal
This commit is contained in:
parent
18ac89e171
commit
5fc3db6a05
@ -9,7 +9,7 @@ Beware, spoilers ahead!
|
||||
2.0.12.4 (2022-09-30)
|
||||
- Skyrim SE 1.6.640 (Steam) and 1.6.659 (GOG) support.
|
||||
- Fixed the dialog quit popup appearing in non-locked conversations.
|
||||
- Fixed swapped objectives in Call of the Hunt.
|
||||
- Making a Wolf Blood in Call of the Hunt led to the objective to drink Chymikum, and vice versa.
|
||||
|
||||
|
||||
2.0.12.3 (2022-09-16)
|
||||
|
BIN
SKSE/Plugins/EnderalSE.dll
(Stored with Git LFS)
BIN
SKSE/Plugins/EnderalSE.dll
(Stored with Git LFS)
Binary file not shown.
@ -102,6 +102,19 @@ namespace {
|
||||
|
||||
SKSEPluginLoad(const LoadInterface* skse) {
|
||||
|
||||
std::string filenames[4] = {
|
||||
"fs.dll",
|
||||
"fs_se.dll",
|
||||
"fs_skse_functions.dll",
|
||||
"FlatMapMarkersEnderal.dll"
|
||||
};
|
||||
for (int i = 0; i < 4; i++) {
|
||||
if (std::filesystem::exists(std::format("Data\\SKSE\\Plugins\\{}", filenames[i]))) {
|
||||
MessageBoxA(NULL, std::format("Found a leftover file from a previous version of Enderal SE. Please, delete Data\\SKSE\\Plugins\\{}.", filenames[i]).c_str(), "Error", MB_OK | MB_ICONERROR);
|
||||
exit(EXIT_FAILURE);
|
||||
}
|
||||
}
|
||||
|
||||
if (DataFileExists("Dawnguard.esm") || DataFileExists("Dragonborn.esm") || DataFileExists("HearthFires.esm") || DataFileExists("Update.esm")) {
|
||||
MessageBoxW(NULL, L"Skyrim DLCs are incompatible with Enderal.", L"Error", MB_OK | MB_ICONERROR);
|
||||
exit(EXIT_FAILURE);
|
||||
|
Loading…
Reference in New Issue
Block a user