Myers69 Posted February 10 Posted February 10 (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 February 12 by Myers69
DKDave Posted February 10 Posted February 10 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. 1
Myers69 Posted February 10 Author Posted February 10 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
piken Posted February 12 Posted February 12 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). 1
Engineer Nenkai Posted February 12 Engineer Posted February 12 (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 February 12 by Nenkai 1
Sparagas Posted February 12 Posted February 12 (edited) This is from PC version, but this tool also works on PS2 and Xbox versions: https://github.com/iOrange/sh2tex Edited February 12 by Sparagas 1
Myers69 Posted February 12 Author Posted February 12 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. 1
Myers69 Posted February 12 Author Posted February 12 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
Sparagas Posted February 12 Posted February 12 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 Myers69 Posted February 12 Author Solution Posted February 12 (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 February 12 by Myers69 2 1
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now