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

Unsupported texture type: 755564544 | UnboundLocalError: local variable 'texData' referenced before assignment #4

Open
alexjabka opened this issue Dec 23, 2023 · 3 comments

Comments

@alexjabka
Copy link

alexjabka commented Dec 23, 2023

Hello, when loading any model with Load Textures checked, human or simple prop - no matter, it pops this error. Game is TLOUP1.

Error: Unsupported texture type: 755564544
Traceback (most recent call last):
File "E:\Games\The last of Us. Part 1_EXTRACT\noesisv4473\plugins\python\fmt_nd_pak.py", line 2721, in pakLoadModel
pak.loadGeometry()
File "E:\Games\The last of Us. Part 1_EXTRACT\noesisv4473\plugins\python\fmt_nd_pak.py", line 2514, in loadGeometry
tex = self.loadVRAM(self.vrams[vramHash][0])
File "E:\Games\The last of Us. Part 1_EXTRACT\noesisv4473\plugins\python\fmt_nd_pak.py", line 1784, in loadVRAM
return NoeTexture(texFileName, width, height, texData, noesis.NOESISTEX_RGBA32)
UnboundLocalError: local variable 'texData' referenced before assignment

@alexjabka alexjabka changed the title Unsupported texture type: 755564544 Unsupported texture type: 755564544 | UnboundLocalError: local variable 'texData' referenced before assignment Dec 23, 2023
@Jmvars
Copy link

Jmvars commented May 6, 2024

I get this as well. There was a fix suggestion in this issue but that did not work. At this point I'm trying to extract the model and get the textures separately but I have no idea how to do that.

@alexjabka
Copy link
Author

I get this as well. There was a fix suggestion in this issue but that did not work. At this point I'm trying to extract the model and get the textures separately but I have no idea how to do that.

In the end I just exported textures with ninja ripper.

@Jmvars
Copy link

Jmvars commented May 8, 2024

I get this as well. There was a fix suggestion in this issue but that did not work. At this point I'm trying to extract the model and get the textures separately but I have no idea how to do that.

In the end I just exported textures with ninja ripper.

I found a texture extractor and used that, so I'm good now as well.

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

2 participants