Exporting doom sprites from WAD as PNGs
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Exporting doom sprites from WAD as PNGs
...or something like that. Is there a tool that automatically mass-exports sprites from a WAD file as PNGs for use in PK3 folders? I tried SLumpEd, it works but you have to set "PNG" for each single sprite... and it isn't fun to do this about 5000 times.
- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Exporting doom sprites from WAD as PNGs
To my knowledge there isn't.
I am using a tool for this that uses several non-redistributable programs to do its work so that isn't much help for you. Can't you just upload the file somewhere (e.g. Stronghold or KDiZD FTP)? Then I can run my tool over it and send it back.
I am using a tool for this that uses several non-redistributable programs to do its work so that isn't much help for you. Can't you just upload the file somewhere (e.g. Stronghold or KDiZD FTP)? Then I can run my tool over it and send it back.
- Remmirath
- Posts: 2562
- Joined: Sun Dec 23, 2007 3:53 am
- Graphics Processor: nVidia with Vulkan support
- Location: My house
- Contact:
Re: Exporting doom sprites from WAD as PNGs
The SlumpEd method works for me. It automatically selects the png format when i click on export, so i can uber-quickly click on Export. 

Re: Exporting doom sprites from WAD as PNGs
BagHeadSpidey made a tool which can be used for setting the offsets nice and quickly. You have to export all the sprites as Doom format lumps, and then again as BMP files. Then you run BHS's tool, pointing it to the directory where the files are, and it will convert the BMPs to PNGs and use the Doom lumps to set the offsets in the PNGs.Tormentor667 wrote:it works but you have to set "PNG" for each single sprite... and it isn't fun to do this about 5000 times.
http://forum.zdoom.org/viewtopic.php?f=19&t=16273
I'm not sure if UNWAD can do something similar, perhaps without the intermediate steps of BMP/LMP.
- hnsolo77
- Posts: 1446
- Joined: Sat Sep 16, 2006 8:06 pm
- Location: the mythical land of Toronto Canada. (not really)
Re: Exporting doom sprites from WAD as PNGs
unwad saves em as png's, i just checked it myself
Re: Exporting doom sprites from WAD as PNGs
I suspect that it does, but does it preserve the offsets?
- hnsolo77
- Posts: 1446
- Joined: Sat Sep 16, 2006 8:06 pm
- Location: the mythical land of Toronto Canada. (not really)
Re: Exporting doom sprites from WAD as PNGs
just checked it, and yes it appears to do exactly that
well i did not see any problems at least with an in-game test
well i did not see any problems at least with an in-game test
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: Exporting doom sprites from WAD as PNGs
I tried UnWad and it does exactly what I needed, this program needs to be recommended and needs to get its own Windows GUI
Thanks guys

- Graf Zahl
- Lead GZDoom+Raze Developer
- Posts: 49234
- Joined: Sat Jul 19, 2003 10:19 am
- Location: Germany
Re: Exporting doom sprites from WAD as PNGs
Good to know. Maybe I can retire my crap tools now. 

- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: Exporting doom sprites from WAD as PNGs
You should really try it, it is fast, easy to use and works wonders for lazy boys like me 

- Macil
- Posts: 2529
- Joined: Mon Mar 22, 2004 7:00 pm
- Preferred Pronouns: He/Him
- Location: California, USA. Previously known as "Agent ME".
- Contact:
Re: Exporting doom sprites from WAD as PNGs
Note that there are a few issues with it, mainly it sometimes not sorting graphics into their folder, or not giving the extract pngs the correct extension (and giving them a .lump extension).
- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: Exporting doom sprites from WAD as PNGs
I just committed a new revision to fix those problems, but I don't have any wads with TX_START / TX_END markers to test it with. Would you mind checking it out for me when you get a chance?Agent ME wrote:Note that there are a few issues with it, mainly it sometimes not sorting graphics into their folder, or not giving the extract pngs the correct extension (and giving them a .lump extension).
- Tormentor667
- Posts: 13556
- Joined: Wed Jul 16, 2003 3:52 am
- Preferred Pronouns: He/Him
- Operating System Version (Optional): Windows 11
- Graphics Processor: nVidia (Modern GZDoom)
- Location: Germany
- Contact:
Re: Exporting doom sprites from WAD as PNGs
I already noticed that. This also happens to sounds which are not in the "Doom Sound Format" (e.g. different wave formats, mp3, ogg, flac)Agent ME wrote:Note that there are a few issues with it, mainly it sometimes not sorting graphics into their folder, or not giving the extract pngs the correct extension (and giving them a .lump extension).
@Baghead - Any chance of getting these added?

- bagheadspidey
- Posts: 1490
- Joined: Sat Oct 20, 2007 10:31 pm
- Contact:
Re: Exporting doom sprites from WAD as PNGs
Torm: Try it now, it should be a lot better about putting the right extensions on things.