View Single Post
Old 12-02-2010, 06:44 AM   #1
phedon
Lurker
 
Join Date: Nov 2010
Posts: 3
need help on image compression

hi,
I need informations about the image compression in old LA games like MI2, FOA.
Could someone please describe the SMAP block format?

offset type
0 dword ("SMAP")
4 dword (size of block)

What is the rest? What are stripe offsets? Where do I find them?
I think, if the room has a size of 320x200 pixel, there are 320 / 8 = 40 single stripes I have to process, is this correct?
The informations given in (link) ain't completely clear for me, as they cover all formats, the old (BM/PA) and the new ones (RMIM/CLUT). I tried to use the given informations on an image, but this didn't make sense.
Could someone please give me an example ?
Like "how to decode the background-image of room 1 (Indy's office) in FOA"?

best regards
phedon



Btw: I know how to handle the palette (CLUT).

Last edited by phedon; 12-02-2010 at 06:57 AM.
phedon is offline   you may: quote & reply,