Advice for cleaning up the game folder

Hello, is there any advice you can give me to down size the game folder. Its reaching up to 2gbs now. I used the remove unused files option on deployment and ofc game crashes at 1 minute. Lots of customizatins etc. Other than the large file size its generally overall sort of a chaos, duplicate maps, standard rtp stuff, copies of things🙂

I'm afraid deleting stuff via elimination will cause irreparable damage, and bugs wil pop out somewhere and some phases of the game if i forgot where is what generally.

I'm open to suggestions such as archiving files/folders and other things besides usual normal way to go at this. (which is deleting things i'm sure aren't used, copy/backup removed ones etc).
hey man, ive found this happens alot. so what i tend to do, is package excluding the unused files as mentioned above, however i then read what it crashes on and then just place that file in the respective folder, i keep doing this until i have a working game with the required files. Then if you want to go one step further, you can actually remove alot of stuff from your project folder and replace them with the folders from package to keep it neat going forward removing clutter 🙂

Due to this ive got into the habbit of keeping it all trim as i go with each new project. hope that helps!
Exactly, i made the mistake of not keeping it ordered, since i had ehm other issues to care about 😉 Well, this requires a playthrough which takes time, so its a standard method 🙂 i was hoping i could somehow find a more clever way... 🙂) I suppose its as you said, check what crashes from the console, which means 100th playthrough 🙁
Rule one is keeping it ordered when you start out. If you didn't, tough luck now you can only carefully check and delete things that aren't needed.

Aside from that you can use Pngyu to compress all your image files down by like 50% with no visible quality loss.

Excluding unused files never works because the engine does not know what dependencies your plugins have. Any extra folders for images or whatever you use for custom stuff or simply images used by plugins in your picture folder will never be included.

I recommend going through the painful elimination process now to get it sorted out and then learn your lesson and keep it orderly in the future.
The "remove unused files" option on deployment would work perfectly if all your plugins supported it - but unfortunately most plugin programmers don't know how to do that.

The problem is that the plugin should register all files it needs with the engine, then they would be kept on that option.
Since most do not do that, you would have to trick the editor into knowing to keep those files.

The easiest way for that is to create a map that is not used or linked anywhere, and then use the files on that map to register them.
And you would have to deploy with the remove option, check which files are missing, add them to the hidden map and deploy again until there are no longer missing file errors.
The easiest way for that is to create a map that is not used or linked anywhere, and then use the files on that map to register them.
And you would have to deploy with the remove option, check which files are missing, add them to the hidden map and deploy again until there are no longer missing file errors.
interesting, i'll look at registering options 🙂 JS/rpgm is quite weird with comments on plugins making interface options..

Aside from that you can use Pngyu to compress all your image files down by like 50% with no visible quality loss.
very helpful, thanks. Also, perhaps a packager would help (like eclipse).

The easiest way for that is to create a map that is not used or linked anywhere, and then use the files on that map to register them.
And you would have to deploy with the remove option, check which files are missing, add them to the hidden map and deploy again until there are no longer missing file errors.
wait so newbie question, how can i tell which files plugins are using ?

edit: the game doesn't even start 🙂 main menu is black
if a file is missing, that produces an error that includes the name of the missing file

if the menu remains dark without an error message, that is a plugin error and not a missing file
Okay thanks, i've relatively few plugins so i'll eliminate the issues. And you are saying all used files by events are registered correctly which leaves (map) files with lots of sizes as cluttered around out. Between them and resulting-folder differences compared, i should be able to get it running without spending lotsa time 🙂
And you are saying all used files by events are registered correctly
not only
everything that is set anywhere in the editor itself is automatically registered, only resources that are used by plugins and nowhere else are unknown to the editor
thanks 🙂
quick look says the galv and hud maker files in pictures / system folders are missing. However, shaz animation files used in (events) are there, and the sound-step stuff too 🙂

Original thread: https://forums.rpgmakerweb.com/threads/advice-for-cleaning-up-the-game-folder.156458/