FlatOut 2 *.TIM2 font texture

Textures, recreate headers, conversions, algorithms and parsing of image files
Bambuch0
Posts: 5
Joined: Mon Oct 29, 2018 12:34 pm

FlatOut 2 *.TIM2 font texture

Post by Bambuch0 »

Hi everyone. Can someone help me with the font texture from the game FlatOut 2 (PS2)?
This is a TIM2 texture, the parameters are approximately as follows:
512x256
4bpp
palette seems to be at offset 65792 dec
swizzle on

I can't deal with swizzle.
Texture in the attachment.

I need to remove the swizzle and apply it later. Can someone swizzle/unswizzle this texture?
Does anyone know this algorithm because the standard swizzle ps2 algorithm doesn't work?