Page 1 of 1

Is there an Unused Textures folder cleanup utility?

Posted: 15 Dec 2006, 06:52
by MadRat
I've been slowly expanding my homebrew mod to the point where today its too big for the 2048x2048 texture space. I'm sure its mostly likely just using space for textures from other unincluded mod units that don't get loaded therefore its used the space up for not on these textures. But its like trying to find a needle in the haystack when it comes to discarding unused textures.

Are there any utilities available that move unnecessary textures out of UnitTextures and the TATEX subfolder for us?

Posted: 15 Dec 2006, 16:03
by jcnossen
My 3DO command line util can do such things:
http://www.fileuniverse.com/?p=show&a=it&id=1745

Posted: 16 Dec 2006, 22:53
by MadRat
Thanks, jc. I'll try it out.

Posted: 23 Dec 2006, 21:33
by MadRat
I'm having a hard time getting it to parse out textures w/o just dropping all of them. Any examples of how to define the paths? I was hoping it supported .. and . in the path, but it looks like I have to define the whole path and fieltypes of textures.

Posted: 24 Dec 2006, 01:41
by jcnossen
something like

3do_convert models\*.3do -cleantex textures\*.*

might work...

(all texture files in the directory "textures", I'm not sure if that works recursively though, so probably just dump all textures in 1 dir.)

Posted: 24 Dec 2006, 06:17
by MadRat
Thanks. Its an I-D-ten-T error on my part from the looks of it. I used a single wildcard for the texture filename but didn't try *.* to garner both. It didn't like a simple * for the filename. Sometimes I overlook the simplist mistakes in my methodology. :)