"The file '......' is not a supported image type"???
BeigeAlert
Texas Join Date: 2013-08-08 Member: 186657Members, Super Administrators, Forum Admins, NS2 Developer, NS2 Playtester, Squad Five Blue, Squad Five Silver, NS2 Map Tester, Reinforced - Diamond, Reinforced - Shadow, Subnautica Playtester, Pistachionauts
in Modding
Comments
Here's what happened: I've exported the diffuse, normals, and spec maps. Diffuse has no alpha. Normals has no alpha (of course not...), and spec DOES have an alpha channel (for glossy map).
All the PSDs are accepted except the spec map. So I open up the spec map, and the normal map in photoshop. I copy over the image from the spec map to the normal map, add the alpha channel to the normal map (and rename it from "Alpha 1" to "Alpha", then save the normal map as the spec map. It doesn't like this. I change the specular map to be grayscale and alpha. It doesn't like this. I delete the spec map (after making a copy on the desktop). I copy the normal map file, and rename it to be the spec map. Builder likes this. I add the glossy map to the alpha channel of this new "spec map" (remember, it's still a bluish normal map, not really a spec map, but now with the alpha channel". I rename the alpha channel "Alpha" (again, from "Alpha 1". Builder doesn't like this. "AHA!" I think... it doesn't like me using an alpha map... but why? I'm supposed to be able to! Then I remember the time where this happened to me before, and that I HAVE gotten alpha channels to work in the past when I was making a custom level material (with those, the spec map is grayscale, and shoved into the alpha channel of the diffuse/albedo map). So I try the old copying... renaming... Suddenly builder likes it. I notice I haven't renamed the alpha channel, and left it at "Alpha 1". AHA! It must not like me renaming the channel. Just for grins, I try renaming it to "Alpha". Builder likes it. WHAT THE WHAT THE WHAT THE HELL????????
Come to think of it... I did "rebuild" that last time when it started working, instead of "build"... hmmm... is builder "remembering" a little more than it should be?
AHA!!!!!!
It crossed me once more, but I was prepared! AHAHAHAHAHAAAA! REBUILD is the answer!
YOUR CORPSE SHALL BE MY FOOT-REST, BUILDER!!!!!!!!!!!!!
Apparently not, seems to work either way... but only when it feels like it.
EDIT: Okay jokes aside, I think I know what's going on... sort of. If it gives you this error once (not sure the cause of THIS) then it'll KEEP giving you this error on every "build" until you either A) do "rebuild" or clear out your "output" folder.
You MUST flatten your image when you save, simply un-checking the "layers" box when saving the PSD does NOT do this apparently...