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.
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.
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?
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.
I have the same problem. 🙁
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 ?
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.
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!
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.
True, but it would still be better than nothing!
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?
Nevermind, i was being retarded and frustrated. I figured it out.
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 🙂
Hi! I finally got it to work! Thank u so much for your script. Have a great day.
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!
After you start playtesting the game.
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.
i also don’t get the texts in game console they show up as conversation in-game…
any suggest…?
Thanks
Are you using Ace or VX?
It only copies files over. It does not remove things. Though I guess I should add a list of “unused” files to the report so that you can take a look at them.
i am using ACE, and thanks ^.^ looking forward your next script