Page 1 of 1

Custom Skies (Solved)

Posted: Wed Aug 31, 2011 8:29 am
by hunpeter12
I'm trying to add a custom sky to my map, one of the skies mentioned in this topic: forums/viewtopic.php?f=64&t=14481
I change the name of my sky to sky_yav2.tga. Then I munge, and this mungelog pops up:
Hidden/Spoiler:
ERROR[PC_texturemunge world1\sky_yav2.tga]:Targa type 10 not currently supported.
ERROR[PC_texturemunge world1\sky_yav2.tga]:Targa type 10 not currently supported.
[continuing]
2 Errors 0 Warnings
Ingame the sky is black.
What is this, and what is the normal size of a sky image?

Re: Custom Skies

Posted: Wed Aug 31, 2011 10:04 am
by Executer94
Show us your 3lettername.sky file in your world1 folder.

Re: Custom Skies

Posted: Wed Aug 31, 2011 10:25 am
by Noobasaurus
Did you uncheck RLE Compression?

Re: Custom Skies

Posted: Wed Aug 31, 2011 11:41 am
by Tears2Roses
Noobasaurus wrote:Did you uncheck RLE Compression?
"Targa Type 10 currently isn't supported errors" are cause by RLE compression. To fix this, open your image with Gimp ( right click on the image and click "edit with Gimp" ) If you don't have gimp, you can download it HERE. Anyways, now that you have your image open in gimp, you will want to click file, at the top left of the screen. From there, find Save As, and click it. A window will pop up. Hopefully, your sky file is already saved in the right place. If it is not named correctly you can re-name it in the name field, top left corner of the window. When your done click save at the bottom left corner. If it is named correctly another window should pop-up asking you if you want to replace the image. This puts your new image in place of the old image. Click replace. Another window window pop's up. It should be small. In the top left corner, there is a box with a check mark that says RLE compression beside it. UN-CHECK that box. The origin is un-important, leave that. Then click save. Those 3 windows will close. Now you can close out of gimp. Munge, and see if that didn't fix your problem :mrgreen: The normal screen size of a sky shouldn't matter ( if you dont have any errors that mention sky size ) but I think the normal size of the sky must be a power of 2. I wouldn't bother re-sizing it at the moment.

Oh and, welcome to gametoast!

Re: Custom Skies

Posted: Sun Sep 04, 2011 11:34 am
by hunpeter12
Thanks, I forgot it.

EDIT: I have a problem: I made my sky image to be 512x255 pixels like the stock Yavin sky.
But in my MungeLog it says:
ERROR[PC_texturemunge world1\Sky1.tga]:
TextureMunge(sky1:512x255x1): Must have power of two dimensions!
ERROR[PC_texturemunge world1\Sky1.tga]:
TextureMunge(sky1:512x255x1):
Must have power of two dimensions!

Any help?

Re: Custom Skies

Posted: Sun Sep 04, 2011 2:07 pm
by DarthD.U.C.K.
this means that your resolution is wrong, all numbers have to be a powr of two (2,4,8,16,32,64,128,256,512,1024 etc).

Re: Custom Skies

Posted: Sun Sep 04, 2011 2:55 pm
by hunpeter12
Me fool I thought that 255 is the power of two not 256!!!!

Thanks for your help!