Closed Grimrukh closed 3 months ago
Will have to take a look. This looks like one of those places that was left as "bug to fix, we want to see these errors" rather than something we quietly ignore and never hear about.
As of 1.11 should log texture errors instead of crashing. Feel free to reopen if something else goes wrong as a result.
@Philiquaz I believe this issue was fixed in #901.
Also, about the GetPixelFormatFromFourCC
function: a few FourCC values are still missing (e.g. BC5S, which is used once in ER IIRC). I'm currently in the process of adding a new DDS decoder to a library, so feel free to copy what I do for converting FourCC to DXGI_FORMAT.
Edit: Damn, seconds too late :)
Currently, DSMS crashes if it encounters a texture with a DDS type it can't read, like BC5U (even though the game may support these). It would be great if these textures could at least just be ignored. Screenshot below.
Thanks for all the hard work gang <3