I'm used to naming things with underscores for other game engines, but only just realized it causes problems for mac users and that everything should be without underscores and just using normal spaces.
I can rename the resource files themselves easy enough, but then the connections break in MV.
Does anyone know of an easy way to re-direct what MV is looking for so I don't have to go in re-set every event?
Also, should I not capitalize anything as well?
Just found out I should be naming resources without underscores...
● ARCHIVED · READ-ONLY
-
-
MV needs files to follow networking rules, so capitalisation should be no problem (it is one under windows though because windows overrides capitalization in filenames).
As far as I know underscores should be no problem for MacOS as long as you don't start a filename with an underscore. MacOS has some special files that are using a starting underscore as identifier, but if it is an underscore mid-filename it should be no problem (but I have to admit that I'm only using a max a few hours a month when helping someone else).
as for mass-changes, you can try the following:
use a multi-file text editor (like textpad) to open all json files for database and maps, then search and replace the filenames there. Make sure you have a backup before trying this however - it should work if done correctly, but if you accidentally delete the wrong letter you can make those files unreadable. -
MV needs files to follow networking rules, so capitalisation should be no problem (it is one under windows though because windows overrides capitalization in filenames).
As far as I know underscores should be no problem for MacOS as long as you don't start a filename with an underscore. MacOS has some special files that are using a starting underscore as identifier, but if it is an underscore mid-filename it should be no problem (but I have to admit that I'm only using a max a few hours a month when helping someone else).
as for mass-changes, you can try the following:
use a multi-file text editor (like textpad) to open all json files for database and maps, then search and replace the filenames there. Make sure you have a backup before trying this however - it should work if done correctly, but if you accidentally delete the wrong letter you can make those files unreadable.
For the MAC OS question, I actually got that from reading this thread, which you actually replied to: https://forums.rpgmakerweb.com/inde...-to-name-all-game-files-without-spaces.79768/
So the underscores don't matter at all then? Just don't start with one for mac comparability?
What sort of naming conventions would you recommend? I was thinking of using one of the following. These are for character sheets:
1. charGary01
2. char_gary01
3. char_GARY_01
4. charGARY01
I tried opening some maps using Notepad ++. I did the search and replace. I must've done something wrong as it didn't work and still went looking for the old file names. I'll keep playing with it. -
1) nowhere in that topic there was any mentioning of underscores not being allowed, because they should be no problem.
2) how you write your filenames doesn't matter as long as you follow networking specifications - which basically means only latin letters (no chinese or arabic ones), no spaces and a limited number of special signs (underscores are allowed, same as $! (which are even used by RM to signify special functions by filenames) but ? or a number of others are not.
3) if you tried editing json and the game still loads but keeps asking for the filenames, that means your edit was correct but incomplete and missed a number of uses somewhere. If you had made a mistake on editing that would have resulted in "unable to load xyz" or some garbage on your screen. -
1) nowhere in that topic there was any mentioning of underscores not being allowed, because they should be no problem.
2) how you write your filenames doesn't matter as long as you follow networking specifications - which basically means only latin letters (no chinese or arabic ones), no spaces and a limited number of special signs (underscores are allowed, same as $! (which are even used by RM to signify special functions by filenames) but ? or a number of others are not.
3) if you tried editing json and the game still loads but keeps asking for the filenames, that means your edit was correct but incomplete and missed a number of uses somewhere. If you had made a mistake on editing that would have resulted in "unable to load xyz" or some garbage on your screen.
Alright. Thanks for the help!
I thought the OP of that thread came to the conclusion that he needs to not use underscores. I misread it, and it actually said not to use spaces.
For the mass replacement, I think it might be because I only did it on the one map that was referencing a certain resource and tried to play from there. Guess it might require me going into every map using that resource and changing it in every one. -
For the mass replacement, I think it might be because I only did it on the one map that was referencing a certain resource and tried to play from there. Guess it might require me going into every map using that resource and changing it in every one.
If you are doing a ton of events, especially ones that might be the same, I recommend checking out yanfly's event copier plugin. It uses notetags in events so that when you change one of the same event, it changes them all. This only works if you did it from the beginning so it won't help out having to redo these ones now, but it will help should you encounter the same problem in the future with multiples of the same event. -
3) if you tried editing json and the game still loads but keeps asking for the filenames, that means your edit was correct but incomplete and missed a number of uses somewhere. If you had made a mistake on editing that would have resulted in "unable to load xyz" or some garbage on your screen.
Turns out my mistake was not saving the map.json file after making my changes, heh. Changing things like that is really great and quick. I can see that eliminating a lot of potential headaches later on.
If you are doing a ton of events, especially ones that might be the same, I recommend checking out yanfly's event copier plugin. It uses notetags in events so that when you change one of the same event, it changes them all. This only works if you did it from the beginning so it won't help out having to redo these ones now, but it will help should you encounter the same problem in the future with multiples of the same event.
Cool. Thanks. I'll check it out.