[GZDoom 3.0.0+] BEX lumps don't change Doom II par times

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 a reply

Smilies
:D :) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :wink: :geek: :ugeek: :!: :?: :idea: :arrow: :| :mrgreen: :3: :wub: >:( :blergh:
View more smilies

BBCode is OFF
Smilies are ON

Topic review
   

Expand view Topic review: [GZDoom 3.0.0+] BEX lumps don't change Doom II par times

Re: [GZDoom 3.0.0+] BEX lumps don't change Doom II par times

by _mental_ » Thu Jun 03, 2021 7:52 am

Fixed.

Strange that no one noticed that for over four years. At first, I was thinking about replacing '\r' with '\0' in igets() function, but who knows what else this could break.

Re: [GZDoom 3.0.0+] BEX lumps don't change Doom II par times

by drfrag » Thu Jun 03, 2021 5:49 am

It says "Par for e1m6 changed to 0".
I've done some investigation and it has to be this commit: https://github.com/coelckers/gzdoom/com ... 78095ece83

[GZDoom 3.0.0+] BEX lumps don't change Doom II par times

by Yarn366 » Tue Jun 01, 2021 2:10 am

GZDoom supports loading par times from BEX lumps, but only for E#M# maps--not for MAP## maps for some reason. Only GZDoom 3.0.0 and later seem to be affected; version 2.4.0 reads par times for both formats as expected.

For instance, this lump sets the par time for E1M1 to 10 minutes, and it works in GZDoom:

Code: Select all

Patch File for DeHackEd v3.0
# Created with WhackEd4 1.2.4 BETA
# Note: Use the pound sign ('#') to start comment lines.

Doom version = 21
Patch format = 6


[PARS]
par 1 1 600

This lump does the same thing for MAP01, but it doesn't work in GZDoom 3.0.0+:

Code: Select all

Patch File for DeHackEd v3.0
# Created with WhackEd4 1.2.4 BETA
# Note: Use the pound sign ('#') to start comment lines.

Doom version = 21
Patch format = 6


[PARS]
par 1 600

I have attached a zip file containing these same lumps.
Attachments
bex_par_tests.zip
(624 Bytes) Downloaded 30 times

Top