Page 5 of 5

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

Posted: Mon Sep 29, 2008 7:25 am
by Graf Zahl
... which doesn't help if one program is doing all the output.

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

Posted: Mon Sep 29, 2008 2:38 pm
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.

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

Posted: Fri Oct 03, 2008 4:24 pm
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)

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

Posted: Sat Jan 31, 2009 12:17 am
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.

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

Posted: Sat Jan 31, 2009 9:50 am
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 =)

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

Posted: Sun Feb 01, 2009 2:31 pm
by Macil
Does the unwad tool keep sprite offsets when it extracts sprites to pngs?

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

Posted: Sun Feb 01, 2009 4:07 pm
by bagheadspidey
I'm pretty sure it does, but I don't completely remember <_<

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

Posted: Sat Sep 09, 2023 5:11 am
by Cutmanmike
The download links are broken, does anyone still have this to reupload?

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

Posted: Sat Sep 09, 2023 10:37 am
by VitSm