wesleyjohnson
Member
Posts: 447
Registered: 04-09 |
Catoptromancy said:
Boom loads flats from flat list between markers. FLAT5_2 is a flat on Map21. It is nowhere a patch on Map21. If Legacy loads the patch instead of a flat, then Legacy is not Boom compatible.
Well.. Legacy can follow the Boom spec (2.02), but cannot do exactly everything that a particular Boom engine did, without being nothing more than a copy of that engine.
None of the ports access the WAD file in real-time. They all load the WAD into internal data structures. Those internal data structures are very implementation dependent, so there is no point in discussing how any particular engine uses them. The problem is how to interpret the F_START and F_END in the context of the IWAD and PWAD that used and abused them. The indexes that a port implements to search the name space are not created at level read time, but are created at first read of the wad, or pwad, so it makes little difference if a patch appears in a level, the name space is corrupted for all.
It appears, based upon how it reacted to a F_START in a PWAD, that original doom reacted to F_START by destroying any existing flat data (init or something). The newer ports do not do that, and can load PWAD flats individually. The original use of F_START has been weakened, .. so what functionality does it still have?
Q5. This forum has many members that write wads, so do any of you actually use the same name for a flat and a patch. If so, then that is a good reason to have separate name spaces for patches and flats.
Then the F_START defines the change to the "flat" name space. If not, then there is really no good reason to rush out and make separate name spaces for them.
Q6. If a separate name space for flats were enforced, and flat appearances in a level only searched the "flat" name space, then how would the PWAD without a F_START work. Flat names in such a pwad would not get entered in the "flat" name space, and where they ended up would be implementation dependent. With F_START missing in such PWAD then it cannot define the change to the "flat" name space.
As far as regression testing, it seems that the Doomworld archives are a regression test. So far I have about 30% failure rate on wads downloaded from Doomworld, some due to needed ZDoom or some other specific port, some which should work but have wad inconsistency failures (specific messages of a name not found). I am buried in regression test failures.
Last edited by wesleyjohnson on 06-08-09 at 22:06
|