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
Doom_Dude
Posts: 12
Joined: Mon May 31, 2004 6:50 am
Graphics Processor: nVidia (Modern GZDoom)
Location: Canada

Post by Doom_Dude »

I didn't exactly say it was the only editor that could do it but anyhow it's a fuck up. :shock:
User avatar
randomlag
Posts: 405
Joined: Thu Jul 17, 2003 10:10 pm

Post by randomlag »

What you supply is this:

1. A PWAD with Level(s), TEXTUREx, PNAMES (and optionally flats), otherwise there's nothing to check.

2. Tell it what IWAD this is used with - as it says on the open dialog heading. I could have defaulted to the project, but then you'd not know what the texture check basis is. (And yes I have to know the IWAD since you can have new textures that use resources in the IWAD.)

IIRC, the only change from the earlier version was reducing/moving the buttons around cleaning it up a bit so this step is 1 layer deeper - nothing else - so it should work as before.

-----------------

None of the lists shown above are done correctly - there was no PWAD with TEXTURE1 in the first (clearly that can't work - think about it) and the 2nd didn't have an IWAD as it asked for.

Pretty sure it works, but I've only run it on my own stuff and a few others:

For example CCHEST which has CC18 texture and CC18 patch not used.

and Darkhour has 11 not used
1. DARK055 extra
2. DARK054 extra
3. DARK053 extra
4. DARK052 extra
5. DARK051 extra
6. DARK048 extra
7. DARK047 extra
8. DARK046 extra
9. DARK045 extra
10. DARK039 extra
11. DARK036 extra

Could be there's a glitch too which is nothing to get all that excited about - especially since it's a unique tool that requires a bit more experience and understanding from the user - it's not for idle use by novices. All I need is a copy of the PWAD to see if there's a real problem or what. Not a big deal.

The problem with this sort of stuff is that it's not easy to convey how all this stuff works and I have to assume that people pay attention to the dialogs. Plus I also can't tell animated stuff (as it warns), so those might also show up as "extra", but really are not.
User avatar
randomlag
Posts: 405
Joined: Thu Jul 17, 2003 10:10 pm

Post by randomlag »

Doom_Dude wrote:I didn't exactly say it was the only editor that could do it but anyhow it's a fuck up. :shock:
Gee thanks. What are you going to say if it actually works? Who is the fuck up then - Lol.
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post by HotWax »

So far, Doom_Dude hasn't charged for any of his advice.........
User avatar
Giest118
Posts: 2914
Joined: Fri Dec 05, 2003 11:02 pm

Post by Giest118 »

Shit. Another thread devoted to flaming RL. :cry:

Meh. Commence flamewar. :twisted:
User avatar
Curunir
Posts: 1041
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

No. Flamewars are mostly useless.

And I must apologise to RL. I never noticed that the second selection bx said "graphics IWAD" but only read it as "graphics wad" and I kept selecting the pwad with the textures in it.

As a matter of fact, it does clean up the textures properly but it wipes out all flats, regardless of whether they are used or not. That's not such a huge glitch though because flats are, in most cases, fewer and can be deleted by hand.

Once again, sorry for being so exasperated yesterday. And Enjay, when I'm not in front of the pc, i'm a pretty calm person. ;) Only the internet has taught me to work quickly and I expect everything to work more or lesss smoothly.

And keep your flamewars out of my threads. As I said, problem mostly fixed, since it was due to me overlooking a selection box's titlebar. So, hush!
User avatar
Enjay
 
 
Posts: 27072
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Post by Enjay »

My bad for not reading the selection box properly either. :oops: So apologies for misleading people and the incorrect error report I sent to RandomLag.

Worst thing is, as soon as I read RL's post I was like "Doh!" because I knew that was how it was supposed to work and because I was rushing I didn't do it properly. :oops: :oops:
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 »

randomlag wrote:
Doom_Dude wrote:I didn't exactly say it was the only editor that could do it but anyhow it's a fuck up. :shock:
Gee thanks. What are you going to say if it actually works? Who is the fuck up then - Lol.
Sorry I said it was a fuck up, but it sounded like the feature wasn't working and I shouldn't of posted that even if it wasn't workin.
Last edited by Doom_Dude on Tue Jun 01, 2004 10:05 am, edited 1 time in total.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

Hmm... so it does work. Heh. I didn't even try it, so that's 2 mistakes on my part. :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 »

Works for the patches, not flats. But anyhoo, it's ok even at that.
User avatar
Curunir
Posts: 1041
Joined: Sun Nov 02, 2003 11:24 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Curunir »

Csabo, author of XWE (on removing unused textures) wrote: Hi there,

It's a good idea, sounds like a very useful feature. I will try to add it to the
next version, although I haven't had any time lately to work on XWE. Bye for
now
Rejoice and be patient.
User avatar
Xaser
 
 
Posts: 10774
Joined: Sun Jul 20, 2003 12:15 pm
Contact:

Post by Xaser »

Yay! XWE is one hell of a good editor! This will be quiitte a useful feature. :)
User avatar
randomlag
Posts: 405
Joined: Thu Jul 17, 2003 10:10 pm

Post by randomlag »

Curunir wrote:No. Flamewars are mostly useless.

And I must apologise to RL. I never noticed that the second selection bx said "graphics IWAD" but only read it as "graphics wad" and I kept selecting the pwad with the textures in it.

As a matter of fact, it does clean up the textures properly but it wipes out all flats, regardless of whether they are used or not. That's not such a huge glitch though because flats are, in most cases, fewer and can be deleted by hand.

Once again, sorry for being so exasperated yesterday. And Enjay, when I'm not in front of the pc, i'm a pretty calm person. ;) Only the internet has taught me to work quickly and I expect everything to work more or lesss smoothly.

And keep your flamewars out of my threads. As I said, problem mostly fixed, since it was due to me overlooking a selection box's titlebar. So, hush!
Thanks for the adjustment - pretty rare in these parts :) I just got back from some NW sun, sea and seals - a wild tame seal if that makes sense.

As far as I can tell, flat deletion works. Try REQUIEM.WAD for example - has 5 extra flats and those deleted successfully (as well as the patches). Just look at the 2nd column (that column contains the final result before you save) and scan for the flats+markers. This tool will not delete flats (or patches) unless they are not used. The reports lists exactly what was deleted. So probably a marker issue that makes it appear in ZDOOM (or an editor) that the flats appear to be gone, but are still there?

If you send me the PWAD or a link, I can see what's going on in your case, since without that I can only guess.
User avatar
Lexus Alyus
Posts: 4220
Joined: Tue Jul 15, 2003 5:07 pm
Location: Nottingham, UK
Contact:

Post by Lexus Alyus »

Okay, I have asuggestion... this pruning of unusded textures is a really useful feature, and loads of people rave about DeepSeas wad handling tool. I personally will never use Deepsea as a level editor as I'm quite content with DB, and I don't fancy installing it because it asociates all wads files with it... and its just too bulky to sit on my hard drive for me... but, why don't you make a seporate stand alone wad handling tool with these texture pruners in. That way, you can sell your level editor and offer this additional editor for free, after all, the wad management is practically fully featuired in the shareware version anyway... you won't lose anything but you will gain respect... as long as the additional wad manager is free that is :D.

:twisted:
Locked

Return to “Editing (Archive)”