0 of 0

File information

Last updated

Original upload

Created by

kiin98

Uploaded by

kiin98

Virus scan

Safe to use

Tags for this mod

About this mod

A Mo2 plugin to merge multiple OBody config files into a single config.

Requirements
Permissions and credits
Changelogs
The problem:
  • Using multiple mods, which all contain an "OBody_presetDistributionConfig.json" file, is not possible since they will overwrite each other
  • For example, using the OBody Refit Masterlist and an additional preset distribution config from another mod will require manual editing to combine those files.

The solution:
  • This mod organizer plugin combines all "OBody_presetDistributionConfig.json" files in your mod list into a single file and saves it in the overwrite folder with a single button press

How to use:
  • Make sure all mods with an "OBody_presetDistributionConfig.json"  file that you want to merge are active before running the plunging (it doesn't matter if they overwrite each other)
  • If you don't want a mod config to be merged into the final config, disable the mod in the mod manager
  • Click the tool icon (the puzzle icon) in the top bar and click on OBodyConfigMerger
  • That's it, all done!
  • The merged file will appear in your overwrite folder, so it will overwrite everything else.

How it works:
  • First, the plugin gets all active mods in order of their Priority
  • It looks for mods that contain the "OBody_presetDistributionConfig.json"  file and merges them starting with the lowest priority.
  • The merging process also merges lists in the JSON and removes duplicates (so  it can also merge configs that edit the same list)
  • If a merge is impossible for a field (for example, for a bool), the value with the highest priority in the mod list will be used.

Debugging:
  • Right-click on the log window section in the mod manager and set the log level to debug
  • Then rerun the OBodyConfigMerger and look for any messages starting with "OBodyConfigMerger::log:

Installation:
  • Put the "OBodyConfigMerger.py" into the mo2 plugin folder.