From 0feb4b702d8a9eb1465c79c49ada5de01b67083d Mon Sep 17 00:00:00 2001 From: Tannin Date: Sun, 8 Jun 2014 15:10:08 +0200 Subject: - loot client now only updates the masterlist once per MO session - new event to notify plugins of changed mod priority - overwrite now shows up in the "checked" category instead of "unchecked" - display of "foreign" mods can now be limited to only official content - bugfix: bsa extraction dialog showed up even if the plugin was disabled - bugfix: after detection of foreign mods the priority of the overwrite folder could get messed up - bugfix: when displaying only the context menu for the mod list as a whole, the menu didn't disappear - bugfix: MO crashed when trying to download via the integrated browser --- src/shared/skyriminfo.cpp | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'src/shared/skyriminfo.cpp') diff --git a/src/shared/skyriminfo.cpp b/src/shared/skyriminfo.cpp index bf7500e6..00cdd4d0 100644 --- a/src/shared/skyriminfo.cpp +++ b/src/shared/skyriminfo.cpp @@ -144,7 +144,18 @@ std::vector SkyrimInfo::getVanillaBSAs() (L"Skyrim - Meshes.bsa") (L"Skyrim - Sounds.bsa") (L"Skyrim - Voices.bsa") - (L"Skyrim - VoicesExtra.bsa"); + (L"Skyrim - VoicesExtra.bsa"); +} + +std::vector SkyrimInfo::getDLCPlugins() +{ + return boost::assign::list_of (L"Dawnguard.esm") + (L"Dragonborn.esm") + (L"HearthFires.esm") + (L"HighResTexturePack01.esp") + (L"HighResTexturePack02.esp") + (L"HighResTexturePack03.esp") + ; } std::vector SkyrimInfo::getIniFileNames() @@ -210,7 +221,9 @@ void SkyrimInfo::createProfile(const std::wstring &directory, bool useDefaults) if (!FileExists(target)) { std::wostringstream source; source << getLocalAppFolder() << "\\Skyrim\\plugins.txt"; +printf("copy %ls -> %ls\n", source.str().c_str(), target.c_str()); if (!::CopyFileW(source.str().c_str(), target.c_str(), true)) { +printf("failed to copy plugins.txt!"); HANDLE file = ::CreateFileW(target.c_str(), GENERIC_WRITE, 0, NULL, CREATE_NEW, FILE_ATTRIBUTE_NORMAL, NULL); ::CloseHandle(file); } @@ -305,4 +318,5 @@ std::vector SkyrimInfo::getExecutables() return result; } + } // namespace MOShared -- cgit v1.3.1