Jump to content

How to Remove Unused Textures from your Maps


Recommended Posts

This one's for folks who know enough about SLADE to put new texture sets in their wads, but not enough to remove everything then haven't used. Cut down file sizes and receive the blessings of community project heads everywhere with these easy steps!

 

Step 1.

Have a map.

 

Spoiler

image.png

 

Step 2.

Create a sector outside of your map.

 

Spoiler

image.png

 

Step 3.

Look for all the animated textures, flats and switches you used from your texture pack and put all of their associated textures and flats into the sector: for this example I've used ZGFALL1-4 (an animated texture), ZBGSTSW1/SW2, ZGGSTSW1/SW2 (two switches) and ZFGWATR1-4 (an animated flat) from Zoon-Tex. If you didn't use anything that animates from your texture pack, you can skip this and the previous step.

 

Spoiler

 

image.png

image.png

 

 

Step 4.

Save your map, then open it in SLADE. If your texture pack isn't in the wad, put it in.

 

Spoiler

image.png

 

Step 5.

Go to the Archive option in the top-left corner and then go down to Maintenance. From here you want the Remove Unused Textures option.

 

Spoiler

image.png

 

Once you've clicked it, a window should pop up with a list of all the defined textures: you can go through it manually, but SLADE should auto-detect any textures that you've used (as well as the IWAD textures) and mark the rest for deletion. Note that SLADE (or at least some versions of it) won't detect whether or not a texture is part of an animation of some sort, hence the necessity of steps 2 and 3.

 

Spoiler

image.png

 

Step 6.

Once you've removed the textures, go to the Remove Unused Patches option in the same menu. The prior step only removes the texture definitions from the TEXTURE1 lump, whereas this one removes the graphics themselves.

 

Spoiler

image.png

 

Step 7.

And finally, do the same for flats.

 

Spoiler

image.png

 

And that's how you do it! Now go tell your friends.

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...