Bug ? Custom Skin not working

    Exozen

    C-D SOLDIER
    Joined
    Jul 7, 2013
    Messages
    151
    Reaction score
    230
    • Purchased!
    • Competition Winner - Small Fleets
    • Legacy Citizen 4
    I spent over 24 hours of work creating my first Starmade skin.
    Shown here:

    (Isn't it magnificent?)
    (I started off the skin with traid00_main_diff.png, is this why it won't work?)

    The files upload to the launcher's [modding > create custom skin] and the .smskin file is created without error, but when I load it and launch the game, I'll appear with just the default Dave skin.
    I've recreated and loaded Clone trooper and Space Marine skins that I downloaded just fine. As far as I can tell the only thing it won't load is my own. (I've repeated this about a dozen times and it seems to be biased only against my skin.)

    I've tried everything I could think of to get it to load, but I've had no such luck.
    Out of options and with nowhere to go, please help me, it would be a shame if my work was completely wasted for some unknown reason.
     

    kupu

    Colouring in guy.
    Joined
    Jul 4, 2013
    Messages
    1,405
    Reaction score
    1,560
    • Schine
    • Likeable Gold
    • Arrrty Gold
    Nice skin!

    I started off the skin with traid00_main_diff.png, is this why it won't work?
    Try renaming the files to;

    skin_main_diff.png
    skin_main_em.png
    skin_helmet_diff.png
    skin_helmet_em.png

    Then rebuilding your .smskin file using the Moddding > Create Custom Skin tool.
     

    Exozen

    C-D SOLDIER
    Joined
    Jul 7, 2013
    Messages
    151
    Reaction score
    230
    • Purchased!
    • Competition Winner - Small Fleets
    • Legacy Citizen 4
    Try renaming the files to;

    skin_main_diff.png
    skin_main_em.png
    skin_helmet_diff.png
    skin_helmet_em.png

    Then rebuilding your .smskin file using the Moddding > Create Custom Skin tool.
    I tried your suggestion and it sadly didn't work, but after another 3 hours of testing I think I've discovered the problem.

    I use GIMP 2.8 to create my textures, but since GIMP's native saving of files is only in .xcf, I have to [file > overwrite] or [file > export] to save and create .pngs.
    When I overwrite or export a texture (I don't even have to modify it) it somehow invalidates the file, and starmade no longer recognizes it. So far this has happened to any skin textures I feed into it.
     

    kupu

    Colouring in guy.
    Joined
    Jul 4, 2013
    Messages
    1,405
    Reaction score
    1,560
    • Schine
    • Likeable Gold
    • Arrrty Gold
    I tried your suggestion and it sadly didn't work, but after another 3 hours of testing I think I've discovered the problem.

    I use GIMP 2.8 to create my textures, but since GIMP's native saving of files is only in .xcf, I have to [file > overwrite] or [file > export] to save and create .pngs.
    When I overwrite or export a texture (I don't even have to modify it) it somehow invalidates the file, and starmade no longer recognizes it. So far this has happened to any skin textures I feed into it.
    :/ Strange. I don't use GIMP myself so i'm not sure how much i can help with that specifically, but i just downloaded it and exported a png file and it worked ok... your file however, didn't.

    You could try remove the alpha channel and export it again. Alternatively, you can use this one i fixed for you (and included a bleed so you have zero seams on the UV edges).

    Sorry i couldn't help diagnose the problem more, but at least you get your awesome skin working!

     

    Attachments

    Exozen

    C-D SOLDIER
    Joined
    Jul 7, 2013
    Messages
    151
    Reaction score
    230
    • Purchased!
    • Competition Winner - Small Fleets
    • Legacy Citizen 4
    :/ Strange. I don't use GIMP myself so i'm not sure how much i can help with that specifically, but i just downloaded it and exported a png file and it worked ok... your file however, didn't.

    You could try remove the alpha channel and export it again. Alternatively, you can use this one i fixed for you (and included a bleed so you have zero seams on the UV edges).

    Sorry i couldn't help diagnose the problem more, but at least you get your awesome skin working!

    oh wow, I think I'll take the one you fixed, thanks so much man!

    Edit: One Genetically Engineered Supersoldier ready to kick some xeno butt.
     
    Last edited:
    • Like
    Reactions: kupu
    Joined
    Jul 12, 2014
    Messages
    511
    Reaction score
    57
    • Purchased!
    • Legacy Citizen 5
    Hm, when exporting from Gimp, there's a settings dialog for all kind of options for the exported, in this case *.png, file that's created. It would be nice to know what settings are used for png's in StarMade, that'll probably solves the issue.

    Greets,

    Jan
     
    Joined
    Mar 18, 2014
    Messages
    292
    Reaction score
    153
    • Arrrty
    • TwitchCon 2015
    • Legacy Citizen 5
    I used GIMP to create my skin and don't remember having any issues. I saved the files included in your original post, and a skin created with them behaved exactly as you described (it uploaded but did not work). I then loaded each image into GIMP and re-exported to PNG format, and a skin created with the exported files worked. I did not remove the alpha channel from any of them.

    I suspect it is a difference in the export settings used, as Jananton suggested. The export options I used (as usual) are "Save background color", "Save color values from transparent pixels", and Compression level 9. In particular I imagine you'd want to turn off the interlacing option (though I do not know if your original images were exported that way).
     

    Exozen

    C-D SOLDIER
    Joined
    Jul 7, 2013
    Messages
    151
    Reaction score
    230
    • Purchased!
    • Competition Winner - Small Fleets
    • Legacy Citizen 4
    I used GIMP to create my skin and don't remember having any issues. I saved the files included in your original post, and a skin created with them behaved exactly as you described (it uploaded but did not work). I then loaded each image into GIMP and re-exported to PNG format, and a skin created with the exported files worked. I did not remove the alpha channel from any of them.

    I suspect it is a difference in the export settings used, as Jananton suggested. The export options I used (as usual) are "Save background color", "Save color values from transparent pixels", and Compression level 9. In particular I imagine you'd want to turn off the interlacing option (though I do not know if your original images were exported that way).

    Turned off interlacing and it works now, thanks man!