-
Notifications
You must be signed in to change notification settings - Fork 98
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
Feature Request: Support for compressing a multicontent NSP file (built with NSC Builder) to NSZ format #193
Comments
Please check NSZ *IMPROVED* as a temporal workaround to be able compress/decompress multi-content NSP filez.
The "improvements" I've come up with to allow compression/decompression on multi-content NSP files actually are so basic that it only consist of altering/suppressing a few checks: One in NSP.py file:
And one more in ExtractTitlekeys.py:
This is not a correct way of adding support for a new feature (those suppressed checks could be relevant in other scenarios maybe), and also these changes that I did it causes the hash verification to fail/missmatch when using That is why I preferred to publish these changes as a standalone repository separated from the original NSZ repository, and this is also why these changes should be considered only a temporal workaround until the author could give us a better integrated solution. If that happens some day then I will delete my repository. |
Thanks a lot for your awesome work. I reviewed your fork and am really satisfied with the changes you performed. I don't really see any reasons for the checks and exceptions you removed and would be really happy if you could create a pull request with your changes. The main reason I have not added support for multi-content dumps so far is because of issues with hash verification but just adding a warning the way you did it seems like a much better solution then to further delay this much requested feature. |
I recommend to create a separate pull request containing your batch scripts. I'm sure they would help many users to automate NSZ. |
Hi, I just made the pull request. I tried to make two pull requests, one just for the scripts as you said, but I realized that when I made more commits to my fork (unrelated to the scripts) they were applied to that pull request, so in the end I redid everything leaving only one pull request. |
Hi. Could you please consider to add support for allowing compression of a multicontent NSP file (built with NSC Builder) to NSZ format?.
When merging base game + updates + dlcs, NSC Builder allows me to generate two kind of multicontent NSP: a ticketless NSP file, or else an "special" NSP file with unmodified NCAs (that is what the program prints in its user interface). I don't have enough knowledge about this file format to know how it matters a ticketless or non-ticketless nca in a NSP file... both of them loads and works fine in all the emulators that I've tried.
So I tried both kind of generated NSP files in NSZ tool, but it just can't compress it. For the ticketless NSP file (which ends with a "[rr]" suffix in its auto generated file name by NSC Builder) NSZ fails with an error message about the missing .tik file.
I just came across this comment:
It's been two years since then — perhaps now is a good time to revisit the idea and start making progress towards implementing support for multicontent files? This would be a very relevant step forward for NSZ, especially as it would enable us to preserve multicontent ROM files at the lowest possible required disk space.
Could you also clarify me which NSP format would be preferred—ticketless or non-ticketless—if NSZ gains support for multicontent files in the future?, I mean in case of only one of these kind of NSPs can be supported. Just to avoid doing things in the incorrect way while I'm trying to build my rom collection...
In any case, thanks for considering this request.
The text was updated successfully, but these errors were encountered: