Hi. First things first, thanks for the work done here, it really helps with merging all OBody configs, and even encouraged me to make custom ones for certain followers. On that note though, I noticed that, the script doesn't wipe the old configs and instead merges into all into with brand new ones.
Example:
- config_1 - config_2 - config_3
Merged into example_output_folder (not overwrite).
If I modify any of the configs and merges them again into the same output folder, whatever old config's there gets merged with brand new ones. Ideally, it'd be better to simply overwrite the config .JSON with new, merged configs.
Thanks for your comment. The problem is that if you select a mod that already exists as your output mod, this selected mod will be merged into the new config again, right? In this case, I always intended to skip the mod, but I messed up the if condition. It only worked if the mod had the exact name: "OBody Config Overwrite". The overwrite folder will never be merged since it is not considered an active mod. I will upload a fix in the next version.
Thank you for your exceptional mod I tested with my various lists for Obody before I had done a long -term publishing work on Visual Studio but with all the updates of certain lists ended up giving up constantly this work.
i merge several list config for test : 1- https://www.nexusmods.com/skyrimspecialedition/mods/105052?tab=files
And this very well worked from MO2 5.2 I found the new JSON file in the Overwrite, after just create an empty mod and put the JSON file inside and activated in MO2 and that it crushes others voila. thanks happy :-)
Thank you! I am glad that everything worked even for this complex case. Since I never tested merging more than 2-3 mods, feel free to notify me if you find something wrong.
I have a feature request, if I may. Instead of sending the output directly to the overwrite folder, give the option to send it to an active mod folder. I ask this because the overwrite folder doesn't play nicely with MO2 profiles. Nevertheless, it's a good plugin, endorsed.
Great question. it should merge these, so if a npc is mentioned in both configs by FormID it will give them both presets. Which means they will randomly choose one of them. But i just noticed in your example, that one mod uses "Skyrim.esm" as a key and the other "Skyrim.ESM" so they will not get merged which is a problem. Working on a fix right now.
I actually had the idea to see if ChatGPT could merge the two .json files together for me and it worked. The only thing is one of the .json files distributes specific bodies to certain individuals and it just ended up distributing random bodies to them instead, but I’m okay with that.
Just refer the machine to this page for reading; https://www.nexusmods.com/skyrimspecialedition/articles/4756, and then paste your jsons. It should be easier to examine and correct later with npp / vscode / your favorite text editor. There is also Synthesis patcher that would work for vortex, nmm or even with no mod manager at all.
Suggestion: add pop up window after clicked this plugin which refer to result at Overwrite folder. Nevertheless, thanks for making this python mo2 plugin.
thats normal. it does everything in the background. it should generate a "OBody_presetDistributionConfig.json" file in your overwrite directory in SKSE/Plugins.
37 comments
On that note though, I noticed that, the script doesn't wipe the old configs and instead merges into all into with brand new ones.
Example:
- config_1
- config_2
- config_3
Merged into example_output_folder (not overwrite).
If I modify any of the configs and merges them again into the same output folder, whatever old config's there gets merged with brand new ones. Ideally, it'd be better to simply overwrite the config .JSON with new, merged configs.
The problem is that if you select a mod that already exists as your output mod, this selected mod will be merged into the new config again, right?
In this case, I always intended to skip the mod, but I messed up the if condition. It only worked if the mod had the exact name: "OBody Config Overwrite". The overwrite folder will never be merged since it is not considered an active mod. I will upload a fix in the next version.
Edit: fixed in 1.2.1
Once again, thanks for the work done here.
Now whenever I start MO2 I get the error message
(...)
PyQt6.QtGui import Q|con
ModuleNotFoundError: No module named 'PyQt6'
I have installed PyQt6 via pip but I still get this error message.
What am I missing?
i merge several list config for test : 1- https://www.nexusmods.com/skyrimspecialedition/mods/105052?tab=files
2+ https://www.nexusmods.com/skyrimspecialedition/mods/95704
3+https://www.nexusmods.com/skyrimspecialedition/mods/119071
4+https://www.nexusmods.com/skyrimspecialedition/mods/85788
5-https://www.nexusmods.com/skyrimspecialedition/mods/122797
And this very well worked from MO2 5.2
I found the new JSON file in the Overwrite, after just create an empty mod and put the JSON file inside and activated in MO2 and that it crushes others voila. thanks happy :-)
I am glad that everything worked even for this complex case. Since I never tested merging more than 2-3 mods, feel free to notify me if you find something wrong.
Notice
This comment is too large to display.display the commentjust paste the code into the "new paste" section and then click on "create new paste." And then share the link here.
i make the pastebin
Instead of sending the output directly to the overwrite folder, give the option to send it to an active mod folder.
I ask this because the overwrite folder doesn't play nicely with MO2 profiles.
Nevertheless, it's a good plugin, endorsed.
I added a mod selection dialog in version 1.2.0.
it should merge these, so if a npc is mentioned in both configs by FormID it will give them both presets. Which means they will randomly choose one of them. But i just noticed in your example, that one mod uses "Skyrim.esm" as a key and the other "Skyrim.ESM" so they will not get merged which is a problem. Working on a fix right now.
Edit: fixed in version 1.0.1
Suggestion: add pop up window after clicked this plugin which refer to result at Overwrite folder.
Nevertheless, thanks for making this python mo2 plugin.
Edit: Added Dialog window in 1.1.0