Odd MetaDoom Language Crash

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
Kinsie
Posts: 7401
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Odd MetaDoom Language Crash

Post by Kinsie »

I've only been able to witness this in my own mod, so I'm not sure if it's my fault or an engine bug. Regardless, here it goes.

REPRODUCTION STEPS:
  • Load The Ultimate Doom with MetaDoom loaded.
  • Go to E1M4.
  • Set your language to something other than English
  • Open the secret to your left, and step inside.
  • Watch as a Very Fatal Error is triggered for some reason.
Another modder suggests that adding a replacement SECRETMESSAGE string to my mod's LANGUAGE lump fixes the crash, which is curious...

EDIT: Apparently also effects other center-print messages?
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Odd MetaDoom Language Crash

Post by _mental_ »

GZDoom doesn't crash for me with the current master. Although, it doesn't output secret message text correctly in some languages. For example, only exclamation mark is printed in Russian.
This seems to be caused by a font substitution. I'm not sure how this suppose to work to be honest. Certainly, it shouldn't crash, so there is no workaround needed on mod's side.
User avatar
Kinsie
Posts: 7401
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Odd MetaDoom Language Crash

Post by Kinsie »

Hmm, I tested using the latest DRDTeam devbuild and still got the crash.

If it's some fuckup with the current custom font I'm using (basically a smallfont with capitalization) than I guess I'll have to figure out some way around that.
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: Odd MetaDoom Language Crash

Post by _mental_ »

Regardless of crash, missing characters need to be fixed engine side. Especially, if this leads to a crash.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49071
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: Odd MetaDoom Language Crash

Post by Graf Zahl »

The crash is caused by the redundant and pointless redefinition of SMALLFONT in the FONTDEFS lump. This very efficiently kills the default font needed for localization and skips important parts of default font initialization. Remove that part and everything will work again.
User avatar
Kinsie
Posts: 7401
Joined: Fri Oct 22, 2004 9:22 am
Graphics Processor: nVidia with Vulkan support
Location: MAP33
Contact:

Re: Odd MetaDoom Language Crash

Post by Kinsie »

Thanks, I figured I messed up in some way. Fixed my side as well.
Post Reply

Return to “Closed Bugs [GZDoom]”