Unwad - minimal wad tool (mingw build script now in svn)

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
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49184
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [release] Unwad - minimal wad tool (svn repo up)

Post by Graf Zahl »

... which doesn't help if one program is doing all the output.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm

Re: [release] Unwad - minimal wad tool (svn repo up)

Post by bagheadspidey »

I wrote:

Code: Select all

unwad -p playpal.lump %* > what-unwad-said.txt
wordpad what-unwad-said.txt &
Gez wrote:You forgot about the "pause" command. :)
Graf Zahl wrote:... which doesn't help if one program is doing all the output.
Graf, we were talking about executing the batch file by dragging wads onto it, so pause would help somewhat in that case (it would leave the command window open after executing the command).

The reason I didn't use it is because if I remember correctly, cmd.exe's scrollback buffer is only 500 lines or so, not nearly big enough to hold all the messages that get dumped while extracting most wads.

Anyway, I think these kind of operators are good for people to know about when working with any tool that generates command line output. I've definitely piped zdoom through grep to filter out everything but error messages, for instance.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm

Re: [release] Unwad - minimal wad tool (svn repo up)

Post by bagheadspidey »

Small update.

MP2E has created a working mingw build script, so windows users can easily build unwad for themselves if they want. See the title post for info on how to check unwad out of the svn. Building it should be a matter of simply running the mingw-build shell script in the "build" directory, so MP2E tells me =)

I should probably add that you don't have to build it if you don't want, pre-built binaries are available (see title post)
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".

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by Macil »

I found a bug - when extracting a wad that had lots of textures (TX_START to TX_END), it put all the patch type textures into the graphics folder and converted them to png files correctly, but it put all the png type lumps that were between TX_START and TX_END into the wad's main extraction folder, and gave them the extension .lump.

Also, all sprites that were in PNG format were put into the correct 'sprites' folder, but the extension was changed to .lump.
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by bagheadspidey »

I noticed that too, but I wasn't going to bother fixing it as it doesn't bother me and I wasn't sure if anyone else was using this thing ;p

I'll take a look, thanks =)
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".

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by Macil »

Does the unwad tool keep sprite offsets when it extracts sprites to pngs?
User avatar
bagheadspidey
Posts: 1490
Joined: Sat Oct 20, 2007 10:31 pm

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by bagheadspidey »

I'm pretty sure it does, but I don't completely remember <_<
User avatar
Cutmanmike
Posts: 11347
Joined: Mon Oct 06, 2003 3:41 pm
Operating System Version (Optional): Windows 10
Location: United Kingdom

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by Cutmanmike »

The download links are broken, does anyone still have this to reupload?
VitSm
 
 
Posts: 437
Joined: Thu Jun 20, 2013 10:26 am
Location: East of the West, West of the East

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by VitSm »

User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by Nash »

Sorry for the bump, but I desperately need this tool again (one of my projects depend on it in the toolchain). VitSm's link doesn't work anymore. Does anyone have a copy?

EDIT: oh, apparently this link still works. It's the source code archive, but there are compiled binaries inside "unwad\trunk\release\". https://storage.googleapis.com/google-c ... rchive.zip
User avatar
Rachael
Posts: 13793
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by Rachael »

Nash wrote: Fri Oct 25, 2024 3:24 pm Sorry for the bump, but I desperately need this tool again (one of my projects depend on it in the toolchain). VitSm's link doesn't work anymore. Does anyone have a copy?

EDIT: oh, apparently this link still works. It's the source code archive, but there are compiled binaries inside "unwad\trunk\release\". https://storage.googleapis.com/google-c ... rchive.zip
Is there something this tool does that WadExt does not do?
User avatar
Nash
 
 
Posts: 17465
Joined: Mon Oct 27, 2003 12:07 am
Location: Kuala Lumpur, Malaysia

Re: Unwad - minimal wad tool (mingw build script now in svn)

Post by Nash »

Don't know, but my scripts rely on the behavior/parameters of bagheadspidey's app down to a T, and I don't have time to edit my scripts/tooling for the current task at hand

Return to “Creation, Conversion, and Editing”