Icon of Sin / Baphomet
Register | User Profile | Member List | F.A.Q | Privacy Policy | New Blog | Search Forums | Forums Home
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > WCleaner - wad optimizer
 
Author
All times are GMT. The time now is 20:44. Post New Thread    Post A Reply
cybermind
Warming Up


Posts: 21
Registered: 06-09


When a mapper put a lot of new textures into his PWAD, it soon become too hard to delete the unused ones when he plans to release his masterpiece. This utility allows you to clean out your PWAD from such garbage.
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 cleanout 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 in output how to use it.
Links(v 0.1):
http://speedy.sh/Q4AFZ/wcleaner.zip
http://yadi.sk/d/ubbY797x9SfNf
If there are errors, post a link to PWAD which causes error.

Last edited by cybermind on 10-04-13 at 18:26

Old Post 09-18-13 12:46 #
cybermind is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
40oz
Forum Spammer


Posts: 6568
Registered: 08-07


sounds cool :)

Old Post 09-18-13 17:05 #
40oz is online now Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Tarnsman
Forum Regular


Posts: 809
Registered: 05-11



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.

Old Post 09-18-13 18:17 #
Tarnsman is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
esselfortium
A Major Doomworld Concern


Posts: 6488
Registered: 01-02


Nice, thanks for this!

Might it be possible to check mapinfo lumps for skies, story-text backdrop flats, and such as well?

Old Post 09-18-13 18:19 #
esselfortium is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
gemini09
Senior Member


Posts: 1164
Registered: 04-03


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.

Old Post 09-19-13 18:50 #
gemini09 is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Archi
Member


Posts: 261
Registered: 07-09



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.

Old Post 09-19-13 19:29 #
Archi is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Springy
Senior Member


Posts: 1279
Registered: 09-12


Excellent stuff, I wish this came a little earlier as I really needed it last week. Thanks for this.

Old Post 09-19-13 19:32 #
Springy is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
AlexMax
Senior Member


Posts: 1114
Registered: 01-03



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.

Old Post 09-22-13 17:06 #
AlexMax is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
Blzut3
Member


Posts: 495
Registered: 06-04


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.

Old Post 09-22-13 23:27 #
Blzut3 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
cybermind
Warming Up


Posts: 21
Registered: 06-09


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.

Old Post 09-23-13 16:09 #
cybermind is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Phendrena
Junior Member


Posts: 177
Registered: 09-12



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

Old Post 10-04-13 13:14 #
Phendrena is offline Profile || Blog || PM || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
plums
Senior Member


Posts: 1673
Registered: 08-13



Phendrena said:
WHOA!!! That's one dodgy download!!!



Click this:
http://i.imgur.com/kDIXvSN.png

Not this:
http://i.imgur.com/XqjpCrZ.png

I had the same problem when I first downloaded from speedyshare, so used to looking for a hidden download link. They're learning...

Old Post 10-04-13 18:12 #
plums is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
cybermind
Warming Up


Posts: 21
Registered: 06-09


Added another link without such "spam programs"

Old Post 10-04-13 18:28 #
cybermind is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
jazzmaster9
Junior Member


Posts: 166
Registered: 11-11


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

Old Post 10-27-13 08:10 #
jazzmaster9 is offline Profile || Blog || PM || Email || Homepage || Search || Add Buddy IP || Edit/Delete || Quote
Archi
Member


Posts: 261
Registered: 07-09


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/u...nukage_area.wad

Last edited by Archi on 10-27-13 at 10:43

Old Post 10-27-13 10:35 #
Archi is online now Profile || Blog || PM || Search || Add Buddy IP || Edit/Delete || Quote
Evolution
Junior Member


Posts: 230
Registered: 09-10


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.

Old Post 10-27-13 12:22 #
Evolution is offline Profile || Blog || PM || Email || Search || Add Buddy IP || Edit/Delete || Quote
All times are GMT. The time now is 20:44. Post New Thread    Post A Reply
 
Doomworld Forums : Powered by vBulletin version 2.2.5 Doomworld Forums > Classic Doom > Doom Editing > WCleaner - wad optimizer

Show Printable Version | Email this Page | Subscribe to this Thread

 

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are OFF
[IMG] code is ON
 

< Contact Us - Doomworld >

Powered by: vBulletin Version 2.2.5
Copyright ©2000, 2001, Jelsoft Enterprises Limited.