[Solved] Multiple Resource Folders (Thanks Tsukihime!)

hello I want to be able to use multiple sub folders in my game projects resource folders to better organize what i am using instead of it being a big big mess. It makes it very hard for me to find my resources to use as my project is kinda large.

As an example I want to be able to have 3 folders (or more)  inside the tileset folder so i can have my dungeon, world map, and town tilesets in separate folders.

These are the folders I want to be able to make multiple folders inside of

These are a must

Graphics/Tilesets

Graphics/System

Audio/BGM

These additional ones would be nice also.

Everything in the Graphics/ folder.

In the grand scheme if sould be done it would allow to be anything inside these core folders to have multiple sub-folders

Graphics/

Audio/

Fonts/


I assume there would need to be a config section in the script, where the folders that are added could be listed in the script. and the game would still need to be able to read them. I am not sure about compression but I was thinking along the lines of tsukihime's map folders that allow more than 999 maps as how to explain the idea.
That will be really complex. First how we set it in editor to know which folder and files we use. Not to mention even if we manage to do that. We still need to draw the map using that tileset. Which cannot be detected by the editor because we put it inside a folder. (It's the same as show picture event command. We can show picture which inside a folder using script call but the editor event command cannot)

In hime approach for map folder he still edit the map using the editor and then copy that map inside a folder. Then add reference what map to load. So it's different from what you requested.

To organize things up. You could add the 'folder name' in front of the filename(ex: dungeon-tile_01, dungeon-tile_02, field-town_01). So when you arrange it by name. It will sorted and easier to find. Almost the same with searching the folder name.
The reason why I never wrote anything for any of the other stuff is because I don't think it would be practical.


It's perfectly possible and easy to do so, but it doesn't mean anything if you can't reference it in your project. You put a picture in a subfolder of Pictures and you'll never be able to reference it properly without doing ugly hacks to the point where it's not even worth doing.


With other resources, all of it is hardcoded into the editor so you can't just add a new folder and the editor will use it.


At least with multiple map folders, it allows you to use more than 999 maps and, if necessary, you can just duplicate your database into a second project and create the next 999 maps there and just use a simple script call if you ever need to reference a different folder.
crap that doesn't sound good.
Try the suggestion I gave you earlier. Rename the images name and put the 'folder namelike' in front of image name. So you can right click and arrange by name. It will grouped together. And easier to find.

Ex: for tileset which used for dungeon add 'dungeon -' in front of their name. Tileset which used for worldmap add 'world_map -' in front of their name, etc.
You can try this


http://forums.rpgmakerweb.com/index.php?/topic/16084-managing-resource-subfolders-using-hard-links/
That is exactly what I wanted. I see you just posted that today. thank you.

Original thread: https://forums.rpgmakerweb.com/threads/solved-multiple-resource-folders-thanks-tsukihime.16045/