tim2view icon indicating copy to clipboard operation
tim2view copied to clipboard

Support for 4bpp TIM files without CLUT.

Open josejl1987 opened this issue 8 years ago • 2 comments

I stumbled upon some TIM files that aren't recognised by Tim2View.

`function CheckCLUT(TIM: PTIM): Boolean;

begin

Result := (TIM^.CLUT^.wClutsCount <=0) or (CheckCLUTColors(TIM) and CheckCLUTCount(TIM) and CheckCLUTVramX(TIM) and CheckCLUTVramY(TIM));

end;`

I made this edit as a workaround,and they seem to load just fine, although I'm not sure if this might cause any side effects.

josejl1987 avatar Jun 07 '16 15:06 josejl1987

I'll check it, thank you. Could you provide name of this game, or this tim-file?

lab313ru avatar Jun 07 '16 16:06 lab313ru

KANJI.zip

josejl1987 avatar Jun 07 '16 16:06 josejl1987