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 128 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.

Put plugin to Noesis\plugins\python folder.

Edit: Updated support levels textures.
Edit 2: Updated support *.img.tex file.

Attachments:
tex_skater_thps_hawk_tex_ps2.zip [1.16 KiB]
Downloaded 45 times

Author:  BloodRaynare [ Thu Apr 02, 2020 3:14 pm ]
Post subject:  Re: THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

I just noticed a reply to this thread after few months but thanks a bunch @Allen.

However, can you edit the scripts for extracting the levels textures as well?
Here's the samples
Attachment:
bo.tex.rar [2.2 MiB]
Downloaded 46 times

Attachment:
ca.tex.rar [824.32 KiB]
Downloaded 45 times

Author:  Allen [ Mon Apr 06, 2020 4:28 am ]
Post subject:  Re: THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

BloodRaynare wrote:
I just noticed a reply to this thread after few months but thanks a bunch @Allen.

However, can you edit the scripts for extracting the levels textures as well?
Here's the samples
bo.tex.rar
ca.tex.rar

Support for them has been updated. viewtopic.php?f=7&t=11052&p=55573#p53330

Author:  BloodRaynare [ Mon Apr 06, 2020 7:18 am ]
Post subject:  Re: THPS PS2 texture files (.tex.ps2) - help me convert it to tm2

Allen wrote:
BloodRaynare wrote:
I just noticed a reply to this thread after few months but thanks a bunch @Allen.

However, can you edit the scripts for extracting the levels textures as well?
Here's the samples
bo.tex.rar
ca.tex.rar

Support for them has been updated. viewtopic.php?f=7&t=11052&p=55573#p53330


Thanks a bunch now the levels texture packs are extractable, though some texture still unswizzled incorrectly but maybe because some of the texture using unorthodox swizzle pattern. Like this single .img.ps2 texture files i put here as a example:
Attachment:
movie_icon.img.zip [5.1 KiB]
Downloaded 41 times

As you can see from the attachment files above, the swizzle pattern is kinda weird.

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