The reason.....
to break the CtP(2) graphics files so I can create a pgm to add/change/modify them. This is THE biggest drawback to CtP2 and the 'New Terrain' thread brought this all back to light.
From looking at the executable, I see where Activision licensed LZW (which is a class "Y" compression option), is using the YCbCr format (calls YCbCrToRGB) and is using a Tiff-Specific library.
Initially, I thought Activision had their own proprietary library but I have changed my mind (at the moment). Another pgm I was checking into had a TifLib.Dll file which lead me to TifLib. The Tiff calls Activision makes and the TifLib calls are virtually identical. Also, TifLib supports 'Directories' which is how multiple images in 1 file are accessed.
By putting all these pieces together, I *think* I am on the right track. If not, I am thinking I still might be able to use this Library to access the graphic files. And since I know squat about these graphics files, I was hoping somebody might have a little knowledge in this area.
EDIT:
http://www.libtiff.org
[This message has been edited by skorpion59 (edited February 08, 2001).]