Orange Change Save File Name

Orange Change Save File Name 1.0
Hudell
​
Introduction
This plugin Will let you change the name of the save file for your game.
If you plan on releasing your game to be played on a web browser, you should change the save file name because otherwise the game will find the savefiles of other MVs games and show them as if they were from your game.

Params

localFilePattern:
The pattern of the save file when saved on the local disk.
Default: file%1.rpgsave

webStorageKeyPattern:
The pattern of the save file when saved on the browser web storage
Default: RPG File%1


Plugin
Get it from here

FAQ
I'll keep a small FAQ here for easy reference.

Credit and Thanks
- Hudell
Very handy for web browser stuff and even just overall aesthetic 🙂 thanks for this a bunch Hudell!
@Hudell I've been using this plugin of yours (among others - thanks!), but encountered an issue where the saved filenames aren't actually being changed, or at least, they're not changing the way I thought they would, so please let me know if I'm interpreting the plugin wrongly. Please see screenshots below - the filenames are supposed to have "Test" added to the beginning, but only the configuration file has this changed (it's now saved as Testfile-1 rather than Testconfig, but that's ok - it's not a problem for me), while the actual saved game files still have the same name as without the plugin.

Spoiler: Screenshots
OrangeSaveFilenameParameters.png


OrangeSaveFilenames.png

Looking at your code, it's seems to be because "if (savefileId >= 0)" the original filepath is called, so only the config file (which has savefileId = -1) has the path changed.

I haven't been able to test the browser saves, but the code seems to be similar.
You're correct.
I guess nobody ever used this plugin before, lol.


Edit: Looking at the plugin history, I noticed that at some point I had broken it's encoding, then "fixed" those lines wrong (used >= where it should be <=).
Great, thanks for looking into this and the update!
Is there a way to change just one file? In other words, I'm using the OrangeAutoSave plugin to autosave whenever the characters rest at a campfire or inn, and that works great, but the autosave file looks exactly like other save files, so players could accidentally overwrite it. If I could at least change it to "autosave," they'd have to deliberately save over it.

Original thread: https://forums.rpgmakerweb.com/threads/orange-change-save-file-name.46536/