View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000402||Gameplay + OpenGL||[All Projects] Bug||public||2017-03-07 22:10||2017-03-08 12:04|
|Summary||0000402: Replacement IWADs that don't replace menu graphics cause fatal error on MENUDEF parse|
|Description||If you try to run an IWAD replacement (that isn't coded into the engine as such, but depends on being loaded with '-iwad' or via another game file's gameinfo IWAD section), GZDoom still parses the default MENUDEF for that game type and throws a fatal error if the image lumps aren't found.|
Specific use case:
The Wolf3D TC bombs out with an error message... It contains a MAP01 placeholder lump that causes the engine try to load the IWAD as doom2.wad when you run 'gzdoom -iwad .\Wolf3D.pk7'. In the past this worked with no issue.
"Execution could not continue.
Script error, "gzdoom.pk3:menudef.txt" line 42:
Unknown texture M_DOOM"
|Steps To Reproduce||Try to run the Wolf3D TC. |
Load the attached .pk7 with -iwad... It should dump you to a menu with an ugly title graphic over a missing titlepic if it loads properly, since it's essentially empty, but generates the same load error in current GZDoom (ge5a3d22).
The "IWAD" is detected as doom2.wad, GZDoom tries to parse the default doom2 menudef entry, then errors out.
|Tags||No tags attached.|
Menudef_Error.pk7 (4,100 bytes)
It's a trivial task to change this back to a warning.
But first take a look related conversation here.
You need to convince Graf to make the error a warning again ;)
The main problem here is not that the texture is missing but that one of the base games needs to be set, even for a completely standalone mod and that its associated menu content is parsed from gzdoom.pk3.
Of course this can be reduced to a warning but ideally the engine should know that the internal menu is not needed and skip its validation entirely
|2017-03-07 22:10||AFADoomer||New Issue|
|2017-03-07 22:10||AFADoomer||File Added: Menudef_Error.pk7|
|2017-03-08 02:03||_mental_||Note Added: 0000908|
|2017-03-08 03:17||Graf Zahl||Note Added: 0000909|
|2017-03-08 12:04||Graf Zahl||Status||new => resolved|
|2017-03-08 12:04||Graf Zahl||Resolution||open => fixed|