• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Kindseal

Recruit
May 24, 2022
5
0
I wanted to make a new kind of preset and I found that this place need a text icon.
I tried using the same way as vanilla, but I still couldn't get my text icon to finally appear.

QQ图片20220524224631.png

1653429083096.png

1653429178954.png

I also tried naming the file explicitly as text_icon_preset_uf_subject, but it still didn't work.
Finally, I removed the vanilla interface code because I wanted to see the bulwrk key, but it ended up showing a '? instead of the code
1653429255769.png


So, is this a hard code?
 

Ryika

Field Marshal
52 Badges
Apr 16, 2018
2.755
8.175
When the ? icon shows up instead of a dds and the path is correct, then it's usually because the texture has the wrong format, since not all DDS subformats are recognized everywhere.
/edit: This isn't even true, no idea how I came to that conclusion.

Text icons in this case are 8.8.8.8 ARGB.

There are probably a few alternatives, but an easy way to see what format any existing dds texture has is to use Nvidia's Windows Texture Viewer that is available here:
 
Last edited: