Does anyone know of a tool that can check a TEXTURES lump to make sure that all the entries are valid and correct?
What I'm looking for is something like DeePsea can do with the old TEXTURE1 format. It can run two useful checks:
1) Check to see if all patches in the PNAMES list have actually been used in a texture
2) Check that all textures are fully covered by patches (e.g. if a texture was defined as 128x128 but only had a 64x128 patch on it, or if a 128x128 single patch was offset and not covering the texture fully, these would both flag as errors).
I'm not that bothered about check 1 (though, it could still be useful and in a modern PK3 setup, it would have to check the Patches folder instead/too I guess).
Check 2, however, can be very useful. I can almost guarantee that I have made a typo *somewhere" in one of the TEXTURES lumps I've been using and accidentally left a bit of texture not covered by a patch. However, I don't seem to have any way of checking it. I thought Slade might do it, but I don't see an option anywhere.
So, does such a tool exist?
A Tool to Check TEXTURES?
Moderators: GZDoom Developers, Raze Developers
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. If you still don't understand how to use a feature, then ask here.
-
-
- Posts: 26702
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
-
-
- Posts: 17937
- Joined: Fri Jul 06, 2007 3:22 pm
Re: A Tool to Check TEXTURES?
1) is moot in TEXTURES, since it doesn't use PNAMES.
2) is indeed something that could be useful, though mostly for vanilla wads (so mostly in a TEXTUREx checker) since "column without a patch" is an error that prevents vanilla from starting up but that GZDoom handles just fine.
2) is indeed something that could be useful, though mostly for vanilla wads (so mostly in a TEXTUREx checker) since "column without a patch" is an error that prevents vanilla from starting up but that GZDoom handles just fine.
-
-
- Posts: 26702
- Joined: Tue Jul 15, 2003 4:58 pm
- Location: Scotland
Re: A Tool to Check TEXTURES?
Yes and no - that's whay I mentioned a patches folder. It might be the case that someone... like me, dumped some patches into the patches folder and forgot to add them to the textures lump. So, they might not be PNAMES, but there could still be unused patches. I do acknowledge that this is the less useful of the two tests in a modern setup though.Gez wrote:1) is moot in TEXTURES, since it doesn't use PNAMES.
I'm going to go with "yes and no" again,Gez wrote:...since "column without a patch" is an error that prevents vanilla from starting up but that GZDoom handles just fine.


-
- Lead GZDoom+Raze Developer
- Posts: 49194
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: A Tool to Check TEXTURES?
More importantly, such an "incomplete" texture is a valid construct in GZDoom.Gez wrote: 2) is indeed something that could be useful, though mostly for vanilla wads (so mostly in a TEXTUREx checker) since "column without a patch" is an error that prevents vanilla from starting up but that GZDoom handles just fine.