Is there an Unused Textures folder cleanup utility?

Is there an Unused Textures folder cleanup utility?

Discuss game development here, from a distinct game project to an accessible third-party mutator, down to the interaction and design of individual units if you like.

Moderator: Moderators

Post Reply
User avatar
MadRat
Posts: 532
Joined: 24 Oct 2006, 13:45

Is there an Unused Textures folder cleanup utility?

Post 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?
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

My 3DO command line util can do such things:
http://www.fileuniverse.com/?p=show&a=it&id=1745
User avatar
MadRat
Posts: 532
Joined: 24 Oct 2006, 13:45

Post by MadRat »

Thanks, jc. I'll try it out.
User avatar
MadRat
Posts: 532
Joined: 24 Oct 2006, 13:45

Post 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.
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post 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.)
User avatar
MadRat
Posts: 532
Joined: 24 Oct 2006, 13:45

Post 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. :)
Post Reply

Return to “Game Development”