Help converting .dat to .tga Found Texture at offset 0X2D1

Textures, recreate headers, conversions, algorithms and parsing of image files
TotalMK
Posts: 12
Joined: Wed Mar 04, 2020 11:48 am

Help converting .dat to .tga Found Texture at offset 0X2D1

Post by TotalMK »

Hi Guys

I need some help getting these textures into a visible (not garbled format)
I know they are .tga format. I know they are either 256x256 or 521x256
When I use Raw Texture Cooker I can see the outline of the texture.
When using Frhed and analyzing the .dat file I can see that the offset 0X2D1 seems to be where the .tga starts as everything before that is the same on all other .dat files.
Can anyone give me some advice on how to export this to a readable .tga?
I tried selecting different compression types, BC1, BC2, BC3 ect..

I have attached a pic of how the texture should look when It's converted correctly. However the tool used to get the correct conversion can't work with all texture, hence I need to learn this harder way so I can tackle them separately.
Acewell
Posts: 706
Joined: Fri Aug 08, 2014 1:06 am

Re: Help converting .dat to .tga Found Texture at offset 0X2D1

Post by Acewell »

what is the game name and platform the sample came from? :)
data starts at 0x2d0 and 32bit color palette starts at 0x10350
you can use Console texture Explorer to get the image :D
Image
TotalMK
Posts: 12
Joined: Wed Mar 04, 2020 11:48 am

Re: Help converting .dat to .tga Found Texture at offset 0X2D1

Post by TotalMK »

Sorry I did leave out some info:

Game is Mortal Kombat Deception.
Platform is PS2.

Awesome Thanks for the help!