Game Development Community

Cleanup of Mission files

by Jules · in Torque Game Engine · 12/14/2006 (1:09 pm) · 5 replies

Hi,

Is there a utility in TGE that goes through all of your mission files to see which assets are being used in the game, and remove all of the ones that are not, so that after compiling the end result is smaller? If not, it would be a great idea!

J

#1
12/14/2006 (1:41 pm)
That would be hot..
#2
12/14/2006 (1:45 pm)
Yes!

there is such a utility.

but who write it, who wrote it ?

arg, my crappy memory.

dang.

i forget.

some fellow here at GG posted either a resource or a .plan with a utility to go thru a mission and show you which geometry assets are unused. unfortunately it didn't cover unused textures.

i'll try to remember.

edit: i think it was a perl script.
#3
12/14/2006 (1:46 pm)
Aha! i searched for "perl unused" and the top hit is it!

tom bampton's unused assets utility
#4
12/14/2006 (1:49 pm)
Excellent - it would be useful, and not too difficult to add a snipet of code to look for image files.

Thanks.
#5
12/14/2006 (1:51 pm)
That needs a sexy GUI before i use it.

As an artiest, i don't do command lines.

But this would be very helpful after a long night of object testing ETC.. Clean out the duds.