cybermind Posted September 18, 2013 When a mapper put a lot of new textures inside his PWAD, it soon become too hard to delete the unused textures when mapper plans to release his masterpiece. This utility allows you to clean out your PWAD from such garbage automatically, in one click. Yes, I know that new Slade 3 has about the same feature, but is was buggy and I've decided to write my own program. Main featues: -cleans TEXTURE1/TEXTURE2/PNAMES from unused textures and patches. -cleans PNAMES from invalid textures. -cleans PWAD from unused flats. -all clean-out is accurate - WCleaner doesn't delete patches and flats which have the same names as in IWAD(e.g. animation and switch replacements) -supports limit-removing wads and Boom wad using ANIMATED and SWITCHES How to use: simple way - just drop your PWAD on exe. That will replace the original file (don't forget to make a backup) with an optimized copy. If you want a harder way - run the utility and read its output to learn how to use it. Links (v 1.0.1): https://github.com/Mistranger/wcleaner/releases/download/1.0.1/wcleaner.zip GitHub page: https://github.com/Mistranger/wcleaner In case if you've found an error or crash: post a link to PWAD which causes error. Any feedback is welcome. 4 Quote Share this post Link to post
Tarnsman Posted September 18, 2013 cybermind said:-all cleanout is accurate - WCleaner doesn't delete patches and flats which have the same names as in IWAD(e.g. animation and switch replacements) Oh god thank you. 1 Quote Share this post Link to post
esselfortium Posted September 18, 2013 Nice, thanks for this! Might it be possible to check mapinfo lumps for skies, story-text backdrop flats, and such as well? 0 Quote Share this post Link to post
gemini09 Posted September 19, 2013 This sounds amazing and I will for certain have a great use for it! :)) Out of a safety concern, you should probably let the program make a back-up before optimizing it. 0 Quote Share this post Link to post
Archi Posted September 19, 2013 esselfortium said:Nice, thanks for this! Might it be possible to check mapinfo lumps for skies, story-text backdrop flats, and such as well? Orientation for zdoom will be hard work, since there may be situations, when you change texture or flat in script, and many others. But yeah, at least implementing support for animdefs will be good. 0 Quote Share this post Link to post
Springy Posted September 19, 2013 Excellent stuff, I wish this came a little earlier as I really needed it last week. Thanks for this. 0 Quote Share this post Link to post
LexiMax Posted September 22, 2013 Archi said:Orientation for zdoom will be hard work, since there may be situations, when you change texture or flat in script, and many others. You could simply allow the WAD author to pass an "exclude" file of known textures/flats that should not be touched and rely on the WAD author to keep track of every texture he uses in a script. 0 Quote Share this post Link to post
Blzut3 Posted September 22, 2013 For 99.9% of cases you can probably just check the ACS string table for texture names. The format of the behavior lump is documented. 0 Quote Share this post Link to post
cybermind Posted September 23, 2013 Yes, I was planning to make such search in BEHAVIOR lump, but, anyway, removing unused textures from ZDoom-based wads, relying to information from such quanity of different lump types(TEXTURES, ANIMDEFS, HIRESTEX, scripts etc) will be a hard work to do. 0 Quote Share this post Link to post
Phendrena Posted October 4, 2013 cybermind said:Link(v 0.1): http://speedy.sh/Q4AFZ/wcleaner.zip WHOA!!! That's one dodgy download!!! It wants to install it's own download manager program and then wants me use the quick installation (hahaha, no thanks chum!) so that it can install all sorts of rubbish!! I think not!!! Perhaps, you should consider using a clean provider for your stuff??? On another note, thanks for the upload it's a handy utility!!! Oh, I've uploaded the file to my own Skydrive account :::: http://sdrv.ms/GCyp1P :::: It's a spam free download. I will remove it if you want though, but I don't want people getting rubbish thrown on their computers. Dave 0 Quote Share this post Link to post
plums Posted October 4, 2013 Phendrena said:WHOA!!! That's one dodgy download!!! Click this: Not this: I had the same problem when I first downloaded from speedyshare, so used to looking for a hidden download link. They're learning... 1 Quote Share this post Link to post
cybermind Posted October 4, 2013 Added another link without such "spam programs" 0 Quote Share this post Link to post
jazzmaster9 Posted October 27, 2013 I tried to run my wad through the program, but it crashes during the process. link to my wad: http://www.mediafire.com/?440dtv0bcjp71wk thanks 0 Quote Share this post Link to post
Archi Posted October 27, 2013 Ok for me. Just rename the file so that it doesn't contain any spaces. Btw, animdefs are not supported. http://www.mediafire.com/download/u37m63phe24qu0q/nukage_area.wad 0 Quote Share this post Link to post
Evolution Posted October 27, 2013 I wonder if the program could check the wad for a MAPINFO lump and take into account any textures in there that are solely used as skies. For example, try WCleaning zdectfmp3. All skies will be removed and ashwall assumes post. The skies are defined in the MAPINFO text lump. 0 Quote Share this post Link to post
cybermind Posted May 27, 2015 Updated to 1.0.1 - fixed several crashes and some minor bugs. Link: https://github.com/Mistranger/wcleaner/releases/download/1.0.1/wcleaner.zip 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.