[Fixed] [4.8pre-101] MBF21: some DeHackEd fields are ignored

Bugs that have been investigated and resolved somehow.

Moderator: GZDoom Developers

[4.8pre-101] MBF21: some DeHackEd fields are ignored

Postby boris » Mon Jan 03, 2022 4:12 am

Experienced in the recently released MBF21 showcase mode Vesper: https://www.doomworld.com/forum/topic/1 ... wcase-mod/

Upon starting GZDoom complains about the following unknown fields in the DEHACKED lump:

  • MBF21 Bits
  • Ammo per shot

Most of the weapons in this mod don't work, and I assume it's because of those errors.

There's actually code to recognize the files:

Ammo per shot: https://github.com/coelckers/gzdoom/blo ... .cpp#L2124
MBF21 Bits: https://github.com/coelckers/gzdoom/blo ... .cpp#L2136

But it looks like this code is never reached because an optimization (?) here: https://github.com/coelckers/gzdoom/blo ... .cpp#L2062
I post less than Manc and Hobo
Joined: 15 Jul 2003

Re: [4.8pre-101] MBF21: some DeHackEd fields are ignored

Postby Graf Zahl » Fri Jan 07, 2022 3:14 am

That parser is quite a bit messy. Those length checks were a big problem with MBF21. I thought I had addressed them all, but apparently not.

This mod still doesn't work right, there's other issues. This one's fixed, though.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Joined: 19 Jul 2003
Location: Germany

Return to Closed Bugs

Who is online

Users browsing this forum: No registered users and 1 guest