Torchmodders

Modding => Modding Questions => Topic started by: Phanjam on August 26, 2014, 08:38:05 am


Title: [ART] .DDS vs .PNG
Post by: Phanjam on August 26, 2014, 08:38:05 am
A question about some weird behavior of image files in GUTS...

I made some art assets for skill-tree tabs and saved them in the same .DDS format as the other HUD images (DXT5 compression option). I make the .IMAGESET file, then go into GUTS to make sure they show up as image options. They do not show.

So I convert the same image to .PNG and revise the .IMAGESET file to point to the converted file. Check it in GUTS and now it shows up.

So I start TL2 to check it in-game. The skill-tree tabs are completely blank.

I figure seeing it in GUTS tells me the location coordinates in the .IMAGESET file are not the problem, but NOT seeing it in-game tells me the image format is the problem. So I switch the image and the .IMAGESET file back to .DDS. Checked GUTS, couldn't see it. Started TL2 and there they were nice as you please.

I did get it to work, so it's not actually a problem. But would anyone know what might be causing the weird behavior described above? It would just save quite a bit of time if I didn't have to do the conversions and checking / re-checking...
Title: Re: [ART] .DDS vs .PNG
Post by: Anarch16sync on August 26, 2014, 08:49:53 am
Well, I think you need to have both, the .PNG for the preview in guts, and the .DDS for them to work. And the imageset should point to the .DDS.

Sometimes the GUTS preview will screw up the PNG scale, but the art in game works well as long as the names and the coordinates in the imageset are good, I haven't nailed down why that happens yet.
Title: Re: [ART] .DDS vs .PNG
Post by: gytfunke on August 26, 2014, 12:23:46 pm
Well, I think you need to have both, the .PNG for the preview in guts, and the .DDS for them to work. And the imageset should point to the .DDS.

Sometimes the GUTS preview will screw up the PNG scale, but the art in game works well as long as the names and the coordinates in the imageset are good, I haven't nailed down why that happens yet.

Yup.
Title: Re: [ART] .DDS vs .PNG
Post by: RnF on August 26, 2014, 12:39:27 pm
Also make sure you save your PNG file as interlaced, or whatever its called.
Title: Re: [ART] .DDS vs .PNG
Post by: Phanjam on August 30, 2014, 03:20:13 am
Okay thanks very much guys  ;D
Title: Re: [ART] .DDS vs .PNG
Post by: Salan on September 08, 2014, 12:51:30 am
I hate how my PNG is always out of scale in guts.. meh