-
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
is it possible to combine multiple nsp into one .xci file #113
Comments
Putting multiple games into a single XCI is not something that's possible. All NSP, XCI, NSZ and XCZ can only hold a single game. They are all just containers containing the actual NCA/NCZ files. Technically nothing stops you from putting multiple games into one container, but it would create a huge unplayable mess with absolutely no use. If you want to combine multiple games into one file just tar the resulting NSZ files but I don't see any reason why you would want to do that. Do you maybe mean split NSPs used to overcome the fat32 file system limitations? In that case just merge them first using I'm maybe misunderstanding your question. Can you please elaborate what you want to achieve? |
Sorry, I didn't express myself correctly. I mean, the NSP files of base, patches and DLCs of the same game to be merged into one NSP or XCI file, maybe say it as multicontents NSP or XCI of one game. I found such multicontents XCI on the internet, but don't know how they produce it. |
You use something like nsc_builder to make the multicontent file, nsz is just for compressing or validating the resulting nsp file |
OK but problem is nsc builder only support Windows. how to do the same thing on mac? |
iirc nsc_builder is mostly if not completely in python, or does it rely on some windows exe that I'm forgetting. The most work you would have to do is either call the tools manually or figure out a way to convert the gigantic AF batch files it uses as a menu system to .sh files or the ilk |
Will |
There currently is no official support for multicontent files inside this tool. You are correct and there indeed is --create that allows you to recreate an NSP based on the content of a folder. By using --extract for base, updates and DLCs to the same folder and then using --create to get an NSP of that folder you indeed get an NSP that contains base, updates and DLCs. You could than compress that to an NSZ. But is that really what you want? It would just be an NSZ that contains base, update and DLCs but updates and DLCs aren't really applied so whatever title installer you use would still need to install them all separately and somehow be able to deal with the quite messed up metadata. I don't think that's how multicontent files work and what you would get is likely not supported by any currently existing title installer. I never looked into multicontent files so far so no idea how they work. I might plan to support them in the future as they are probably not that hard to implement. If you or anyone else wants to implement them, feel free to do so and create a pull request. |
afaik they are multiple cmnt and file combos inside of the nsp and the installer just iterates through all the cmnt files to see what is included in the nsp Here is a issue chain from nsc_builder kinda explaining the format a bit |
In total, it seems that the nsp is just treated as a archive, all the different individual nsp's files are included in the multi nsp and the installer and tools just have to change the assumption that there is only one title, and scan through all the included files to see what is included in the multi nsp |
wow i tried some tests and it actually works well, so i would like to share and communicate with you: multicontent xcz file is better to store, especially for old games that not updating anymore. so, if nsz cli can originally provide repacking multicontent xci or nsp file, it would be very helpful to Mac users. please consider to use the same backbone that NSCB does to create the XCI, squirrel.py. i prefer to do all things above on mac with one nsz cli, and without using virtual machine. but anyway, nsz is very good tool by now, thanks a lot! |
I
|
I think yes, it is what i am trying, but get trouble with |
@blacklein You should now be able to repack the extracted folders back to an NSP if you use latest master. I fixed the issue you experienced with --create and improved its syntax and documentation. Example how to use it:
|
it still not works, gives error below
|
i couldn't get this to work much unfortunately but i also am useless in cmd so a gui would be great. NSC Builder will combine files but NSZ will have issues compressing them so im not sure what to do |
NSC_BUILDER can also compress, btw. It's just not focused on certain things like nsz is |
problem is its outdated and has issues. anytime i merge stuff in NSC, it and NSZ can no longer find the titlekey and NSZ just has issues compressing anything NSC spits out with validation errors |
could you possibly make a bat script out of that so i can just drag the folder into it and it will spit it out? |
is it possible to combine multiple nsp into one .xci file on macos
The text was updated successfully, but these errors were encountered: