[g3.8pre-251-g4eea540a3] TITLEMAP loading issues

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
Marisa the Magician
Posts: 3886
Joined: Fri Feb 08, 2008 9:15 am
Preferred Pronouns: She/Her
Operating System Version (Optional): (btw I use) Arch
Graphics Processor: nVidia with Vulkan support
Location: Vigo, Galicia
Contact:

[g3.8pre-251-g4eea540a3] TITLEMAP loading issues

Post by Marisa the Magician »

If a TITLEMAP doesn't have an entry in MAPINFO, GZDoom just goes to a full console with this message:

Code: Select all

Unable to open map ''
Here's a barebones wad to trigger it (dunno why I even bothered to make it when it's something so trivial).

This bug doesn't appear in 3.7.2 and earlier.
User avatar
Kappes Buur
 
 
Posts: 4114
Joined: Thu Jul 17, 2003 12:19 am
Graphics Processor: nVidia (Legacy GZDoom)
Location: British Columbia, Canada
Contact:

Re: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

Post by Kappes Buur »

I just installed GZDOOM- g3.8pre-238, same issue.
Spoiler:
GZDOOM- g3.8pre-83 works ok.
Spoiler:
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

Post by Graf Zahl »

If you take a closer look at the level loading code this won't come as a surprise.
This was a mess in the original Doom code already, but when ZDoom got extended to use MAPINFO it was made ten times worse, because the new features got tacked on in the same bad style. The level name gets passed through several variables, some local, some global, some in external structs and if not all of the volatile assumptions being made here match up - boom...
_mental_
 
 
Posts: 3812
Joined: Sun Aug 07, 2011 4:32 am

Re: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

Post by _mental_ »

I think we can load several levels without MAPINFO entries at the same time. Is it OK that the default level info will shared between them? Map name will be overwritten of previous maps that use the default level info.
User avatar
Graf Zahl
Lead GZDoom+Raze Developer
Lead GZDoom+Raze Developer
Posts: 49056
Joined: Sat Jul 19, 2003 10:19 am
Location: Germany

Re: [g3.8pre-251-g4eea540a3] TITLEMAP loading issues

Post by Graf Zahl »

No, if multiple maps without a level info get loaded they need to be synthesized and added to the global array of level infos. But I'll make sure that this cannot be done, once multiple levels get enabled - anything that wants to do something here will have to refer to a MAPINFO entry.
Post Reply

Return to “Closed Bugs [GZDoom]”