Page 1 of 1
ZDBSP creates weird nodes
Posted: Sat Oct 23, 2004 7:08 pm
by Hirogen2
Doombuilder is totally confused by the nodes ZDBSP (1.5) creates:

However, it's not a DB problem. Prboom struggles with texture offsets (yet has no black holes). Take any wad, zdbsp'ize it and load it up in said two programs.
If you can't find a wad that gets screwed in the second case (textures offset), I'd be glad to provide one.
Posted: Sat Oct 23, 2004 7:11 pm
by Chris
Doesn't ZDBSP write a new node format that the normal Doom engine(s) can't handle?
Posted: Sat Oct 23, 2004 7:11 pm
by Giest118
... And this is a ZDoom bug... how?
Posted: Sat Oct 23, 2004 7:14 pm
by SargeBaldy
This bug has been around some time and is pretty major as it means you can't reliably use ZDBSP nodes for non-ZDoom WADs. And no, this isn't a ZDoom bug, but if you were paying attention you'd see this forum also covers ZDBSP and ZETH ones as well.
Posted: Sun Oct 24, 2004 2:47 am
by Graf Zahl
The texture offset bug is well known. Apparently ZDBSP writes out incorrect seg offsets. But frankly, I don't get why these values are still being used by all the ports. I have had this issies with other node builders as well on occasion (WARM comes to mind.)
Posted: Sun Oct 24, 2004 10:22 am
by Hirogen2
>Doesn't ZDBSP write a new node format that the normal Doom engine(s) can't handle?
Only when you use the compression option. (Using it will make other ports bomb out instantly.)
>... And this is a ZDoom bug... how?
It's a ZDBSP bug, and on top, since ZDBSP also builds non-Hexen maps, it's relevant for The World.
>The texture offset bug is well known. Apparently ZDBSP writes out incorrect seg offsets. But frankly, I don't get why these values are still being used by all the ports.
First of all, why does ZDBSP write incorrect offsets (that ports use then)?
Posted: Sun Oct 24, 2004 10:35 am
by Graf Zahl
Hirogen2 wrote:
First of all, why does ZDBSP write incorrect offsets (that ports use then)?
Well, it's a bug!

Posted: Sun Oct 24, 2004 4:15 pm
by HotWax
Since ZDBSP started out as built-in code that would only build internal nodes that only ZDoom would ever see and use, Randy probably didn't see this as a huge issue.
Posted: Mon Oct 25, 2004 4:50 am
by Hirogen2
I consider this something that should need fixing. ZDBSP is IMO the fastest builder out there and it would be a pity to use a different BSP program for non-Hexen maps.
So far, I only know of three all-format builders: ZDBSP, BSP v5.1-HX (by me) and DeepBSP. And what's bad: the first has a bug, the second is almost not used, the third is part of a shareware package (see the (never?)ending rants in this forum about rl)
Posted: Mon Oct 25, 2004 7:54 am
by Graf Zahl
Zennode and WARM also support Hexen format so you are not that limited.
Posted: Mon Oct 25, 2004 4:38 pm
by randi
Hirogen2 wrote:First of all, why does ZDBSP write incorrect offsets (that ports use then)?
Because ZDoom doesn't used the offsets, so the original nodebuilder code didn't calculate any. I had to add that when I made the external tool. I thought I got the math right, but apparently not. The only non-ZDoom testing I did with it was to test the GL nodes with EDGE.
Posted: Tue Oct 26, 2004 5:41 am
by Hirogen2
randy wrote:Because ZDoom doesn't used the offsets
Heh I figured that out already, since ZDBSP'ed maps display fine in ZDoom
so the original nodebuilder code didn't calculate any. I had to add that when I made the external tool. I thought I got the math right, but apparently not.
Could you please correct it?
Posted: Sun Nov 14, 2004 4:45 am
by Hirogen2
bump?
Posted: Tue May 16, 2006 3:24 am
by Graf Zahl
Fixed the offset issue.