Spider Mastermind
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Clean texture wads
 
Author
All times are GMT. The time now is 16:24. Post New Thread    Post A Reply
JohnnyRancid
Forum Regular


Posts: 776
Registered: 08-07


I kinda want to start using texture packs, but often end up finishing a map without using every single texture or flat in it, (As I am sure that most other mappers do too.)

I really dont want my wads to be like 40MB just because of textures, so what are the different methods of cleaning up wads by removing unused textures?

Are there any programs that remove unused textures from pwads? Do I have to open up the wad in XWE and pick out every texture patch I didn't use manually? Do map editors keep track of unused textures and offer a list? Or do I have to manually write a list for that too?

Is there an easy way to use texture wads? Should I just leave my wad at 40+ Mb and try to use every single available texture? Anyone have an easy method of doing this?

Old Post 08-06-08 20:12 #
JohnnyRancid is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Creaphis
I will deliberately take a contrary position just for the sake of writing incredibly long arguments


Posts: 1296
Registered: 10-05


XWE's "list unused textures" command saves a list of unused textures to your hard drive's root directory. (Probably c:)

You could also map with an external resource wad and then add just those textures to your wad afterward.

As far as I know, there isn't any automated extra-texture-removal wad utility, which is unfortunate.

One other thing: I find it interesting that you believe that a large wad filesize is less justifiable if not every resource is used than if every resource is used. If your levels look good either way, what's the difference?

Old Post 08-06-08 21:14 #
Creaphis is offline Profile || Blog || PM || Email || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
shinobi.cl
Mini-Member


Posts: 58
Registered: 08-07


I did a crappy perl script that looks for all the unused textures and its patches on a wad. Does not work for ANIMATED or SWITCHes, but is better than nothing. Is only a helper tool. Does not do anything for you, just generates a report.

Anyway, there it is
http://forums.zdaemon.org/viewtopic.php?p=196102#196102


It helped me. I hope it works for you... requires some 'advanced' computer skills, like using cmd and such things... Is not a clicky thing. But is not too hard, and you have to do it once.

Please, be aware, is a crappy script, so read carefully the instructions before using it. It does not modify any file, though.



(I posted this some time ago, here
http://www.doomworld.com/vb/doom-ed...es-in-your-wad/)


It would certainly be nice to have someone improve this script. I can't, for now.
There's even some programs that allow to make perl scripts into executables, so maybe some GUI can be developed to give a friendly interface to this thing.

Last edited by shinobi.cl on 08-06-08 at 21:36

Old Post 08-06-08 21:26 #
shinobi.cl is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
JohnnyRancid
Forum Regular


Posts: 776
Registered: 08-07



Creaphis said:
One other thing: I find it interesting that you believe that a large wad filesize is less justifiable if not every resource is used than if every resource is used. If your levels look good either way, what's the difference?


The filesize obviously.

Thank's for the info anyway, I didnt know XWE had a 'list unused textures' command.

I'm gonna check out that script you linked to too, shinobi.

Old Post 08-07-08 03:19 #
JohnnyRancid is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
Death-Destiny
Forum Regular


Posts: 932
Registered: 12-07



Creaphis said:
One other thing: I find it interesting that you believe that a large wad filesize is less justifiable if not every resource is used than if every resource is used. If your levels look good either way, what's the difference?

JohnnyRancid's point is simply that if he does not use all the textures, then the unused ones serve no purpose and waste memory space with useless information. The number of textures a map uses has nothing to do with its quality.

Addressing the question at hand, I just use Doombuilder's "Textures and Flats from WAD file:" field to use textures from the resource WAD in my map without merging anything. When I'm done, I make a list of all the textures I use and copy them into my WAD with XWE. With a filtered list, this usually doesn't take me very long.

Old Post 08-07-08 04:07 #
Death-Destiny is offline Profile || Blog || PM || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
shinobi.cl
Mini-Member


Posts: 58
Registered: 08-07



JohnnyRancid said:


The filesize obviously.

Thank's for the info anyway, I didnt know XWE had a 'list unused textures' command.

I'm gonna check out that script you linked to too, shinobi.



Yes, it lists the unused textures, but the thing that uses the most disk space are the patches, thatīs why i made a tool for that.

So, to reduce the space you have to delete the patches, and of course the texture that uses them.

Old Post 08-07-08 04:44 #
shinobi.cl is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
JohnnyRancid
Forum Regular


Posts: 776
Registered: 08-07



Death-Destiny said:
Addressing the question at hand, I just use Doombuilder's "Textures and Flats from WAD file:" field to use textures from the resource WAD in my map without merging anything. When I'm done, I make a list of all the textures I use and copy them into my WAD with XWE. With a filtered list, this usually doesn't take me very long.


Does DoomBuilder record the textures used?

EDIT: Nvm I guess it does.

Old Post 08-08-08 01:12 #
JohnnyRancid is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy Report to mod || IP || Edit/Delete || Quote
All times are GMT. The time now is 16:24. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > Clean texture wads

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.

Forums Directory