X2CommunityCore / xcom2-launcher

The Alternative Mod Launcher (AML) is a replacement for the default game launchers from XCOM 2 and XCOM Chimera Squad.
GNU General Public License v3.0
347 stars 51 forks source link

Allow mods to claim user config files and display them in config tab #251

Open robojumper opened 3 years ago

robojumper commented 3 years ago

Use case: My F1 (incl. WotC version) has a file XComYAF1_NullConfig.ini in the user directory (%USERPROFILE%/Documents/My Games/XCOM2 War of the Chosen/XComGame/Config). This is the file users are supposed to edit (for example for rebinding), and I guarantee that their changes persist through mod updates.

AML, on the other hand, only shows the config files shipped with the mod in its Config folder. Users are not supposed to edit any of them -- they're only there to make my life easier because filling in data is easier within config files.

It would be great if my mod could specify somewhere that XComYAF1_NullConfig.ini is "my" file and AML would show that file by default in the Config tab.

Xymanek commented 3 years ago

Related: https://github.com/X2CommunityCore/xcom2-launcher/issues/200#issuecomment-626113906

(both issues are about mods providing some metadata to AML)

MrNiceUK commented 3 years ago

Converse of "hiding" config files would make sense too