I tried to create a tool to display "Tiberian Dawn" SHP-files. I used the programming language "Turbo Pascal" and this document ttp://xhp.xwis.net/documents/ccfiles4.txt
It is the only description of the SHP file format, I found.
The problem is, that this description seems to be incorrect.
- Reading the temperat.pal works.
- Reading the Header-Block (NumImages,Width,Height) and the Offsets-Block works.
- but the sample code for decoding the compressed image data (Format 80h and 40h) does NOT work :-/
So I made my own function to decode the image data. The result was the same. I will post a screenshot later.
[ccfiles4.txt, line 221]
"Note that if the Rel. Pos. is 1, that means repeat Count times the previous byte."
[ccfiles4.txt, line 275 to 288]
There is the sample code to decode Format80 Command 2. But the note, that Rel.Pos could be 1 is out of the question. LoL?
Where can I get a correct description of the TD SHP file format? How does the XCC Mixer decode the image data? I do not understand the XCC Mixer Source Code. I need a normal text ^.^
Sorry for my bad English 
Thanks for every answer on this post =)
I'm German ;)
