QOI textures cause the game to crash when used.

Is there something that doesn't work right in the latest GZDoom? Post about it here.

Moderator: GZDoom Developers

Forum rules
Please construct and post a simple demo whenever possible for all bug reports. Please provide links to everything.

If you can include a wad demonstrating the problem, please do so. Bug reports that include fully-constructed demos have a much better chance of being investigated in a timely manner than those that don't.

Please make a new topic for every bug. Don't combine multiple bugs into a single topic. Thanks!
User avatar
sergeirocks100
Posts: 49
Joined: Wed Mar 25, 2020 9:17 am
Graphics Processor: ATI/AMD with Vulkan/Metal Support

QOI textures cause the game to crash when used.

Post by sergeirocks100 »

Hello.

As far as i can tell, QOI textures crash the game when you attempt to use them, even though they're supposed to be supported.

I've tested it out on a variety of GZDoom versions, from 4.11.0 (when QOI texture support was first added), all the way up to 4.12.2, and in all of them, the game crashes with a "Trying to create zero size texture" error when you try to load a map that uses QOI textures.

Here's a demo link:

https://amel.pw/trevie/qoibug.pk3

In the demo, there are two test maps with PNG and QOI versions of the same two textures.

One of them is a simple texture i made in GIMP, and converted to QOI with ImageMagick. The other is kodim23.png/.qoi, from the test image set provided on the QOI website:

https://qoiformat.org/qoi_test_images.zip

Aside from the different format of the textures, both of the maps should look and behave identically to one another.

However, while the PNG test map opens up and works as expected, the QOI test map, again, causes the game to crash with the above mentioned error.

Return to “Bugs [GZDoom]”