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

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
Yarn366
Posts: 61
Joined: Fri Mar 02, 2018 11:48 pm
Preferred Pronouns: He/Him

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

Post by Yarn366 »

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
User avatar
drfrag
Vintage GZDoom Developer
Posts: 3200
Joined: Fri Apr 23, 2004 3:51 am
Location: Spain
Contact:

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

Post by drfrag »

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
_mental_
 
 
Posts: 3820
Joined: Sun Aug 07, 2011 4:32 am

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

Post by _mental_ »

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.
Post Reply

Return to “Closed Bugs [GZDoom]”