Menu

#246 Sky textures in PNG format crash the engine

v2.2.6.*
open
nobody
None
5
2017-01-15
2017-01-13
No

Hi Andrey,

reportedly, PrBoom+ crashes with PWADs that have Sky texture lumps in PNG format, e.g.
https://www.doomworld.com/vb/post/1654792
https://www.doomworld.com/vb/post/1685876

For an example, download this WAD, load it in PrBoom+, warp to MAP02, go along the corridor and through the door in front of you and then head right:
https://www.mediafire.com/?0pb6do92zzzl2sb

I am not quite sure if this is a regression or not, but I am sure that it was once possible to properly load Sky texture flats in PNG format. Please note that this happens regardless of software or OpenGL renderer being active.

Cheers,

  • Fabian

Related

Bugs: #246

Discussion

  • Fabian Greffrath

    But it should be possible to identify them as PNG graphics (2nd to 4th byte read 'PNG' in PNG graphics) and give them the right treatment even if they are not enclosed between HI_START and HI_END markers?

     

Log in to post a comment.