You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading surf_gekar.bsp for CS:S (https://filebin.net/i227rn0ll2y9cggh), the map fails to load, with an error of "Some lumps are overlapping."
There appears to be nothing wrong with the code to parse as lumps do overlap in this file, according to the header. The bad lump is Worldlights, overlapping by 2 bytes with Entities:
However - when removing CheckOverlapping(), all the entities parse correctly, and the lighting still looks correct ingame, which leads me to believe that files with overlapping lumps might be okay to just continue (and print a warning to console) rather than stopping inside ReadHeader(), but I'm not sure if this generalises to other maps.
The text was updated successfully, but these errors were encountered:
When loading surf_gekar.bsp for CS:S (https://filebin.net/i227rn0ll2y9cggh), the map fails to load, with an error of "Some lumps are overlapping."
There appears to be nothing wrong with the code to parse as lumps do overlap in this file, according to the header. The bad lump is Worldlights, overlapping by 2 bytes with Entities:
Read lump Entities (0) offset: 23414781 length: 127122 (end = 23541903)
Read lump Worldlights (15) offset: 23541901 length: 21208
However - when removing CheckOverlapping(), all the entities parse correctly, and the lighting still looks correct ingame, which leads me to believe that files with overlapping lumps might be okay to just continue (and print a warning to console) rather than stopping inside ReadHeader(), but I'm not sure if this generalises to other maps.
The text was updated successfully, but these errors were encountered: