Vortex-Modlist-Backup icon indicating copy to clipboard operation
Vortex-Modlist-Backup copied to clipboard

[Feature Suggestion] Export only enabled mods

Open YoYoK3nny opened this issue 5 years ago • 1 comments

Would be cool if only the enabled mods were exported. (When clicking "Modlist Backup Only This Game")

I've looked at how Vortex stores the enabled state of mods. Following is the json paths needed. (Anything between <> is obtained elsewhere):

profileId: settings.profiles.lastActiveProfile.<game> type is string

isEnabled: persistent.profiles.<profileId>.modState.<mod.attributes.name>.enabled type is boolean

Should be viable whether or not profile management is enabled (Since the default profile for each game has to be there regardless)

YoYoK3nny avatar Sep 17 '20 12:09 YoYoK3nny

Thanks for the suggestion. I've been thinking about this, and I wanted to do it as part of a larger feature where it also backs up the different profiles that you have, and can then restore mods to the same enabled/disabled state across multiple profiles.

A full featured profile backup/restore system might take me a while to do though (mostly because I don't use profiles), so you're right and I should allow this one feature, then people can have per-profile mod list backups on their own

Garethp avatar Sep 17 '20 18:09 Garethp