tim2view
tim2view copied to clipboard
Support for 4bpp TIM files without CLUT.
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.
I'll check it, thank you. Could you provide name of this game, or this tim-file?