Is there any way to save the player's options (created with a modified version of Yanfly's System Options) to their AppData folder?
Saving game settings to AppData?
RGSSx Script SupportI've moved this thread to RGSSx Script Support (RGSS3 Scripts is for scripts you have written and are sharing). Please be sure to post your threads in the correct forum next time. Thank you.
Add a link to the script.
Add a link to the script.
And if your mods to the script are significant, you might need to tell people what they are.
But for clarity's sake - when you say "the player's options" what exactly do you mean?
Are these options they have chosen via e.g. Yanfly's System Options script?
Options they have chosen like the classes the characters have?
How are these options separate from/different from what will be being saved anyway in the normal save file?
But for clarity's sake - when you say "the player's options" what exactly do you mean?
Are these options they have chosen via e.g. Yanfly's System Options script?
Options they have chosen like the classes the characters have?
How are these options separate from/different from what will be being saved anyway in the normal save file?
Took me longer to reply here. I was making up my mind on this.
-When I mean player options, I mean settings (set in the afforementioned script), that will carry over through playthroughs. The file (saved in the AppData folder) contains Volume (SFX, BGM) and Gameplay (World and Battle) settings. This is also to ensure that the settings are saved properly on the stand alone versions (which are using an installer).
Script: https://yanflychannel.wordpress.com/rmvxa/menu-scripts/system-options/
The modifications have to do with making this a separate menu, rather than replacing the Shutdown command and setting two switches to turn on or off some scripts.
EDIT: I am also adding settings stored by Zeus' Fullscreen+ script (Fullscreen/Windowed, Screen Size). Script: http://forums.rpgmakerweb.com/index.php?/topic/14081-fullscreen/
-When I mean player options, I mean settings (set in the afforementioned script), that will carry over through playthroughs. The file (saved in the AppData folder) contains Volume (SFX, BGM) and Gameplay (World and Battle) settings. This is also to ensure that the settings are saved properly on the stand alone versions (which are using an installer).
Script: https://yanflychannel.wordpress.com/rmvxa/menu-scripts/system-options/
The modifications have to do with making this a separate menu, rather than replacing the Shutdown command and setting two switches to turn on or off some scripts.
EDIT: I am also adding settings stored by Zeus' Fullscreen+ script (Fullscreen/Windowed, Screen Size). Script: http://forums.rpgmakerweb.com/index.php?/topic/14081-fullscreen/
As far as I know, Yanfly's System Options script is not saving it's data in any external files. It saves the settings along with the save data, without creating a separate file for it.
If you want to change that you would need to rewrite lotsa things in the code (to read and write the settings to an external file).
But if you already did that, there was a similar topic asking about saving files in the AppData (or in some similar, user based folders) around here. You will need to set the folder to read from to something like ENV["AppData"] (plus the sub-folders, if any).
If you want to change that you would need to rewrite lotsa things in the code (to read and write the settings to an external file).
But if you already did that, there was a similar topic asking about saving files in the AppData (or in some similar, user based folders) around here. You will need to set the folder to read from to something like ENV["AppData"] (plus the sub-folders, if any).
Hmmm... not a bad idea but...
Yanfly's script uses variables and switches for storing the user-defined data, and variables are stored in the save files.
If you want to store custom data in some other file, you can use Engr. Adiktuzmiko's script for custom data, and if you want to access the AppData folder, use ENV['APPDATA'] (if you want to see all options ENV hash gives you, paste in any script 'puts ENV')
Yanfly's script uses variables and switches for storing the user-defined data, and variables are stored in the save files.
If you want to store custom data in some other file, you can use Engr. Adiktuzmiko's script for custom data, and if you want to access the AppData folder, use ENV['APPDATA'] (if you want to see all options ENV hash gives you, paste in any script 'puts ENV')
Original thread: https://forums.rpgmakerweb.com/threads/saving-game-settings-to-appdata.44859/