ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   AddOn Help/Support (https://www.esoui.com/forums/forumdisplay.php?f=164)
-   -   Creating custom icons for OdySupportIcons (https://www.esoui.com/forums/showthread.php?t=10274)

casusfere 07/14/22 10:20 PM

Creating custom icons for OdySupportIcons
 
Hi all! I'm trying to create a pack of custom icons to use with OdySupportIcons, and I'm floundering a bit. Can anyone share the guidelines for the icon files?

I know that the images dimensions need to be a power of 2, so my files are 64x64, and i know the file type is .dds.

However, only some of my icons are actually showing. Of six icons I've tried to add, only three actually show. The others just show as empty space. I don't think I've done anything differently between the files, but I'm not sure what the actual file requirements are. Should my files use mipmaps? Is there a specific format of .dds I should be using? I'm creating the files in GiMP.

Baertram 07/15/22 01:43 AM

Maybe this helps:
https://wiki.esoui.com/Texture_List#...own_.dds_files

If the images are just white check the file path used if it's correct, starting with the addon name/subfolder/filename.dds

If the files do not show at all the format is wrong (yes they use mip maps afaik) or the texture cache is old.
Reformat the textrues like described above at the link -> forum link https://www.esoui.com/forums/showthr...highlight=.dds
And / Or try to logout and reset the texture cache file live/shader_cache.cooked and after login the textures get new created/cached.

Please keep in mind that creating any offending or unethic textures and releasing it to the public is nothing we should do.
I'm not saying you will do that, it's just a reminder in general.

casusfere 07/15/22 10:28 PM

Thanks for the response! I read back through that link (and see that it actually DOES tell me which compression to use, yay!) but after saving the file in the DXT5 compression, deleting the shader_cache.cooked and launching, I have no change. three of my icons show, and two are invisible. The link suggest that means there's something wrong with my format, but I'm not sure what; since some of my files work fine and some don't, and I'm exporting all of them with the same settings.

I also tried renaming the files.

For content, no worries, they're all a bunch of silly cartoon guars and similar.

casusfere 07/15/22 10:52 PM

Ah-ha! I figured out the issue, and it was silly!

I cropped and scaled the images to 64x64, but the .dds file I got was not always 64x64, except when the image happened to touch all sides. Some fiddling with sizes has resulted in icons!

Thanks again!

Baertram 07/16/22 05:03 AM

You are welcome, glad you found the reason.
For others, as information:
If I sum up the past errors 50 percent happened because of no proper texture width/height (must be dividable by 4).

andy.s 07/16/22 05:24 AM

I don't know where this "power of 2" requirement originates from, but DDS format works for any sizes that divide by 4, otherwise making spritesheets for animations would be more problematic.

Baertram 07/16/22 07:52 AM

Hm, the wiki says ESO .dds files need to be dividable by 8:p
Well I guess 4 or 8 works then

andy.s 07/16/22 07:53 AM

Quote:

Originally Posted by Baertram (Post 46357)
Hm, the wiki says ESO .dds files need to be dividable by 8:p
Well I guess 4 or 8 works then

12x12 file works, so I trust my rich experience with icons more :D

Baertram 07/16/22 09:51 AM

Yep, for sure. Thanks, will update the wiki.


All times are GMT -6. The time now is 02:34 PM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI