I found another blockmap loading problem. This time in Nova II: New Dawn:
https://www.doomworld.com/idgames/levels/doom2/Ports/megawads/nova2
Map 32 does not load in Legacy:
| $ doomlegacy -game doom2 -iwad doom2.wad -file NOVA2.wad -warp 32
| [...]
| Error: Bad blockmap offset[4]= CB2.
Fails with:
Doom Legacy 1.48.0 (rev 1476)
Works with:
PrBoom-Plus v2.5.1.4
Tested on NetBSD/amd64.
Legacy fails on Linux/ppc too, likely not an endianess problem.
Deferred for now, due to much other work-in-progress.
Need more people to investigate these things.
Nova II Map 32 triggers two issues:
1) It uses extended nodes (see Feature request #95)
2) The blockmap import problem described above
I have created Feature Request #96 as workaround for issue 2.
If the blockmap is created internally (with "-blockmap"), the map can be played.
It is still unclear if the blockmap of Map 32 is not imported correctly, or broken, or has hit the limit of the WAD format and was truncated (broken too, lump should be empty in this case).
blockmap capability added
Please retest.
Internal blockmap generation works.
Can be closed.
Blockmap generation added and tested.
It does have some of the same faults as other blockmap generation programs.
Additional work on blockmap improvements will need to start a new bug report.