Disable certain characters for name input?

Hi,
I stumbled across a tiny / huge problem with the name input command.
First of all, I want to mention that I am using:
http://sumrndm.site/name-input-upgrade/
So, that you can type the name without the on-screen keyboard but actually with your
real keyboard.
At the moment, there aren't restrictions on characters, you can pretty much name your
character:" ;;;;;;;;__________!!!" or "111_o00;;;;;::::".
And I don't want that, especially because you can also use "ü" "ä" "ö", which my font doesn't
even support.
Is there, or can maybe somebody make a plugin - that makes it so you can only use all letters
of the alphabet in upper and lower case & space for renaming an actor?

Hopefully someone can help me!


cheerio 🙂
Window_NameInput.table is what you want to modify. It tells the name input window what set of characters the player can use when naming their character. You'll see things like Window_NameInput.LATIN1 and Window_NameInput.LATIN2.

You would likely want to create your own alphabet like that, such as perhaps
Window_NameInput.LATIN1.BENJI1 = ['a', 'b', 'c']

Then the .table function should return a value referring to that new alphabet you've created.
In which exact plugin / file can I find Window_NameInput.table?
Because can neither find it in the rpg_windows.js nor the SRD_NameInputUpgrade
I still found "Window_NameInput.LATIN1" in rpg_windows.js though - I tried modifying the existing alphabets but that didn't do anything for me :<
I guess I'll play a bit more around with it, but maybe someone can answer my questions 🙂

PS: Are you actually sure this is modifying anything when I am not even using the on-screen keyboard? Just to make sure, it seemed to me that something in the "windows.js" would have to do something with the actuall window.

UPDATE:

Actually found where to edit the plugin of SRD now! Thanks Yukinose still because of your explanation I had something I can look for in the plugin, and the part I found looked similar to what I found earlier- so it worked out greatly in the end!

Explanation on how to edit the available letters when using SRD's NameInputUpgrade plugin. (In case anybody ever needs the same and stumbles upon this!)
It is in, line 259, 260 and 261 for me.
It says "_.numberz =", "_.symbolz" & "_.letterz" - just change the characters in the brackets without space or anything!
Also, to remove semicolon, equal, comma or period etc. look below to "Input.keyMapper" and comment out the ones you don't want.

Easy enough in the end 🙂

/Solved

Original thread: https://forums.rpgmakerweb.com/threads/disable-certain-characters-for-name-input.79875/