[VXA] Savefile naming

Savefile naming version 1.20
by Orochii Zouveleki​

Introduction
Was reading the forum, saw a kind of uncomplete script, so I wanted to do this thing. And that's it!

Features
Players can name savefiles as they want. No save limitations (well, there is, max is 24chars for filenames so there is like 256^24 max slots, maybe xD?). This can be changed now because why not.
Naming a new save the same as other overwrites without asking (this is actually a limitation, but I didn't cared to do it, anyone is free to do so as this script is now in public domain).
You can also specify where to put the savefiles, either inside your game folder, or any other location in the PC. This helps with Steam/itch or any other site with auto-update support.

Screenshots
4wJ1s.png


How to use
Place it over Main.
This script depends on OriginalWij and Yanfly Keyboard script too, so place it over this script (it made life THAT easier that it's a rejoice! (?)).

Demo
9 (NEIN).

Script


FAQ
Q: Can I use it on commercial games?
A: Yes.
1.Put script on your game.
2.???
3.Profit.

Q: Where is keyboard input you mentioned?
A: Please download the attachment from Zero-G's post, down there. Here are some useful links regarding licenses just in case.
Yanfly's terms of use
MCollective's terms of use (OriginalWij posts there)

Credits
-Include your name first Orochii Zouveleki (if you want). Public domain.

Author's notes
Well, yeah, thanks to that naming savefile script, because it inspired me (?).
Both links are dead :/
Someone asked me through PM about the link. And yeah, I sometimes forget all the scripts I've posted. But yeah, this one should be up again now. It's Dropbox's fault, since I used the Public folder and they decided to drop that functionality like one year ago. And I forgot to update a lot of stuff.

Please feel free to ask me again anyone, thanks. :^)
Can you do that same thing, but without keyboard script?

Just the same thing as renaming an actor.
That would be cool.
.
Thanks to wayback machine, here is the keyboard script (attachment) [credit: OriginalWij and Yanfly]

And instructions:
Code:
Input.key_press?(Input::VALUE)
Input.key_trigger?(Input::VALUE)
Input.key_repeat?(Input::VALUE)

Use key_press? for normal button input.
key_trigger?, I'm not quite sure but I think a single tap on the key.
key_repeat?, again not sure but at least if the key is either pressed repeatedly or hold down for a couple of frames.

For VALUE, use:
LETTERS[value] with value being the letter of your keyboard in uppercase and surrounded by quotation marks (" 's)
NUMBERS[value] with value being the number. Not sure if value 0 is a 0 or 1. If it's one, substract every number by one and 9 = 0.
NUMPAD[value] exact the same case as NUMBERS, bbut this time for the numberpad only.
BACK for backspace
ENTER for enter
SPACE for space....
SCOLON ( ;)
ESC
QUOTE
EQUALS
COMMA
USCORE
PERIOD
SLASH
LBRACE (brackets)
RBRACE
BSLASH
TILDE (~)
F10
F11
CAPS
NMUL (numpad asterisk)
NPLUS (numpad +)
NSEP (numpad... something... enter?)
NMINUS (numpad -)
NDECI (numpad dot)
NDIV (numpad forwardslash)


One last note, use Input.upcase? to see if the player is holding shift/has caps lock on and Input.typing? to see if the player's typing.
Sorry for the double post, I made some changes/improvements to this script.

-Script created a "Saves" folder, but it didn't use it, fixed that
-Added the text "New Save" to the slot to select to create a new save (previously it was just blank)
-Added a default name to new saves according to index (previously default new saves where just "zz", now its "Save # - ")
Found keyboard script here
Just reading this, thanks to everyone who has contributed in some way or another. The Save folder, for instance, what a huge failure of mine. XD

I just updated the script, made a bit of a cleanup here and there using Zero-G's version, and now it should be more useable. Again, public domain, feel free to do whatever with it! The most important part is that it now has some better compatibility with things such as Steam and itch, since those have auto-update functions that more often than not discard changes made within the game's folder. So yeah. That.

Cheers!
Nice code muramasa, since I never learned Ruby in particular it's nice to see how to properly do things.

Original thread: https://forums.rpgmakerweb.com/threads/vxa-savefile-naming.18297/