zexlr8er / Wazzal_II

Wazzal II: The Final Dawn mod for Notrium
http://www.instantkingdom.com/forum/viewtopic.php?t=823
9 stars 2 forks source link

bar.tga is a PNG #89

Open Enet4 opened 6 years ago

Enet4 commented 6 years ago

While tinkering with OpenNotrium, I found out that loading images for textures with a file extension that doesn't match the image format will fail (often with unfortunately unpredictable outcomes). Well, it turns out that Wazzal II has one such a case:

file textures/Wazzal\ II/bar.tga 
textures/Wazzal II/bar.tga: PNG image data, 32 x 32, 8-bit/color RGBA, non-interlaced

While converting this image to a Targa file would work, I think ideally we should get rid of this image and tweak the mod files accordingly, since it appears to be the same as the default bar.png. Although I can't work on this right now, I might pick this up if you would like to. :)