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

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

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

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.