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

Any utility that assists in the creation of mods, assets, etc, go here.
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.

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

Postby Graf Zahl » Mon Sep 29, 2008 7:25 am

... which doesn't help if one program is doing all the output.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
 
Joined: 19 Jul 2003
Location: Germany

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

Postby bagheadspidey » Mon Sep 29, 2008 2:38 pm

I wrote:
Code: Select allExpand view
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
 
Joined: 21 Oct 2007

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

Postby bagheadspidey » Fri Oct 03, 2008 4:24 pm

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
bagheadspidey
 
Joined: 21 Oct 2007

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

Postby Agent ME » Sat Jan 31, 2009 12:17 am

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
Agent ME
Title Not Found
 
Joined: 23 Mar 2004
Location: California, USA

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

Postby bagheadspidey » Sat Jan 31, 2009 9:50 am

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
bagheadspidey
 
Joined: 21 Oct 2007

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

Postby Agent ME » Sun Feb 01, 2009 2:31 pm

Does the unwad tool keep sprite offsets when it extracts sprites to pngs?
User avatar
Agent ME
Title Not Found
 
Joined: 23 Mar 2004
Location: California, USA

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

Postby bagheadspidey » Sun Feb 01, 2009 4:07 pm

I'm pretty sure it does, but I don't completely remember <_<
User avatar
bagheadspidey
 
Joined: 21 Oct 2007

Previous

Return to Editors / Asset Manipulation

Who is online

Users browsing this forum: No registered users and 0 guests