Is there a way to do this? My textures and patches are a proper mess. Some even duplicate in the builder and some are not animating at all. Is there a quick way way to convert TEXTURE1, TEXTURE2 and PNAMES to a modern TEXTURE file?
Please help. Thanks in advance.
Converting TEXTURE1, TEXTURE2 and PNAMES to Texture lump
Moderator: GZDoom 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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
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.
Please bear in mind that the people helping you do not automatically know how much you know. You may be asked to upload your project file to look at. Don't be afraid to ask questions about what things mean, but also please be patient with the people trying to help you. (And helpers, please be patient with the person you're trying to help!)
- Hidden Hands
- Posts: 1053
- Joined: Tue Sep 20, 2016 8:11 pm
- Location: London, England
- Contact:
Re: Converting TEXTURE1, TEXTURE2 and PNAMES to Texture lump
Create an empty TEXTURES lump. Open the texture editor. Select all the textures from TEXTURE1, copy them, paste them into the TEXTURES tab. Repeat that process for TEXTURE2. Save, close the texture editor. Delete the now-unneeded TEXTURE1, TEXTURE2, and PNAMES lumps. Save the file.
- Hidden Hands
- Posts: 1053
- Joined: Tue Sep 20, 2016 8:11 pm
- Location: London, England
- Contact:
Re: Converting TEXTURE1, TEXTURE2 and PNAMES to Texture lump
Thank you Gez.
Re: Converting TEXTURE1, TEXTURE2 and PNAMES to Texture lump
Is it not quicker just to right-click the relevant lump?

This auto-creates a new TEXTURES lump and then you just need to delete the old TEXTURE1 lump. If you do indeed have both a TEXTURE1 and TEXTURE2 lump, you can do this for both. This will create a TEXTURES lump for each one which would then be best consolidated into a single lump (copy/paste).
However, one thing I did notice (and perhaps there is no way around this) when doing the above, Slade adds the "NullTexture" flag to the first entry in the TEXTURES1 lump. Fair enough, that applies to textures such as AASTINKY and AASHITTY that are meant to be null textures. However, it also applies it to the first entry in the TEXTURE2 lump which, in the case of Doom, is ASHWALL which is not meant to be a null texture (easy to edit, but worth pointing out).


This auto-creates a new TEXTURES lump and then you just need to delete the old TEXTURE1 lump. If you do indeed have both a TEXTURE1 and TEXTURE2 lump, you can do this for both. This will create a TEXTURES lump for each one which would then be best consolidated into a single lump (copy/paste).
However, one thing I did notice (and perhaps there is no way around this) when doing the above, Slade adds the "NullTexture" flag to the first entry in the TEXTURES1 lump. Fair enough, that applies to textures such as AASTINKY and AASHITTY that are meant to be null textures. However, it also applies it to the first entry in the TEXTURE2 lump which, in the case of Doom, is ASHWALL which is not meant to be a null texture (easy to edit, but worth pointing out).

- Hidden Hands
- Posts: 1053
- Joined: Tue Sep 20, 2016 8:11 pm
- Location: London, England
- Contact:
Re: Converting TEXTURE1, TEXTURE2 and PNAMES to Texture lump
Oh wow. Didnt realize there was a shortcut like that great thanks! Good thing I didnt start doing it yet.