wadextract - v1.0. Small tool to extract sprites/flats

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.
Post Reply
CyberDragon
Posts: 5
Joined: Tue Jul 19, 2022 6:18 pm
Graphics Processor: nVidia with Vulkan support

wadextract - v1.0. Small tool to extract sprites/flats

Post by CyberDragon »

wadextract v1.0 for GZDoom

At this stage, this cmd-line Linux tool can only handle
extracting (and manipulating) sprite & flats graphics
(extracted as 32-bit RGBA PNG images).

Other lumps inside DOOM WAD are just extracted as they are.

Current PNG-image manipulation options:

- Alpha channel (aka transparency)
- hqx2/3/4 sprite upscaling

Supports game WADs:
- Doom Alpha
- Doom Beta
- Doom 1
- Doom 2

Tested on 64-bit Linux with GZDoom 4.8.2

URL: http://185.45.193.197/wadextract-1.0.zip
Please don't forget to check the README.txt inside the zip file
for how to use the tool.

Some real website later when I have time & sleep ...
wadextract1.png
wadextract2.png
Attachments
playground9.png
CyberDragon
Posts: 5
Joined: Tue Jul 19, 2022 6:18 pm
Graphics Processor: nVidia with Vulkan support

Re: wadextract - v1.0. Small tool to extract sprites/flats

Post by CyberDragon »

1.1 version.

New in this version:
- WIN32 console support
- MS-DOS (DJGPP) support
- Heretic: Shadow of the Serpent Riders (1.3) support

http://185.45.193.197/wadextract-1.1.zip
CyberDragon
Posts: 5
Joined: Tue Jul 19, 2022 6:18 pm
Graphics Processor: nVidia with Vulkan support

Re: wadextract - v1.0. Small tool to extract sprites/flats

Post by CyberDragon »

Work for version 1.2 has started.

These will be at least included:

- Hexen support

- brightmaps support. That's right. You can soon automatically generate brightmaps with wadextract.
It will be a quick & dirty method and of course you will have to check afterwards if the results were good
and maybe do some additional editing.
Still, should be help for us lazy folks.

So far results look quite nice IMHO.
Attachments
wadextract-1.2.jpg
brightmap2.jpg
brightmap1.jpg
CyberDragon
Posts: 5
Joined: Tue Jul 19, 2022 6:18 pm
Graphics Processor: nVidia with Vulkan support

Re: wadextract - v1.0. Small tool to extract sprites/flats

Post by CyberDragon »

While coding version 1.2 I digged more deeply into Doom default palette and made some observations.

Below is default Doom 8-bit palette with palette indexes and RGB values in hex.

http://185.45.193.197/default_doom_palette.png

And below, IMHO, more streamlined palette with duplicate colors removed.
http://185.45.193.197/alternate_doom_palette.png
CyberDragon
Posts: 5
Joined: Tue Jul 19, 2022 6:18 pm
Graphics Processor: nVidia with Vulkan support

Re: wadextract - v1.0. Small tool to extract sprites/flats

Post by CyberDragon »

Started doing manual...well, kinda ...

http://185.45.193.197/wadextract.pdf
Post Reply

Return to “Creation, Conversion, and Editing”