Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

file format about silent hill2 #135

Open
captswing opened this issue Jul 20, 2018 · 3 comments
Open

file format about silent hill2 #135

captswing opened this issue Jul 20, 2018 · 3 comments

Comments

@captswing
Copy link

Hello everyone, I want to develop a tool to reverse *.tex texture about silent hill2 (pc version).
I have campared texture.hpp from sh3redux and tex file in hex value, but I confused, it seems different.
Could you give me some advise?

@z33ky
Copy link
Collaborator

z33ky commented Jul 21, 2018

Yeah, Silent Hill 2 uses a different header.
I myself am not well versed in reverse engineering, I've just built on code that was already present from someone else. Maybe @Quaker762 can tell you more.

@captswing
Copy link
Author

@Quaker762
Hello Jesse, could you give me some advise?

@Quaker762
Copy link
Member

Hi lads,

@captswing sorry for the late reply mate, I've just started back at uni so I haven't had too much free time.
As @z33ky said, the SH2 textures are slightly different, though only the headers should be iirc, the data and what not should be the same. What exactly are you trying to achieve? Do you want to reverse the textures, display them etc.

If you're trying to reverse them, the best thing to do would be to dump the values from a bunch of different samples and look for differences/similarities and see if the values make any sense (for example, a value of 512 may be texture width or height). If you give me some filenames I can take a look at them when I've got some time (I have sh2 installed on my machine so I can look at them).

Chances are there are only minor differences, the engines are basically the same.

Cheers,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants