Resource Checker


This script goes through all of the data files in the data folder and displays a list of graphics and audio used.

It performs a very simple resource check and copy: if it’s defined in your database or in any event, it is assumed you are using it.

 I have not written anything sophisticated such as checking whether the particular resource is ever referenced.

This script also does not support custom scripts that reference RTP resources; if you have custom scripts and you know they use RTP materials, you should consider copying everything related to that script over manually.


Script: download here


Place this script below Materials and above Main


Press F5 to run the resource checker. You can change this key in the configuration section.

After the resource checker finishes, a file called “Resource_List.txt” will be created in your project folder.

You can also choose to copy files over from the RTP folder directly. In the configuration section, type in the absolute path to the RTP, and enable file copying.

You may also like...

27 Responses

  1. Fauchi says:

    The script analyzes all the used and unused files just fine, but no files are copied over. My configuration looks like this:

    # Copy your RTP path here.
    # Don't forget the trailing slash (I don't check it)
    RTP_Directory = "C:/Program Files (x86)/Common Files/Enterbrain/RGSS3/RPGVXAce/"

    # Set it to false if you only want a list of resources you use
    Copy_Files_Over = true

    I don’t get an error that my path is invalid, so that can’t be the problem. Does anyone have a solution?

  2. Cleosetric says:

    I’ve using RTP from steam directory but when its scned in console show, Audio/blabla.mp3 is’
    nt rtp file. and file is not copyed yet.

  3. Max says:

    This script is awesome, but there’s a very wrong bug in it:

    It doesn’t check at all for sounds effects. especially the ones used in battle.

    Why not make a script that detects any eventual missing file errors and listing the files needed and missing ?

    • Hime says:

      I just noticed when I’m parsing animations, it doesn’t read the sound effects that are used. That might be what is missing.

      Having a list of missing resources would be useful.

  4. Grounded says:

    Nice. I’ve always wanted to see something similar for items in the database. For instance, you have 10 swords, 10 different axes, 10 different spears etc. but you’re not sure if they’re all actually available somewhere in game, either through chests, drops or shops. Alternatively it might be useful to see how many times certain items/weapons/armours have been referenced, so you don’t end up with too many chests that contain ‘Iron Sword’ or you have a unique item that can actually be acquired more than once!

    • Hime says:

      Reference checker for DB would be useful. Problem is when they’re referenced in scripts or script calls, which may be common depending on what you use.
      The reference count is also an interesting idea.

  5. KaiKurono says:

    I seem to not be understanding as to what im supposed to be doing. i linked the RTP correctly (not the project RTP correct?) and turned on the copy files over. What am i supposed to do after the files are copied over?

  6. Jeff says:

    Hi, I’m new to RMVXAce. I really need this so I could send my samples to my friends with minimal file size but I can’t seem to make it work. When I press F5, a dialogue pops out with the search and copy. After it’s done I check my project folder but nothing gets copied. I followed all the steps already. Could you possibly make a detailed step-by-step? A video maybe? Sorry for the trouble. Thanks in advance 🙂

  7. annieeeee says:

    hi , sorry i just started on all this script things, so i dont know alot of stuffs. When/where do you press F5? :(( Thanks alot!

  8. Master Daisy says:

    Thanks for the script, but i am still confused…

    if i did Copy_Files_Over = true …
    will this copy all files that my game need and remove unused things?


    waiting your answer.

Leave a Reply

Your email address will not be published. Required fields are marked *