-
Notifications
You must be signed in to change notification settings - Fork 178
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
Comments
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. |
As far as I understand, talespire modding uses BepInEx. Why doesn't it also use BepInEx's configuration system? |
Currently the most common file access library being used only accesses
plugin folders. However, that can be addressed.
The issue is that even if the R2ModMan mods to distribute files into the
configuration system, what will happened when the plugin is updated?
Will the configuration files in the update overwrite the previous
configuration files thus overwriting any modifications the user made to
those files?
Will it keep the existing configuration files and thereby potentially
prevent the plugin from running because the update uses a different format
of configuration file?
This is why a replace prompt would be a nice feature.
…On Fri, Sep 10, 2021 at 9:22 AM harbingerofme ***@***.***> wrote:
As far as I understand, talespire modding uses BepInEx. Why doesn't it
also use BepInEx's configuration system?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#608 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AGQ5Y6CGKNENGNQI2FNL22LUBIBBJANCNFSM5C7QHVYQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
|
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.
The text was updated successfully, but these errors were encountered: