1C Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official 1C Company forum > 1C Publishing > IL-2 Sturmovik

IL-2 Sturmovik The famous combat flight simulator.

Thread Tools Display Modes
Old 07-04-2012, 11:46 PM
Spudkopf's Avatar
Spudkopf Spudkopf is offline
Approved Member
Join Date: Nov 2007
Location: Australia
Posts: 248
Question TGA to Index issues, please help!

I’ve taken a minor step outside my own self imposed no mod stance and extracted some default skins so I can re-use them as a basis to create my own custom user skins. I’ve doing simular things for years using other indexed or RGB templates. When altering indexed files up to RGB and back I always make a custom colour table before I start and then re-apply the table when re-indexing the file to avoid any or as much loss as possible. And when RGB template I fully understand that when reducing it to 256 that loss will be expected.

However I’m a little confused when it comes to the TGB/TGA files that I have extracted, as follows: I have extracted the summer default TGB skin for the Hs129-B2 using sfs extractor, then renamed the extension to TGA, which I have then opened with ViewIMF-V1_0.exe through which I have then save the file to a TGA format from within this program, I then proceed to open the new file for editing through Photoshop CS5.

Once inside PSCS5 the TGA file is a RGB (?) and not indexed to 256 colours as I epected, then any attempt to re-index even an un-altered original to 256 colours degrades much of the finer details (in regards to the Hs129-B2 skin this especially noticeable on the shadowed effect for fabric covered surfaces but is evident generally overall) no matter what combination of the index settings that I have attempted to use.

My first question is, are these imbedded default TBA/TBG skin files within the game actually RGB or are they indexed to 256 colours? If they are already indexed to 256 colours within the game, then why the big loss when I’m attempting to re-index them, am I doing something wrong, am I missing something?

Or is there some sort of lossless method that I can use to get the TGA into an indexed format so I can then create a custom colour table before I start editing the TGA file PSCS5?

My brain hurts!

Reply With Quote

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:23 PM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 2007 1C Company. All rights reserved.