ZenHAX
https://zenhax.com/

THPS PS2 texture files (.tex.ps2) - help me convert it to tm2
https://zenhax.com/viewtopic.php?f=7&t=11052
Page 1 of 1

Author:  BloodRaynare [ Sun Mar 17, 2019 12:53 pm ]
Post subject:  THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

Is it compressed or encrypted? Because when I try to view the textures via Console Texture Explorer none of them looks right.

Attachments:
skater_thps_hawk.tex.7z [5.37 KiB]
Downloaded 61 times

Author:  BloodRaynare [ Wed Mar 27, 2019 2:14 am ]
Post subject:  Re: THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

Bump.
Has anybody figured it out?

Author:  Acewell [ Wed Mar 27, 2019 7:13 am ]
Post subject:  Re: THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

i took a look but could not get anything decent from the image data,
looks like the sample contains 7 paletted images though. :(

Author:  episoder [ Wed Mar 27, 2019 2:19 pm ]
Post subject:  Re: THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

yep. looks like ps2 block shuffle or swizzle. and 16 color (?) textures. i have no decoder for that. one of the weirdest formats this box has.

Author:  BloodRaynare [ Tue Dec 03, 2019 1:16 pm ]
Post subject:  Re: THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

Ok, some update after a quite long time. Turns out those .tex.ps2 files are using 7bpp (128 color palletes) format with 16-bit CLUT (2-bytes per color). I could just take one of the textures data and it's pallete then set the headers value accordingly to create a new TIM2 data out of it, but still need some help for unswizzle it correctly though.

Author:  Allen [ Sat Jan 18, 2020 6:33 am ]
Post subject:  Re: THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

The sample files are 8BPP palette format, 256 colors, and palette format 16BPP RGBA5551.
Pixel data is swizzled.
Image
Here is a noesis script that is currently valid for the sample.
Put plugin to Noesis\plugins\python folder.

Attachments:
tex_skater_thps_hawk_tex_ps2.zip [999 Bytes]
Downloaded 13 times
skater_thps_hawk.tex_noesisdupname_006.png [2.34 KiB]
Not downloaded yet

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/