Splash

Splash

6.3k Downloads

Suggestion: Ability to have a config file inside of a resource pack

User198263321 opened this issue ยท 5 comments

commented

Hi, I would like to know if it would be possible to have resource pack integration in this mod where you can place the mod config file in a resource pack in a separate folder specific for fabric-splash so anyone that uses fabric splash and the said resource pack, you can have the option to use the config from the resource pack or from your computer. Also if possible you could import a config file right from your resource pack to your PC. Thank you :)

commented

Unfortunately resource packs are first loaded during the splash screen, so there is no way to read files from it before the splash screen displays. Sure, the config could be applied halfway through, but that would be kind of jarring.

commented

How about just a notice popping up upon the title screen loading, asking you if you want to import it from the resource pack? Then it would load correctly next launch or when switching resource packs, etc. The buttons would be:

("Yes", "No", "Do not ask again for this resource pack", "Do not ask again"). If they click "Do not ask again", then the mod would NEVER ask again. (unless the config file or option in the GUI (if you add that) was set back to "true" as in "Resource pack config notification" in the GUI. If they click, "Do not ask again for this resource pack" then the resource pack name would be saved in a blacklist in the mod config file.

Upon reloading the game, if the user clicked "Yes" then the mod would check if the resource pack's mod config is the same as the current set values in the user's mod config. If they are the same, then a notice would NOT popup and it would be ignored. (it would popup if the values are different at all but then again, they have the option to click "Do not ask again for this resource pack" and it would never ask again for that resource pack.

The resource pack mod config file would ONLY be read from the resource pack that is highest (or highest with a mod config file) on the resource pack list.

This popup would normally be enabled on default (with an option to disable it in the config/GUI/popup)

commented

How about just a notice popping up upon the title screen loading, asking you if you want to import it from the resource pack?

:((((((((((((((( noooooo

I could probably add a button in the config screen to import from the resource pack, but not prompts on the splash screen.

commented

I could probably add a button in the config screen to import from the resource pack, but not prompts on the splash screen.

Not on the splash screen. A prompt on the title screen.

Sort of like what Modupdater does

commented

I could probably add a button in the config screen to import from the resource pack, but not prompts on the splash screen.

Not on the splash screen. A prompt on the title screen.

Sort of like what Modupdater does

I'm not going to add prompts anywhere. Splash is not supposed to be an invasive mod. It's supposed to be very minimal and not make any changes to vanilla besides the title screen. That is why the config menu can only be accessed by a button from another mod. You can even opt out of installing that mod and only edit the config file.