ZDBSP creates weird nodes

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

Forum rules
Please don't bump threads here if you have a problem - it will often be forgotten about if you do. Instead, make a new thread here.
Post Reply
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

ZDBSP creates weird nodes

Post by Hirogen2 »

Doombuilder is totally confused by the nodes ZDBSP (1.5) creates:
Image
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.
User avatar
Chris
Posts: 2971
Joined: Thu Jul 17, 2003 12:07 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

Post by Chris »

Doesn't ZDBSP write a new node format that the normal Doom engine(s) can't handle?
User avatar
Giest118
Posts: 2914
Joined: Fri Dec 05, 2003 11:02 pm

Post by Giest118 »

... And this is a ZDoom bug... how?
User avatar
SargeBaldy
Posts: 366
Joined: Tue Jul 15, 2003 3:49 pm
Location: Oregon
Contact:

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

Post 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.)
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post 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)?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Hirogen2 wrote: First of all, why does ZDBSP write incorrect offsets (that ports use then)?
Well, it's a bug! ;)
User avatar
HotWax
Posts: 10002
Joined: Fri Jul 18, 2003 6:18 pm
Location: Idaho Falls, ID

Post 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.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

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

Post by Graf Zahl »

Zennode and WARM also support Hexen format so you are not that limited.
User avatar
randi
Site Admin
Posts: 7749
Joined: Wed Jul 09, 2003 10:30 pm
Contact:

Post 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.
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post 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 :p
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?
User avatar
Hirogen2
Posts: 2033
Joined: Sat Jul 19, 2003 6:15 am
Operating System Version (Optional): Tumbleweed x64
Graphics Processor: Intel with Vulkan/Metal Support
Location: Central Germany
Contact:

Post by Hirogen2 »

bump?
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49230
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Post by Graf Zahl »

Fixed the offset issue.
Post Reply

Return to “Closed Bugs [GZDoom]”