filter mod-types from combobox with no nodes save current installed config install select all (only of current type?) revert - select mods that are currently installed globalization: installation: - remove current .dat/.raw/.sep from GDF - remove current BSL-folders? - combine vanilla+default-mods+selected-mods - combine BSL orig: globalization: installer.cpp/h - globalizeData() in #31 installation: installer.cpp/h - recompileAll() in #500 #ifdef WIN32 bool splitInstances = false; string strImportOption = "-import:nosep"; string strOniSplit = "Onisplit.exe"; #else bool splitInstances = false; string strImportOption = "-import:sep"; string strOniSplit = "mono Onisplit.exe"; #endif check .net>2.0: win: http://msdn.microsoft.com/en-us/kb/kbarticle.aspx?id=318785 mac: which mono http://www.microsoft.com/downloads/details.aspx?familyid=0856eacb-4362-4b0d-8edd-aab15c5e04f5 check globalization: bool CheckForGlobalization(bool justDoIt) { if (!exists("../GameDataFolder")) { string globMsg = "You haven't globalized yet!\n"; globMsg = globMsg + "You must globalize to use the Anniversary Edition framework.\n" + "Would you like to globalize now? (This could take a while...)\n" + "(Selecting \"No\" will exit this program...)"; wxMessageDialog* YesNoDialog = new wxMessageDialog(TheWindow, globMsg.c_str(), "AE Installer Alert", wxYES_NO | wxICON_EXCLAMATION, wxDefaultPosition); if (YesNoDialog->ShowModal() == wxID_NO) // if the user said no... { TheWindow->Close(); return true; } } else if (!justDoIt) return false; // Code below this point runs if user clicks "Yes" or if they are never asked but justDoIt is true #ifdef WIN32 boost::thread thrd3(globalize2); #else // cannot use multi-threading in Mac build TheWindow->InstallButton->Disable(); TheWindow->ReglobalizeButton->Disable(); globalizeData(); TheWindow->InstallButton->Enable(); TheWindow->ReglobalizeButton->Enable(); #endif return true; }