Any tools for extracting textures from wads to put in paks?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Potnop
Posts: 106
Joined: Tue Dec 19, 2006 7:24 pm

Any tools for extracting textures from wads to put in paks?

Post by Potnop »

OK, so I downloaded a bunch of texture wads to use in some levels I wana make since I feel like it's useless for me to completely make all textures from scratch.

I want to include them in a pk3 for use with Zdoom. Is there some tool that will easily extract them and merge the texture definition data and all that so that all the patches and stuff are used correctly? Then I can use them with Doom Builder 2 and later all the textures will be neatly stored in the game archive.
User avatar
Potnop
Posts: 106
Joined: Tue Dec 19, 2006 7:24 pm

Re: Any tools for extracting textures from wads to put in paks?

Post by Potnop »

Cool thanks. Hopefully it also merges the texture lump data.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Any tools for extracting textures from wads to put in paks?

Post by Ceeb »

Potnop wrote:Cool thanks. Hopefully it also merges the texture lump data.
That's not hard to do anyway.
User avatar
Potnop
Posts: 106
Joined: Tue Dec 19, 2006 7:24 pm

Re: Any tools for extracting textures from wads to put in paks?

Post by Potnop »

Hmm is there also a tool that removes unused textures and flats?

I'm probably not gonna use all of the stuff I got.

I remember Wintex had some kind of wad cleaning tool but is there something like a pk3 cleaning tool?
User avatar
Enjay
 
 
Posts: 27320
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Any tools for extracting textures from wads to put in paks?

Post by Enjay »

There has never been a tool to my knowledge that does this well - WAD or PK3. A few try (DeePsea works reasonably well) but there are just too many unknowns (like animations, scripts, etc).
User avatar
Potnop
Posts: 106
Joined: Tue Dec 19, 2006 7:24 pm

Re: Any tools for extracting textures from wads to put in paks?

Post by Potnop »

Well the animations is easy to take care of. Just look at animdefs and stuff.

I was thinking about scripts and yeah, that's pretty complicated to consider. I guess if the map maker included all textures that are put in by a script, that would take care of it. Maybe I should make a util like that sometime.
User avatar
Ceeb
Posts: 5125
Joined: Wed Jun 11, 2008 4:07 pm
Location: Castle Wut

Re: Any tools for extracting textures from wads to put in paks?

Post by Ceeb »

Or just sift through the textures for ones you want. Manual labor is not the end of the world. >:(
User avatar
Potnop
Posts: 106
Joined: Tue Dec 19, 2006 7:24 pm

Re: Any tools for extracting textures from wads to put in paks?

Post by Potnop »

Manual Labor for extracting like 100 textures?

No way... Not even kidding heh...

I actually found a way. http://forum.zdoom.org/viewtopic.php?f=3&t=23118

It involved me merging the wads with a tool that actually does it properly and then using unwad on the result. Spent all day on this OMG. Why can't someone write a proper wad tool. XWE, SLUMPED, and Wintex are all such crap but I can't live without em heh... I have to have all three around since Each does something correctly while completely destroying the wad or crashing horribly when doing something else. They balance each other out. If I had the time, I might write one to practice my C++ skills but then I have to figure out the wad format and even more, I have to figure out all the new formats like pk3 and whatever else is usable.
Ashnal
Posts: 10
Joined: Thu Aug 20, 2009 6:47 pm

Re: Any tools for extracting textures from wads to put in paks?

Post by Ashnal »

I just wrote an Autoit script for slumped that told it to export all selected textures.
Post Reply

Return to “General”