Easy Savefiles's icon

Easy Savefiles 1.2 Misc 4.0 Community

Submitted by user kanera; MIT; 2024-08-18

Adds the EasySavefiles class to save/load/reset a set of project settings.
Through the methods save/load/reset_game/settings, each do the obvious.
The settings can be found on the ProjectSettings under the "assets/easy_settings/".
When saved, every ProjectSetting string goes through the following filters:
1. Setting is included if it matches the beginning of any Include string.
2. Exclude is ignored if its shorter than evaluated Include string.
3. Setting string is ignored if it matches any valid Exclude string.

These settings will also be saved on a "default" file, at project root, for resetting, since these settings could be changed, they are the only ones that would need to be reset.
If you wish to save these files with encryption, just create a "secrets.txt" file with either or both "addons_easy_savefiles_settings_password" or "addons_easy_savefiles_gamefile_password" on a single line each, followed by any number of spaces and then the password, followed by a linebreak, for example:
addons_easy_savefiles_settings_password you can use spaces
addons_easy_savefiles_gamefile_password remember the linebreak

Hopefully everything is easy to understand, its a very small addon, and I wanted to be the bare minimum, credit would be appreciated, but since its such a simple script, its not really necessary hahaha.
Check the repo for an extensive readme :)


View files Download Submit an issue Recent Edits