Resource Checker

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

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.

Help spread the word!Share on FacebookShare on TumblrTweet about this on TwitterShare on Google+Share on LinkedInShare on RedditFlattr the author

You may also like...

17 Responses

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

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

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

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

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

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

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

Your email address will not be published.

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.

For more help see http://daringfireball.net/projects/markdown/syntax