Pruning textures in a wad

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
User avatar
Curunir
Posts: 1041
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Pruning textures in a wad

Post by Curunir »

I may have already asked about this, but I can't find the thread.
What I want to do is this:
I merge a texture only wad and a map wad. When I'm done with texturing the map, I will invariably have a good bulk of textures that are not used in the map. I'm looking for a way to remove all unused textures from the .wad. Several people tell me DeePSea can do this, but if I keep looking at its interface I think I will go insane.

So please, someone who has some experience with it *cough*Enjay*cough* help me out!
Also, if there's an alternative method to do this apart from selecting the textures by hand, please do tell.

NOTE: I apologise for saying DeePSea is only good for making 3d wireframe screengrabs of your levels. Pruning unused textures seems to be its second useful feature. :D
User avatar
Curunir
Posts: 1041
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

BUMP!

Come on, you guys! :|
User avatar
Doom_Dude
Posts: 12
Joined: Mon May 31, 2004 6:50 am
Graphics Processor: nVidia (Modern GZDoom)
Location: Canada

Post by Doom_Dude »

I asked Deep the same thing as I have a 800++ texture wad. This is what he said.
F7 - PWAD lump fixing

Then Click Texture Deletion. Here you get a choice of a report or actually deleting the textures. Do the report and see if it's what you want. Then do the delete.
I haven't tried it yet as I'm not finished with my project. Hope this helps. Might be a good idea to back up the wad beforehand.... just a reminder. :p
User avatar
Curunir
Posts: 1041
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

Let me take the piss now!

While noone was looking at the topic I spend half an hour bleeding from my ears trying to find that feature and I did find it. I tried to do what it's supposed to do about 3354 times. Only it doesn't bloody work. I tried to do it in 2 ways -

1) Make a small .wad with the map in it and use the textures from the huge Blood texture pack. Result:

Code: Select all

 Texture file       C:\Todor\Games\ZDoom\bloodrpb1.wad
        
PWAD file          C:\Todor\Games\ZDoom\mapwad.wad
         
                   ** TEXTURE1 not found                 **
        
                   ** Unused Texture check not possible **
        
                   ** PNAMES not found                 **
        
                   ** Unused Patch check not possible **
        
                   ** FLATS not found                 **
        
                   ** Unused Flat check not possible **
        
     Level       MAP01

       1 Levels Found
        
    == 0 Flats defined in PWAD ==         


       0 Flats not used
        
    == 0 Textures defined ==         


       0 Textures not used
        
    == 0 Patches defined in PWAD ==         


       0 Patches not used 
2) I tried merging the texture wad with the map wad and then cleanup the textures from the one large wad. Result:

Code: Select all

Texture file       C:\Todor\Games\ZDoom\2merge.wad
        
PWAD file          C:\Todor\Games\ZDoom\2merge.wad
         
     Level       MAP01

       1 Levels Found
        
    == 157 Flats defined in PWAD ==         


       0 Flats not used
        
    == 1331 Textures defined ==         


       0 Textures not used
        
    == 1372 Patches defined in PWAD ==         


       0 Patches not used 
Truly, DeePsea is the most [censored word] editor ever. This is ONE feature I tried to use and it's broken. I dread to think what it's like if you try to use it as a level editor as well. My admirations to Enjay who creates wonders with it. Enjay, you are a mental guru for being able to do jackshit with a program that fucked.

[Edit] I was so ticked off I forgot to say Thanks to Doom Dude. Sorry. And thanks for taking the time. While all the fatties on the forums were busy discussing OMG CHAINGNU BUG :| [/Edit]
User avatar
Enjay
 
 
Posts: 27087
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Hmmm, either I'm doing something wrong, or DeePsea is.

I'm basically getting results very similar to yours. I can use the various options to list the textures/flats used in a level but when I try the deletion tool it seems it might be checking the integrity of the texture1 lump rather than looking at the textures used in the level. I say this because when I ran it (on a WAD with a texture resource and level merged), it prompted me to delete some references that I think were in the pnames lump but not used in texture1 in the WAD I was using as a test. However, none of the additional textures that were in the WAD but unused in the level were touched. This seems incorrect according to the help file.
Deletes all the TEXTURE1/2, PNAMES entries, patch name lumps, and all the Flats that were not referenced by any level in the PWAD.
My test WAD was an untouched map01 from Doom2 merged with a texture resource that allows the use of Doom1 textures in Doom2. So there were plenty of unsused doom1 textures in the WAD that were not identified as such by the tool.
User avatar
Curunir
Posts: 1041
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

it has to be the version. I got 11.91 and Tormentor tells me 11.83 does the texture deletion fine. But I'll be darned if I can find an earlier version on the INTRANET.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

The moral of this story: Never trust DeePSea. :P

Also,
Curunir wrote:I may have already asked about this, but I can't find the thread.
You did ask, but not in a thread. You asked me on IRC, remember?

Anyway, this would actually be a quite useful feature if you could actually find it in an editor that works. :P
User avatar
Doom_Dude
Posts: 12
Joined: Mon May 31, 2004 6:50 am
Graphics Processor: nVidia (Modern GZDoom)
Location: Canada

Post by Doom_Dude »

Crap, so the feature is broken or something. :/
User avatar
Enjay
 
 
Posts: 27087
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Must be the version. I'm using a new one too.
User avatar
Curunir
Posts: 1041
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

Mantra. What I need is a mantra. To keep my mind off the desire to beat someone with a lead pipe.

Yes, the feature is broken. And it seems to be the version. Only you can't find a working version on the internet. Anywhere. Seriously. I spent the last hour desperately trying to find one. I did find 11.2 which doesn't have the Delete unused resuorces option and 11.5+ which has resource detection and listing but still, no deletion.

DeePsea can creep in a ditch and die. I have never been so pissed at a piece of software in my entire life. And to think, people may have actually paid for it. *shudder*

So, I'm writing to the author of XWE and requesting that feature for the next release.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

Curunir wrote:And to think, people may have actually paid for it. *shudder*
The only person who I can think of that may have possibly paid for it has just posted right above you, there. :P
User avatar
Enjay
 
 
Posts: 27087
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

Curunir wrote:DeePsea can creep in a ditch and die. I have never been so pissed at a piece of software in my entire life.
Damn, I hate to think how you'll react when life really starts throwing the shitty stuff at you if this is how worked up you get over a piece of software designed for nothing more important than editing a computer game. :P
User avatar
Giest118
Posts: 2914
Joined: Fri Dec 05, 2003 11:02 pm

Post by Giest118 »

Cur, why were you using DeePSea in the first place?
User avatar
Doom_Dude
Posts: 12
Joined: Mon May 31, 2004 6:50 am
Graphics Processor: nVidia (Modern GZDoom)
Location: Canada

Post by Doom_Dude »

So, I'm writing to the author of XWE and requesting that feature for the next release.
Good idea. I hope Csabo can add that feature for the next release..... whenever that will be. :D
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

giest118 wrote:Cur, why were you using DeePSea in the first place?
RTFT.

Curry was asking for a tool that can remove unused textures from a wad, and Doom Dude said that DeePsea was the only one that had that feature. Curry then tried it, and, of course, it doesn't work. :P
Locked

Return to “Editing (Archive)”