TIM2 event CGs in "Suzumiya Haruhi no Tomadoi"

Textures, recreate headers, conversions, algorithms and parsing of image files
nyanto
Posts: 1
Joined: Sat May 01, 2021 5:42 pm

TIM2 event CGs in "Suzumiya Haruhi no Tomadoi"

Post by nyanto »

Hey all, I am trying to figure out how to properly convert some of the TIM2 graphics in this game to a PNG or other format. I managed to extract the files with quickbms, but am having issues understanding the structure of these files.

For scenes in the game there are image sets that include a base image along with sprite images that include different facial expressions for the characters. See attached for a sample set of files as well as exported PNGs that I got using Noesis.

I've tried a few TIM2 tools and saw that the sprite files have multiple CLUTs, apparently one per sprite included in the file. However, I'm not sure what to do with that information. Is there a way to convert the sprites to PNG using the correct CLUT for each part? (I could only figure out how to export using the first CLUT with Noesis.) Better yet, is there any way to easily/automatically recombine them with the base file to generate the complete image?

Thanks and please let me know if any of this is unclear; I'm very new to most of this stuff.