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

OSError: Not a valid PFS0 partition b'\x97\xe2C\xa9' #157

Open
mrbob55 opened this issue Nov 23, 2023 · 3 comments
Open

OSError: Not a valid PFS0 partition b'\x97\xe2C\xa9' #157

mrbob55 opened this issue Nov 23, 2023 · 3 comments

Comments

@mrbob55
Copy link

mrbob55 commented Nov 23, 2023

I got this error when trying to convert Trine 5 A Clockwork Conspiracy [0100E2701A888000][v0][US](nsw2u.com).xci. I guess the file data must not be compatible with this program for whatever reason.

I was able to work around this problem by first using https://github.com/The-4n/4NXCI to convert to an nsp, and then I used this program to convert to nsz.

Hope this is helpful to someone.

@nicoboss
Copy link
Owner

@mrbob55 Can you please try if this issue still occurs in the latest NSZ 4.6.0 release and let me know about the result. The latest release contains a major XCI/XCZ rewrite fixing many XCI/XCZ related issues. I don't own this game so I can't test it myself but it's quite likely that this issue is fixed now. Should this issue still occurs in the latest release please post the error message you see in the terminal window.

@mrbob55
Copy link
Author

mrbob55 commented Dec 31, 2023

Hello,

Sorry it has taken me so long to reply. I just tried 4.6.1 but unfortunately I am getting the same error.

I didn't post the stack trace before but in any case here's where the error originates:

  File "C:\path\to\nsz_v4.6.1_win64_portable\lib\site-packages\nsz\Fs\Pfs0.py", line 237, in open
    raise IOError('Not a valid PFS0 partition ' + str(self.magic))
OSError: Not a valid PFS0 partition b'\x97\xe2C\xa9'

Thanks for trying to fix it.

@jpyper
Copy link

jpyper commented Jan 8, 2024

Make sure you have the latest keys. I ran into the same problem with the 16.0.x keys. Used 17.0.x keys and all was good in the 'hood.

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