Jump to content

Home

.tga requirements


nisk

Recommended Posts

It's quite strange.

 

The 32-bit TGA format contains 24 bits of color data and 8 bits of transparency data.

 

Color support ranges from black and white, indexed and RGB colour.

 

I suspect that KOTOR treats them as 24-bit images. A 16-bit image will be up-graded to a 24-bit image while a 32-bit image will be down-graded to a 24-bit image.

 

This would explain the quality degredation.

 

Have you discovered something different?

Link to comment
Share on other sites

I haven't noticed any degradation but then I haven't been looking for any. I'm working off the existing textures and I blow up those textures to at least twice their size to work with and I usualy leave them there. So any loss would have to be significant before I noticed. And I haven't.

Link to comment
Share on other sites

I would be grateful if someone would try this:

 

- Use KOTORtool to "write" an armor tga.

- without modifying it,

- save it in override as a 24 bit tga and check it out ingame.

- save it in override as a 32 bit tga and check it out ingame.

 

let me know if the texture is degraded at all.

 

Thanks

Link to comment
Share on other sites

OK I don't know as much about texture editing as you guys, but I do know how to save a file :)

 

I used photshop 7. I don't know if I did something but the 24bit looks like garbage. It probly is becaue of the transparency

 

24_bit

32_bit

 

I don't know why it did this but this is with KT and HK's texture selected while in game.mesed up 32.bit

 

To be fiar though I also tested the blue Madalorian armor and Powered light battle armor.

 

 

normal MAND

24 bit MAND

32bit MAND

again maybe it's me but 32bit presurves the texture

 

and here is the Powered armor

normal

24bit

32bit

 

With this one I can't see any differance. It must just affect the textures that use are transparent.

Link to comment
Share on other sites

Now is that bizarre or what?

 

I've tried saving with alpha channels and without, 24 or 32 and the results are the same.

 

I'm kind of at a loss here. If the TGA is fully retextured I haven't seen a problem with degradation, but if you were to just retexture the metal portions like with the cam armours I've done the metal portions are fine but the clothing underneath is crap.

 

I've tried exporting through PSP8 with the same results.

 

Two other packages leave me with the same impression of this game. They will only export these TGAs with 24bit max. Upon inserting these TGA's into the game, they perform like 32bit versions saved from PhotoshopCS. I'm quite convinced that the game converts the 32bit versions to 24bit ingame - a not uncommon practice.

 

That still leaves me with the same problem however.

Link to comment
Share on other sites

RGB/8bit = 24bit. [/b]

 

 

+ 8 bit alpha ......I have been a graphic artist for 7 years and I know photoshop very well thank you. All the way back when it was called photoshop 3.

 

just a question Suchan271 but are you extracting from the swpc_tex_tpa.erf high res texture pack?

Link to comment
Share on other sites

Sorry I’m busy working in Photoshop on skins (as always :D ) and a little lazy at the moment.

 

Straight form Photoshop help:

Targa format supports 16-bit RGB images (5 bits x 3 colour channels, plus one unused bit), 24-bit RGB images (8 bits x 3 colour channels), and 32-bit RGB images (8 bits x 3 colour channels plus a single 8-bit alpha channel). Targa format also supports indexed-colour and grayscale images without alpha channels. When saving an RGB image in this format, you can choose a pixel depth and select RLE encoding to compress the image.

 

Don’t use any compression, as it might not work in the game

 

The only things I can think of is you have used the RLE compression or your playing with the medium texture pack. Or have extracted from the medium texture pack?

 

If you have changed the image mode to index colour you would get the nasty degredation on that pic of carth i think it is.

 

“that’s all that I can think of at the moment….”

 

“ never mind”

 

“you got it”

Link to comment
Share on other sites

Yeah, I'm using the proper files and such.

 

Try this one once: "PMBH01.tga"

 

All I did was extract via KOTORtool, load into CS and "save as" 32 bit no compression. The results were still all messed up as per original post.

 

Does it work fine for you?

 

As well here is the file in question, CLASS8001. If it works on yours, perhaps my install has become corrupted.

 

g_a_class8001

 

Thanks

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...