Skip to content
#3957
Auto-translated
}{0TT@6bI4
Hello! If we rule out the possibility of a corrupted Icon.xdb file, then you still have an incorrect path to the texture. Can you write what print(Icons.."Podkreplenie.(Texture).xdb#xpointer(/Texture)") outputs and try specifying an absolute path?

Did I understand correctly that you meant my icon file is corrupted, and not something else?
I don't know how much this proves that the file is not corrupted, but after I rewrote the path a couple of times, I tried placing the file as a character icon. As a 128x128 icon, it works. Regarding the path, I tried simply writing the full path, but it didn't work: "Maps/Multiplayer/JoyPatriot/Portret/Icons/Podkreplenie128x128.(Texture).xdb#xpointer(/Texture)"

And this is how the path is defined in Icons = GetMapDataPath()..'Portret/Icons/';

print(Icons.."Podkreplenie.(Texture).xdb#xpointer(/Texture)") -- thumbnail = "Maps/Multiplayer/JoyPatriot/Portret/Icons/Podkreplenie128x128.(Texture).xdb#xpointer(/Texture)"

Attachments 1
1 file attached • Total size: 4.7 KB