Skip to content
View in the app

A better way to browse. Learn more.

ResHax

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
Help us keep the site running.
Zero Tolerance for Disrespect

Silent Hill .TEX PS2 File Type

Featured Replies

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

Solved by Myers69

Upload a few samples, otherwise it's almost impossible to tell what format they are.  Also, change your subject line for the relevant game, as .TEX can be a generic extension used by many games in different file formats.

ImageHeat could be an option for a lot of formats: https://github.com/bartlomiejduda/ImageHeat/tree/master

Maybe Console Texture Explorer as well.

 

  • Myers69 changed the title to Silent Hill .TEX PS2 File Type
  • Author

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

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

  • Supporter

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

  • Author

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

  • Author

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

  • Localization

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?

  • Author
  • Solution
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

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.