Plugin for Mod Organizer 2. Finds and enables the mods containing a selected list of plugins and their required masters. Then places the selected plugins at the end of the load order. Useful for preparing a merge of plugins with e.g. zEdit.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
File credits
This author has not credited anyone else in this file
Download the latest release and unzip the 'merge-plugins' folder into your MO2 plugins folder.
The file structure should look like this: ...\MO2\plugins\merge-plugins\*.py
Usage
Select your main profile where all your mods are enabled. Run `Prepare Merge` from the plugin menu and select this as the base profile for merge preparation by clicking on `Load active profile as base`. The virtual file system of this profile will be used to generate the plugin-to-mod mapping. Then close the window. (The mapping is stored persistently in the `plugins/data/merge-plugins` folder if you want to delete it for some reason)
Change to a new profile for creating the merge. (Copy your main profile instead of creating a fresh one to keep the mod order)
Run `Prepare Merge` again and select the plugins you want to merge by dragging them into the right list. Reorder the list to match your desired load order from top (low priority) to bottom (high priority). Finally click the `Prepare merge in active profile` button and close the window.
The mods that contain those plugins will be enabled and the plugins placed at the end of the load order. Additionally, masters of the active plugins will be enabled as well until there are no missing masters left.
Run tools like zEdit to generate the merge as usual.
More Usage Info
Instead of searching plugins separately in the left table, you can import a list of plugins from your clipboard directly into the right list.
Copy a list of plugins separated by a new line into your clipboard and press the `Import entries from clipboard` button. Plugins that do not exist in the mapping table are ignored. Check the log window for warning and info messages about the import.
Example:
Skyrim.esm Dawnguard.esm Dragonborn.esm
Development
The code can be found on GitHub. Please report any bugs you find here on Nexus or on GitHub. Feel free to request additional features if you think some functionality is missing.