[RPGMMV] Distribution Packages Are [BLEEP]ING STUPID And I Hate Them, plzhalp

This isn't a rant, really, it's a plea for help. Rollout/deployment, like, actually getting the game into a state where it is usable on someone else's computer has long been the pain of my existence as a developer and by far the least fun and most sressful part of game development.

My complaint is pretty specific: I want to remove unused resources so that my game is not hideously bloated and needlessly huge with stuff it isn't even using. But RPG MV is absolutely, entirely ed when it comes to its ability to TELL what is USED in a game. As a for-instance my game uses the Chrono Engine and MV does not "see" any of the many, many files it uses. The first resources-not-found crash was at New Game and that was fixable relatively easily by manually bringing in all of the auxiliary folders--actorhud, chrono, eventindicators, weather, etc--that Chrono Engine uses. Fine, I thought, RPG Maker doesn't know those folders even exit, it's fine. The second crash which I should have foreseen happened two maps later because RPG Maker ALSO doesn't know the game uses all of the _act01 (suffix filenames Chrono uses for poses) that it ABSOLUTELY DOES USE I guess because they aren't directly flagged as events with those specific graphics in the engine and apparently that is the ONLY way and/or place it checks to see if graphics are used which is again, #$%^&* stupid. I'm just going to manually slam the whole characters folder in there but I foresee more problems going forward because in my experience when stuff like this starts going wrong it KEEPS going wrong.

Now of course I'm tempted to just zip up my entire project folder and distribute it that way. But a) I am pretty sure that there are assets in there I am legally required to encrypt and b) as I mentioned, bloated and huge. Like at least 150mb of unused crap swelling up the file size and c) I am pretty sure the distribution package is necessary for the game to even RUN on most platforms?

What (third party I guess I don't care as long as it works and won't break anything else) tools have people developed to address this issue? Tools that can actually tell which files a game uses. Which ones are good, easy to learn, easy to use, etc. In this jam I'm trying to sub to I tried to save myself fully 24 hours for the deployment/rollout process which as I mentioned I hate because it's almost always a nightmare, but I'm running behind schedule and might only have six hours or even less to dedicate solely to working out the deployment kinks.

Okay, maybe that was a little bit of a rant. Thank you and sorry for the arglebagle I'm having a pretty crap day so far. Thank you for your help and/or suggestions and/or for listening.
Sadly for plug-ins to detect it the author MUST call the files a certain way. Many refused flat out when it was announced and there is nothing MV or the makers of MV can do about it.
The problem is that you're expecting a standard feature of the engine to be able to cope with features it never shipped with. Given the myriad ways in which a plugin developer can incorporate resources into their plugins, it would be literally impossible to account for them all. The remove unused resources option works fine for the base engine, but doesn't really have any use once you get into using resource-related plugins.

I'm not aware of any current tool that's able to detect absolutely every resource used by your game, since, again, you could be using things in notetags, database entries... heck, some plugins allow you to enter image references in comments. As far as I know, it basically can't be done in a way that completely eliminates human interference and to be able to develop a tool that could do so the developer would need to account for absolutely every single notetag and parameter used by every available plugin, and since those are entirely up to the plugin devs it's not really possible to do reliably.

Personally, the way I do things is to keep a list of all the resources I'm using in alphabetical order and separated by resource type. Then when I need to distribute it, I just delete everything that's not on the list.
But RPG MV is absolutely, entirely ******ed when it comes to its ability to TELL what is USED in a game.
you got it backwards.

RMMV is fullly capable of handling files correctly, IF the plugin tells the engine what files it needs.
Just check MV's help file - there are javascript commands listed that will enable any plugin to tell the engine what files it uses, allowing them to be included correctly.

it is not the fault of the engine that most plugin writers are either too lazy or not experienced enough to even try to use those commands.
@bgillisp @Andar this is disappointing considering the plugins I'm using come from some of the most successful, prolific, and respected plugin creators in the community but I guess it makes sense. I don't personally code so I don't know how much effort it would have been for the devs to structure the plugins properly so that the files were called right. The only ones that have been a problem so far are the

Also in general I think the way that the engine handles missing files is a bigger problem. Like I understand it for most graphics, characters and tiles--if it's looking for a sprite or a tileset that doesn't exist, what is it supposed to display--but I don't understand for instance like, with sound effects, it doesn't just like...NOT PLAY that sound effect, and keep running? It's kind of baffling. Maybe I should shut up and be grateful to finally have mouse support built in.

Thanks guys, so um, are there any dev tools at all to help with this kind of thing? I remember reading about a couple but I can't remember what they were called or exactly what it was they were supposed to d.

Oh, and I certainly wish I'd been keeping a master resource list this whole time--even more for the purposes of insuring everyone whose stuff I'm using is credited properly than this, honestly--but even after [REDACTED] years of doing this I'm still nowhere near that organized. I think I might try to make a habit of it though.

BACK TO WORK FOR ME! been making like a demon this past week
Oh, and I certainly wish I'd been keeping a master resource list this whole time
you can get this for the default engine by using a multifile text editor on the json files.
if you open all json files in a text editor, that contains every filename of every file used by the default engine - you just have a lot of work to filter for that, because the json files contain every data, not only the filenames.

but as always that does not include plugin data - that would be stored in the plugin files as code and is more difficult to get, which is why it should have been registered by the plugin writer who is the only one who knows the required files.
@bgillisp @Andar this is disappointing considering the plugins I'm using come from some of the most successful, prolific, and respected plugin creators in the community but I guess it makes sense. I don't personally code so I don't know how much effort it would have been for the devs to structure the plugins properly so that the files were called right. The only ones that have been a problem so far are the

Also in general I think the way that the engine handles missing files is a bigger problem. Like I understand it for most graphics, characters and tiles--if it's looking for a sprite or a tileset that doesn't exist, what is it supposed to display--but I don't understand for instance like, with sound effects, it doesn't just like...NOT PLAY that sound effect, and keep running? It's kind of baffling. Maybe I should shut up and be grateful to finally have mouse support built in.

Thanks guys, so um, are there any dev tools at all to help with this kind of thing? I remember reading about a couple but I can't remember what they were called or exactly what it was they were supposed to d.

Oh, and I certainly wish I'd been keeping a master resource list this whole time--even more for the purposes of insuring everyone whose stuff I'm using is credited properly than this, honestly--but even after [REDACTED] years of doing this I'm still nowhere near that organized. I think I might try to make a habit of it though.

BACK TO WORK FOR ME! been making like a demon this past week

Honestly it's not just laziness or incompetence on the part of plugin writers; some of the older ones were written in the early days of MV before they added file types as a plugin parameter option, at which point they had no choice but to use non-detectable methods, and some of them never updated the parameters after that was added.

I can only assume the way they handle missing files is so that you actually know a file is missing rather than assuming there's some other problem with the sound. If a sound effect simply doesn't play, even the developer might forget there's meant to be one in the first place, which may not be a *worse* outcome than a crash, per se, but I can see why it would be a viable approach.
Actually I recall someone made a script for ACE that had the engine continue if you were missing an SE or so, or put a placeholder image in the spot. I coded that with my script even where I had it use the wolf howl if you left out the SE. It stood out enough that you'd notice something was off.

I imagine someone can do a plug-in to do the same, where it just puts a console prompt or text box saying "This file was missing. Please notify the developer of it so they can fix it. Hit any key to continue the game".

Original thread: https://forums.rpgmakerweb.com/threads/rpgmmv-distribution-packages-are-bleep-ing-stupid-and-i-hate-them-plzhalp.134321/