Situation:
- I'm trying to load wad with DEHACKED lump that replaces some strings (I have a reason not to use LANGUAGE lump for this). Example of my wad is in an attachment.
- I want to load my wad with Back To Saturn X E1. It works:
Everything is OK. But:
Code: Select all
gzdoom -iwad doom/DOOM2.WAD -file btsx/e1/btsx_e1a.wad btsx/e1/btsx_e1b.wad ~/tmp/dehacked-could-not-load-deh-support-data.wad ... DecalLibrary: Load decals. Adding dehacked patch btsx_e1a.wad:DEHACKED Patch installed Adding dehacked patch dehacked-could-not-load-deh-support-data.wad:DEHACKED Patch installed M_Init: Init menus. ...
- I want to load my wad with Back To Saturn X E2. It doesn't work:
Interesting note 1: there is no errors if I load BTSX E2 without my wad:
Code: Select all
gzdoom -iwad doom/DOOM2.WAD -file btsx/e2/btsx_e2a.wad btsx/e2/btsx_e2b.wad ~/tmp/dehacked-could-not-load-deh-support-data.wad ... DecalLibrary: Load decals. Adding dehacked patch btsx_e2a.wad:DEHACKED Patch installed Adding dehacked patch dehacked-could-not-load-deh-support-data.wad:DEHACKED Script error, "gzdoom.pk3:dehsupp.txt" line 325: Invalid state range in 'CommanderKeen' Could not load DEH support data M_Init: Init menus. ...
Interesting note 2: if I load DEHACKED lump separately with -deh, there is no errors:Code: Select all
gzdoom -iwad doom/DOOM2.WAD -file btsx/e2/btsx_e2a.wad btsx/e2/btsx_e2b.wad ... DecalLibrary: Load decals. Adding dehacked patch btsx_e2a.wad:DEHACKED Patch installed M_Init: Init menus. ...
Maybe because of DEHACKED load order?Code: Select all
gzdoom -iwad doom/DOOM2.WAD -file btsx/e2/btsx_e2a.wad btsx/e2/btsx_e2b.wad -deh ~/tmp/dehacked-could-not-load-deh-support-data.deh ... DecalLibrary: Load decals. Adding dehacked patch /home/allkromm/tmp/dehacked-could-not-load-deh-support-data.deh Patch installed Adding dehacked patch btsx_e2a.wad:DEHACKED Patch installed M_Init: Init menus. ...
It seems that the main difference between DEHACKED lumps in E1 and E2 is that E2 redefines Thing 25 (Commander Keen).
The questions are:
- If gzdoom.pk3:dehsupp.txt and btsx_e2a.wad:DEHACKED somehow conflict on Commander Keen, why there is no error without loading second wad with DEHACKED lump?
- Why loading harmless mod with DEHACKED containing only [STRINGS] causes and error to appear that is not even in mod's file?