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

THPS2X is not supported #7

Open
JayFoxRox opened this issue Sep 29, 2019 · 1 comment
Open

THPS2X is not supported #7

JayFoxRox opened this issue Sep 29, 2019 · 1 comment

Comments

@JayFoxRox
Copy link

I did notice that

# THPS1 psx files have some key differences, mostly in mesh definition
if magic == b"\x03\x00\x02\x00":
version_num = VERSION_NUM_THPS1
elif magic == b"\x03\x00\x02\x00":
version_num = VERSION_NUM_THPS2X
uses the same value twice. This makes it impossible for VERSION_NUM_THPS2X to be used.

Additionally, nothing ever checks for VERSION_NUM_THPS2X.

I have recently worked on https://github.com/JayFoxRox/thps2-tools which includes some THPS2X support (See my Patreon post for more information about goals and when I learned about this project).

@Iron-Hawk
Copy link

It is because of the textures, if you disable texture importing either via editing the true statement to false or adding back in the hidden options menu to change it from in blender, you can import 2x levels, but cause its not importing the textures the uvs are messed up, generally the uvs are there, but they are really compressed as looking at the scripts, the uv maps size is based off the resolution/size of the texture itself, so without the tools being able to open the ddx files to get the reference for the textures size, so the uvs are just compressed, though the mesh and vertex shading all imports with the trigger planes as well, I'm not sure how to import the ddx files as they are structured different from the _l files from thps1 and 2, so right now we still have to stick with demos rips until someday hopefully ksk adds the support for full 2x importing.

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

No branches or pull requests

3 participants