A program to remove unused textures here.

Any utility that assists in the creation of mods, assets, etc, go here. For example: Ultimate Doom Builder, Slade, WadSmoosh, Oblige, etc.
Forum rules
The Projects forums are ONLY for YOUR PROJECTS! If you are asking questions about a project, either find that project's thread, or start a thread in the General section instead.

Got a cool project idea but nothing else? Put it in the project ideas thread instead!

Projects for any Doom-based engine (especially 3DGE) are perfectly acceptable here too.

Please read the full rules for more details.
User avatar
Niya
Posts: 150
Joined: Thu Sep 14, 2006 8:56 pm

A program to remove unused textures here.

Post by Niya »

At the request of Tormentor667 I made this small program to remove unused textures from a WAD.

Here is the download.

Beware of the following limitations.

1-) Dont use with on PWADs with TEXTUREx entries.
It doesn't yet deal with textures referenced in
that lump.

2-) Its functionality is limited. It was put together in a hurry. Maybe later
more functionality will be added.

3-) Doesnt work with PK3s.

4-) May have bugs. I didnt thoroughly test it and the code base
is fairly unoptimized(It could have been better).

Its basically a skeleton but Torm seemed to need it pretty badly so I quickly patched this together from code I had lying around.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49184
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

What a piece of bloat. And it even needs an installer... :?
User avatar
Cutmanmike
Posts: 11347
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom

Post by Cutmanmike »

Someone really needs to make the perfect wad editing tool for zdoom, which includes all tools such as this. Slumped would be a good choice if slayer worked on it more :(
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Post by Nash »

I'll watch how this progresses closely.

I'll only give it a try once TEXTUREx texture removal is in.

Oh and please, no installers. :)
User avatar
Kaiser
Posts: 180
Joined: Thu Jul 15, 2004 8:21 am

Post by Kaiser »

Maybe I should take a stab at making a removal tool...
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Post by Nash »

Fix KSSC first please. :(
User avatar
Niya
Posts: 150
Joined: Thu Sep 14, 2006 8:56 pm

Post by Niya »

Graf Zahl wrote:What a piece of bloat. And it even needs an installer... :?
Its written in VB which has no form of static linking for one and its ease at designing a GUI is a double-edged sword as it requires a shitload of dll(s) and ocx(s) to be registered on the receiving system.

Theoretically it should be possible to just zip the executable with all dependancies in the same folder to avoid using an installer, but im unsure if the executable will need it to be registered. All the systems here at home have VB installed on them so I haven't been able to test this on a system without it.
User avatar
mac53
Posts: 251
Joined: Sun Dec 17, 2006 11:15 am
Location: Delmarva Peninsula, MD USA

Post by mac53 »

I've heard that it also removes GL nodes, too.
NiGHTMARE
Posts: 3463
Joined: Sat Jul 19, 2003 8:39 am

Post by NiGHTMARE »

WinTex is a VB application, and doesn't require a fancy installer.
User avatar
Tormentor667
Posts: 13549
Joined: Wed Jul 16, 2003 3:52 am

Post by Tormentor667 »

Well done, I will test it with Austerity very soon :) So, does it work with the standard TEXTURES, PNAMES lumps and with the TX_START and TX_END markers?
User avatar
Vader
Posts: 4241
Joined: Fri Jul 30, 2004 4:00 am
Location: Germany

Re: A program to remove unused textures here.

Post by Vader »

Tormentor wrote:does it work with the standard TEXTURES, PNAMES lumps and with the TX_START and TX_END markers?
Niya wrote: 1-) Dont use with on PWADs with TEXTUREx entries.
It doesn't yet deal with textures referenced in
that lump.
I love VB btw. It may be messy (I can't really judge as I'm a total programming noob), but I made a fancy, working 2d jump&run game with a friend of mine (he did all the programming of course).
It even supported Coop up to 4 players and featured a map editor :D
User avatar
Tormentor667
Posts: 13549
Joined: Wed Jul 16, 2003 3:52 am

Re: A program to remove unused textures here.

Post by Tormentor667 »

Vader wrote:
Tormentor wrote:does it work with the standard TEXTURES, PNAMES lumps and with the TX_START and TX_END markers?
Uhoh... so blind I am :) Well, Niya, this is actually one of the features mostly needed so when do you think will you have enough spare time to add this support?
User avatar
MasterOFDeath
... in rememberance ...
Posts: 2024
Joined: Sat Apr 03, 2004 10:58 am

Post by MasterOFDeath »

NiGHTMARE wrote:WinTex is a VB application, and doesn't require a fancy installer.
Its also from what, 96? And if you are under XP generally you have to track down a couple files to get it to run.
User avatar
Macil
Posts: 2529
Joined: Mon Mar 22, 2004 7:00 pm
Preferred Pronouns: He/Him
Location: California, USA. Previously known as "Agent ME".

Post by Macil »

Is this made with VB 6, or VB .NET Express?

If it's the former, you really need to upgrade to .NET Express. It's FREE and you only need the .NET package to run it, and it's better.
NiGHTMARE
Posts: 3463
Joined: Sat Jul 19, 2003 8:39 am

Post by NiGHTMARE »

MasterOFDeath wrote:Its also from what, 96? And if you are under XP generally you have to track down a couple files to get it to run.
What difference does that make? If you could do it then, it mean you can do it now.

I know which files you mean, but all you need to do is include a note in the readme files about where those files can be found, e.g. http://www.dll-files.com/ .

Return to “Creation, Conversion, and Editing”