Anonymous

Changes

From Final Fantasy Inside

FF7/Field/MIMfile

123 bytes added, 13:56, 27 May 2010
no edit summary
typedef struct
{
UINT32 Header_PalettesizeofpaletteData;// <=> 12 + PalWidth*2*PalHeight
UINT16 PalX, PalY;
UINT16 PalWidth; UINT16 , PalHeight;
} MIMHeader;
After the palettes comes the
===MIM Block Header(1)===
typedef struct
{
UINT32 WordCountsizeofimageData; // # words of data in image<=> 12 + Width*2*Height
UINT16 ImageX, ImageY; // location of blocks on 1024x512 display area
UINT16 Width, Height; // Width is the # of Word units (UINT16) the blocks are wide
lastly the actual block data for display follows. The palettes are selected from information in the DAT section 3 data.
 
Sometimes there is a second MIM Block:
 
===MIM Block Header (2)===
Same header as MIM Block 1.
Anonymous user