Resource Checker

resourceChecker1

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.

Download

Script: download here

Installation

Place this script below Materials and above Main

Usage

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...

23 Responses

  1. It’s very interesting! If you need help, look here: ARA Agency

  2. dobry sklep says:

    Hello! Do you know if they make any plugins to assist with SEO?
    I’m trying to get my blog to rank for some targeted keywords but I’m not
    seeing very good success. If you know of any please share.
    Thank you! You can read similar article here: Sklep internetowy

  3. ecommerce says:

    Asking questions are truly good thing if you are not understanding
    anything completely, but this post presents fastidious understanding yet.
    I saw similar here: Dobry sklep

  4. Wow, fantastic blog format! How lengthy have you ever been blogging for?
    you make blogging glance easy. The total glance of your website is magnificent, let alone the content material!
    You can see similar here e-commerce

  5. 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?

  6. 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.

  7. 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.

  8. 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.

  9. 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?

  10. 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 🙂

  11. 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!

  12. 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?

    Thanks…

    waiting your answer.

Leave a Reply to Master Daisy Cancel reply

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