Deleting unnecessary database files?

I'm sorry if I've made a post about this before. I don't see it in my content list though so I dunno.

Anyway, I noticed in the program you can't delete default graphics. So I tried compressing my game for a demo, then going into the files and deleting the unused graphics in there. However, my game doesn't play without them, even though I don't use them at all.

It's really taking up a lot of space and making demo downloads for my friends just a crawl.
While compressing, there is an option to compress it with or without RTP - if you do not use any RTP graphic, you can leave that out.

If you want to include only used tiles of the RTP, then there are two options:

1) Use a script to get a list of used RTP graphics to include them (Tsukihime made one such script, search it in her blog)

2) remove the RTP-path from the game.ini and then add files until the error messages are gone. This is more complex (better do it only with a copy first) but also gets rid of the RTP warning - and it was discussed a few days/oneor two weeks ago here in the forum how to do this. search for ini and rtp and you should find that topic again (sorry, I don't know how it was named)
http://forums.rpgmakerweb.com/index.php?/topic/3799-releasing-games-without-needing-rtp-lightweight-and-easy/

Thought that might be useful.
For your project, you'll need to identify any RTP graphics you're using. This would include the windowskin, maybe iconset, title screen images, (possibly) battlebacks. Use the Resource Manager and export them into the appropriate folder in your project folders.


You'll also need to export any audio files that are used by default. Most of these will probably be listed in the System tab.


When you remove the RTP and test play, if it needs an RTP resource that you don't have, it will crash and tell you what the resource is. Then you can go to where you have the RTP installed (I've overridden the default location of mine, so I can't tell you where that would be) and copy and paste the resource. Or just create a new project and go into it, and use the Resource Manager to export from there into your real game's folders.

Original thread: https://forums.rpgmakerweb.com/threads/deleting-unnecessary-database-files.16917/