Jump to content

Silent Hill .TEX PS2 File Type


Go to solution Solved by Myers69,

Recommended Posts

Posted (edited)

Hi ResHax,

I'm trying to convert some PS2 textures that are in the .TEX file format.

What would be the best program to use in helping to achieve this?

Edited by Myers69
  • Myers69 changed the title to Silent Hill .TEX PS2 File Type
Posted

It's for the PS2 version of Silent Hill 2.

I remember someone on the old Xentax forums achieving this, but for me, all I get are jumbled images.

I've attached a few examples I'm playing around with.

pic.7z

Posted

Do you know the texture's size or what it is expected to look like, from a game screenshot? There's definitely something in there (no idea where the palette is).

image.png.c7c69226fea258058a903f076096c0b9.png

  • Like 1
  • Engineer
Posted (edited)

Judging by the file size and no apparent header it's likely the metadata is outside the file itself.

That, or it's oddly trimmed. 0x800 has some header of sorts. After that i can recognize other sorts of data (floats, seemingly PCM looking data even).

Edited by Nenkai
  • Like 1
Posted

This is what "comingsoon.tex" should show, but much like yourself, whenever I load the file directly into ImageHeat or ConsoleTextureExplorer I see the exact same as what you posted above.

It appears to be the scrambled textures for a wall and door.

I've worked with various PlayStation 2 games in the past, but this one has me stumped. The files seem to load the textures that have no relevance to their corresponding filenames.

534d6878c93778fa-00002640.png

  • Like 1
Posted

This was also a program I stumbled on and decided to try-out a few days ago, but even this kept throwing back errors whenever I tried to load any of the internal .tex files.

I guess I'll have to give up for now and revisit at a later date.

 

 

10 minutes ago, Sparagas said:

This is from PC version, but this tool also works on PS2 and Xbox versions:

https://github.com/iOrange/sh2tex

Screenshot 2025-02-12 193823.png

Screenshot 2025-02-12 193903.png

 

Screenshot 2025-02-12 174839.png

Posted

Ok I checekd it. It works on my extracted PS2 version of a game files. But it doesn't work on your files. I checked it in Hex Editor, and your files look completely different from normal extracted PS2 files. Also I checked the HD version of PS3 and Xbox 360, but it also looks different. How and where did you get these files?

  • Solution
Posted (edited)
40 minutes ago, Sparagas said:

Ok I checekd it. It works on my extracted PS2 version of a game files. But it doesn't work on your files. I checked it in Hex Editor, and your files look completely different from normal extracted PS2 files. Also I checked the HD version of PS3 and Xbox 360, but it also looks different. How and where did you get these files?

I finally figured it out (after you mentioned my files looking completely different to yours.)

It turns out when I used SH2Unpack it either didn't extract the internal file structure correctly or something got scrambled during the extraction process.

So, I decided to go back, this time using Nistro's sh2ex Python script and now everything works as should and is perfectly viewable in software.

Oh well, you live, you learn!

Thank you for the help, everyone.

 

Edited by Myers69
  • Like 2
  • Thanks 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...