'null' in SBARINFO stops loading

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
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

'null' in SBARINFO stops loading

Post by Ed the Bat »

Lizard Squad v5.2, released in December 2013, no longer works in GZDoom (still true as of Jan 1 dev builds). I made brief mention of the issue here: http://forum.zdoom.org/viewtopic.php?f= ... 50#p961644

SBARINFO uses 'null' when 'untranslated' would have been the correct term. I will not deny this is a modding error/oversight, but up until (I presume) the introduction of ZScript, this did not prevent the mod from launching. Now:

Code: Select all

Execution could not continue.

Script error, "lizardsquad-v52a.zip:lizardsquad.wad:SBARINFO" line 66:
Expected identifier but got 'null' instead.
...which I suppose would qualify as a ZDoom regression.

If this isn't something that can be fixed engine-side, I can certainly release a hotfix. I just wanted to check first if that's something I would need to do.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: 'null' in SBARINFO stops loading

Post by Graf Zahl »

This was caused by 'null' becoming a keyword. The SBARINFO parser is rather lax and treated any unknown color name as 'untranslated' instead of throwing an error. That's why 'null' got through. But now that it is a separate token type it needs special handling.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: 'null' in SBARINFO stops loading

Post by Ed the Bat »

I had a feeling it was something like that. I guess all I really need to know is, will I need to put out a hotfix for the mod to cover this? It's no trouble, but I won't do it if it's not necessary.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49067
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: 'null' in SBARINFO stops loading

Post by Graf Zahl »

Hotfix, no, but if you plan a new release it would be better.
User avatar
Ed the Bat
Posts: 3060
Joined: Thu May 03, 2012 1:18 pm
Graphics Processor: nVidia with Vulkan support
Location: Maryland, US
Contact:

Re: 'null' in SBARINFO stops loading

Post by Ed the Bat »

It'll be up to LizardCommando, but I'll bring the idea to him. There could be some other improvements in the mod I'd like to pitch to him, and I'd be sure to update the SBARINFO to do things correctly (and silence the truncation warnings while I'm at it).
Gez
 
 
Posts: 17835
Joined: Fri Jul 06, 2007 3:22 pm

Re: 'null' in SBARINFO stops loading

Post by Gez »

This also affects the PSX Doom TC.
Post Reply

Return to “Closed Bugs [GZDoom]”