Coraline PS2 textures

Textures, recreate headers, conversions, algorithms and parsing of image files
roocker666
Posts: 20
Joined: Sun Jun 23, 2019 5:13 am

Coraline PS2 textures

Post by roocker666 »

Hi guys, I was trying to extract textures from this game. Here are 2 samples:

sample1: I can extract this texture with the tool CTE, the format is similar to .tm2
Palette is at the end of image data(no problem!)
Image

sample2: I tried with CTE but this does not work, I wrote the correct values for graphic offset, image width, image height, 8 bpp but the tools shows nothing... Then I changed to 4 bpp and I can see something like a face but that does not make any sense because the palette is 256 colors. So I don't know WTF..
Image



50% of textures have the first ID and I can extract those but the other 50% have the second ID and I can't extract those.
I am doing something wrong?

Here are the samples if you want to try.
Allen
Posts: 156
Joined: Tue Sep 01, 2015 9:44 am

Re: Coraline PS2 textures

Post by Allen »

Sample2 contains 2 color index data:

0x80-0x2080 8bpp 64*128, palette 0xA080, 256 colors.
0x2080-0xA080 4bpp 256*256 No palette.
The two formats combined to compress the data?

Image
Image
Image
roocker666
Posts: 20
Joined: Sun Jun 23, 2019 5:13 am

Re: Coraline PS2 textures

Post by roocker666 »

Allen wrote:Sample2 contains 2 color index data:

0x80-0x2080 8bpp 64*128, palette 0xA080, 256 colors.
0x2080-0xA080 4bpp 256*256 No palette.
The two formats combined to compress the data?



So sample2 has two images, a smaller 8bpp and other 4bpp with the correct size, this is very interesting. I used Ninja ripper on PCSX2 emulator and this ripped texture is 256*256 with all the colors. It is a mystery how the game combines both images, weird..

Thank you so much man, that was very helpful :)