When Deleting 'Unused' assets

Hi there.

I'm having issues when deleting 'unused' assets that I've double checked aren't being used --
but for instance, when I deleted sci_fi doors from the imgs folder. The game during playtest would fail to load and errors with
that file being missing.

I know the workaround is to just create an empty file with the file name, but as I'm about to replace a lot of my assets
including sprites and audio... I'm worried that things on the next playtest... the game will scream at me. huehuehue.

Is there a way to double check how MV is checking and validating 'used' files?
Hi there.

I'm having issues when deleting 'unused' assets that I've double checked aren't being used --
but for instance, when I deleted sci_fi doors from the imgs folder. The game during playtest would fail to load and errors with
that file being missing.

I know the workaround is to just create an empty file with the file name, but as I'm about to replace a lot of my assets
including sprites and audio... I'm worried that things on the next playtest... the game will scream at me. huehuehue.

Is there a way to double check how MV is checking and validating 'used' files?
There's actually an application someone developed that does this! You can find it in the subforum that revolves around that.
@HintonR
You're wrong - if a file is reported missing with an error message, then that file IS being used in the project somewhere. Otherwise the computer would not have that filename listed.

What you need to do is find out where in your project that file is being used, and either remove that reference (if it is no longer needed) or keep it if you just forgot that use.
And the program mentioned above will not work in such a case, because it will detect that the file is in use somewhere and keep it.
Delete unused resources will remove things that are only used by plugins, if the plugin hasn't been written to specifically have its assets included (and I suspect most haven't). It doesn't have any other way to detect resources used by a plugin.
There's actually an application someone developed that does this! You can find it in the subforum that revolves around that.

what is the app? hehe
As far as the built in remover, I've had very little success using it. I've used it once in an old prototype and it practically broke the game on export. x.x
I've gotten around to removing some more assets.
I guess, I was wrong about the assets. huehuehue... I had to sift through events and plugins to see what "placeholders" were still being called.

I had another question, about how assets are detected... I think* I've had issues before when I had pictures (faces) being used and then actors being removed... and having them still attached to the removed actors thereafter (when I put change the max actors)
I am not deleting in the list, I'm simply reducing the max count.

I suppose... I'll just have to be more detailed in cross checking file usage.

On another note... since Battlebacks are being called in the .RPG js files I forget which one... will I not be able to remove those too? or will MV automatically not know that / not require those files -- otherwise will it error? I haven't had the chance to test this yet. I'm still working on building assets for placeholders so deleting them hasn't been a priority. I just did a first pass (which caused my initial errors) I'll be doing another pass when I've got more assets done.

Thanks guys!

Original thread: https://forums.rpgmakerweb.com/threads/when-deleting-unused-assets.95002/