[solved] A persistent way to save mod config

Things that already exist in the current mod API
Post Reply
User avatar
theRustyKnife
Filter Inserter
Filter Inserter
Posts: 259
Joined: Thu Feb 26, 2015 9:26 pm
Contact:

[solved] A persistent way to save mod config

Post by theRustyKnife »

Hi,
So the issue is: You have a mod (RSO, for example) that allows for player configuration. Now an update comes out and you download it. You install the new version and delete the old one - with your custom config file.
This is an even bigger issue when updating through the games built in mod manager as you might not even realize it's deleting the old version entirely.

What I propose to solve this is adding a directory where mods would save their configuration. It could be done so that each mod gets it's own ini file or something. It wouldn't even be necessary to allow direct access to these files - just add some functions like script.write_to_config(key, value) and script.get_from_config(key), you get the idea...

What would be even better is if it was possible to change these settings from within the games options menu :D!

Thanks TRK
Last edited by theRustyKnife on Wed Sep 21, 2016 4:07 pm, edited 4 times in total.

User avatar
aubergine18
Smart Inserter
Smart Inserter
Posts: 1264
Joined: Fri Jul 22, 2016 8:51 pm
Contact:

Re: A persistent way to save mod config

Post by aubergine18 »

Planned for 0.15 - post your thoughts here: viewtopic.php?f=34&t=32890
Better forum search for modders: Enclose your search term in quotes, eg. "font_color" or "custom-input" - it prevents the forum search from splitting on hypens and underscores, resulting in much more accurate results.

User avatar
theRustyKnife
Filter Inserter
Filter Inserter
Posts: 259
Joined: Thu Feb 26, 2015 9:26 pm
Contact:

Re: A persistent way to save mod config

Post by theRustyKnife »

Oh, well, nevermind then...

Post Reply

Return to “Already exists”