Note: This is specifically related to Creation Engine games.
Is your feature request related to a problem? Please describe.
When a mod has multiple plugins associated with it, when marking one of those plugins as optional in the "Optional Plugins" tab of the mod description dialog window, the plugin gets moved to a "optional" subfolder. This is a great feature, but as it is currently implemented, it leaves associated archives around to clutter the filetree tab.
Describe the solution you'd like
What I would like to see happen is that when the last plugin of a specific name is moved to the "optional" subfolder via the "Optional Plugins" tab, any associated archives are also moved.
For example, I have files "Foo.esp", "Foo.esm", "Bar.esm", and "Foo - Main.ba2" in the mod's folder. If I mark one of the "Foo.*" files as optional, that file would get moved to the "optional" subfolder and nothing else would happen.
Once I mark both of those files as optional however, MO2 would then also move "Foo - Main.ba2" into the "optional" subfolder.
If either of the "Foo.*" files were to be marked as available, MO2 would then move the "Foo - Main.ba2" file out of the "optional" subfolder back into the main mod folder.
Describe alternatives you've considered
There might be the option of making a plugin that does this, but I haven't explored that path. The only other way I can think of to do this is to simply move the file manually.
Additional context
(none)
Note: This is specifically related to Creation Engine games.
Is your feature request related to a problem? Please describe.
When a mod has multiple plugins associated with it, when marking one of those plugins as optional in the "Optional Plugins" tab of the mod description dialog window, the plugin gets moved to a "optional" subfolder. This is a great feature, but as it is currently implemented, it leaves associated archives around to clutter the filetree tab.
Describe the solution you'd like
What I would like to see happen is that when the last plugin of a specific name is moved to the "optional" subfolder via the "Optional Plugins" tab, any associated archives are also moved.
For example, I have files "Foo.esp", "Foo.esm", "Bar.esm", and "Foo - Main.ba2" in the mod's folder. If I mark one of the "Foo.*" files as optional, that file would get moved to the "optional" subfolder and nothing else would happen.
Once I mark both of those files as optional however, MO2 would then also move "Foo - Main.ba2" into the "optional" subfolder.
If either of the "Foo.*" files were to be marked as available, MO2 would then move the "Foo - Main.ba2" file out of the "optional" subfolder back into the main mod folder.
Describe alternatives you've considered
There might be the option of making a plugin that does this, but I haven't explored that path. The only other way I can think of to do this is to simply move the file manually.
Additional context
(none)