TheRealDjmr / BG3ImprovedUI

134 stars 132 forks source link

Class In-Game Icon Will Not Show after Following Tutorial #330

Closed juliandwillett closed 8 months ago

juliandwillett commented 8 months ago

Hello, I followed the tutorial to produce class icons: https://bg3.wiki/wiki/Modding:Modding_class_icons. I am producing DDS files using Photoshop through the Intel Texture Works extension, exporting as BC3 (Linear) while auto-generating mip maps. I am having an issue where the icon will not load. Somewhere through all the debugging, I do have one icon that appropriately loads, but I cannot figure out the exact settings or circumstances where I made it work. I think I used Nvidia for that, minimally playing around with the settings, but I cannot recall.

What I have tried (none have worked): produce a DDS file using BC3 compression/linear from a JPG image using Photoshop (attempted using both Intel Texture Works export and Nvidia Texture export), GIMP, Nvidia Texture Works export alone. I also tried different size textures. None of them work. Loading custom icons does work for both the hotbar and regular ClassIcon folder, both using icons from the Alternate Monk class and with that icon I mentioned that worked. I would appreciate guidance on figuring this out (it is holding me up). I've attached the file that works and a file that does not work. Files.zip

juliandwillett commented 8 months ago

I have also tried the code from this forum, commented by Laughing Leader, using nvcompress

nvcompress -alpha -bc3 Image.png Image.dds

juliandwillett commented 8 months ago

I also tried producing the DDS file using Paint.net, so using the suggested export settings verbatim. That also did not work.

juliandwillett commented 8 months ago

For those seeking a solution, the tutorial is good. You need to change the lowercase dds extension to all capitals (DDS) for it to be properly read by the game.