tim2view icon indicating copy to clipboard operation
tim2view copied to clipboard

Replace 256 ".TIM" CLUT with a 256 color palette from a ".bmp" file.

Open NERVAgent opened this issue 9 years ago • 2 comments
trafficstars

May I suggest the feature to replace a 256 color CLUT in a PSX ".TIM" file with a 256 color palette from a ".BMP" file.

Currently, that requires changing each and every 256 entry one by one to match the palette ripped from a ".BMP" file. This is time consuming (and could probably cause arthritis). A faster way would be appreciated.

NERVAgent avatar May 25 '16 02:05 NERVAgent

Actually there's a way to do that without changing every single color on TIMViewer, but you'll need a Hexadecimal editor like HEXEdit, Windhex or Hxden-(Highly recommended). Unfortunately the ".tmext" file created by TIMViewer holds a different and specific language. After converting a .BMP to .TIM using the TIMViewer you might be able to extract the information necessary to create your own CLUT palette. TIP: Every palette begins at the 14th hexadecimal column when you open a 8bpp .TIM file and the selection length shall be 200.

vaportropicae avatar Sep 11 '17 01:09 vaportropicae

Someday I'll implement this.

lab313ru avatar May 17 '18 10:05 lab313ru