Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SPEC - WIP] Modifying install behaviour via "mm.meta.json" #608

Open
ebkr opened this issue Aug 28, 2021 · 3 comments
Open

[SPEC - WIP] Modifying install behaviour via "mm.meta.json" #608

ebkr opened this issue Aug 28, 2021 · 3 comments

Comments

@ebkr
Copy link
Owner

ebkr commented Aug 28, 2021

This issue is to work out a specification for an mm.meta.json file to be used to modify mod installation behaviour.

The following fields are currently being considered, however more may be added if needed.

Field Data type Required Description
package_installer string ("BepInEx", "MelonLoader") No Override install behaviour to allow a mod to install as the developer intends should multiple loaders be used for a game. (Potential use case is Subnautica, if ever supported, with both BepInEx and QMods).
overwrites_existing_mod boolean No Should a mod store files in a directory usually inaccessible this would allow the files to be installed to another mod's subdirectory. For use with BepInEx.
mod_to_overwrite string If previous is true Specify the directory to overwrite. Only one directory may be specified.
@LordAshes
Copy link

From the TaleSpire community it would be desirable if there was an option to prompt for file overwriting when installing updates. Currently some of the TaleSpire plugins have user configurable files in the plugin folder itself (so that the user does not need to take any action beyond installing the plugin to use the sample configuration) but this means that the configuration files are overwritten when the plugin is updated. I would propose the following installation behavior if possible:

Provide a R2ModMan setting for Replacement Prompting. If the setting is off, updates would replace files without prompting. If the setting is on, any replaced file (that is not the same as before), during update, would cause a prompt asking if the user wants to replace that file. This means if a user uninstalls the plugin and installs the update, no prompts would occur but if the user just updates the plugin, it would prompt for any files that have changed. Any new files included in the update would be added without prompt since they are not replacing files.

This would help avoid having updates overwrite user modified configuration files.

@harbingerofme
Copy link

As far as I understand, talespire modding uses BepInEx. Why doesn't it also use BepInEx's configuration system?

@LordAshes
Copy link

LordAshes commented Sep 11, 2021 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants