Is there any way to check which of my resources I have or have not used in my project?
I would rather avoid checking it manually through playtest, because the project is pretty big, and branches a bit.
What Rad suggested works perfectly. It is really easy to use to. Just enjoy!
I hate to be a bother, but how exactly does it work? When I tried it just said that all my resources were not found.
A screenshot would be very helpful.
Do you have events or characters set up that use these graphics? Do the resources exist?
90% of them. I'm trying to get rid of the 10% to save space.
Have you told the script where your RTP path is?
Yes(Does it change anything that the software is bought from Steam?). But I don't think that would help, since most of my resources are not in RTP.
This script at it was written just lists a bunch of files that are in use, and also allows you to copy over RTP files.
It doesn't specify which ones aren't in use.
Definitely, but by seeing which ones are in use, I can weed out the ones that aren't. The issue is that the script tells me that non of my resources are used.
What version of the script are you using?
The latest, I suppose. I got it from Hime's site.
When I get home I will post the version I have and see if that fixes the problem.
Kanax if you have put the path to your RTP folder in the script , then the ones it CAN NOT FIND are the ones you Need in your project as they are being Used but are not in the RTP path that you put in the script,
which are files that are not from the rtp etc.
This will not find the ones that are not used in your project but finding the ones you do need will give you a list so you can go through it manually and delete all the ones that are NOT on the list.
Removing the ones you don't need and leaving the ones you do need.
What Rad says sounds right because there is only one version of the script.
I quickly threw in support for printing out resources that are not in use.
A resource is defined to be not in use if
1. it exists in your resource folders (Graphics, Audio)
2. It is not referenced in the game
Reference is based on event/database objects only. I do not check scripts.
Sample output (saved in the "unused_resources.txt" file)
=========================================The follow resources are unused:=========================================== Characters == Graphics/Characters/!Other-specialsGraphics/Characters/$dustGraphics/Characters/actors2Graphics/Characters/golden_axe== Faces == Graphics/Faces/Actor112...I noticed the script is very slow.I can see a lot of optimizations (eg: stop reading directory listing again and again), but not sure when I'll get around to that.
With the new script:
The path I entered: "C:/Program Files (x86)/Steam/SteamApps/common/RPGVXAce/"
The message I get: Your RTP directory is invalid or inaccessible.