Can I nest NSP's?

RobZilla10001

Member
Newcomer
Joined
Jan 20, 2017
Messages
19
Reaction score
2
Trophies
0
Age
38
XP
175
Country
United States
So, the idea is to have an NSP that copies both an NRO to sdmc:/switch and another NSP which installs a fowarder for that nro. Is this possible to not only bundle them together but to chain the installs (i.e. nsp1 gets copied over dbi, installs and copies the nro, triggers the nested nsp to install as well and installs the forwarder)? I know it's a shot in the dark, but I'm trying to keep the number of items I need to transfer to a minimum.
 
So, the idea is to have an NSP that copies both an NRO to sdmc:/switch and another NSP which installs a fowarder for that nro. Is this possible to not only bundle them together but to chain the installs (i.e. nsp1 gets copied over dbi, installs and copies the nro, triggers the nested nsp to install as well and installs the forwarder)? I know it's a shot in the dark, but I'm trying to keep the number of items I need to transfer to a minimum.
https://github.com/CNX17/NSP-Auto-Installer-Maker
 
  • Like
Reactions: RobZilla10001
Thanks, I'll give it a spin!
Post automatically merged:

Yeah, didn't really pull off what I needed; it converted the NRO to an NSP installer, but then put the forwarder in it's own NSP as well. I'm looking for more of a nested approach; one nsp that contains the forwarder nsp and the content NRO, copies the NRO to specific directory and executes the forwarder NSP to install it to the home screen.
 
Last edited by RobZilla10001,
That's not how it works.

NSP is just an archive like zip or rar. It doesn't have any info where it should unpack files. That's decided by tool that unpacks it.
 
Thanks, I'll give it a spin!
Post automatically merged:

Yeah, didn't really pull off what I needed; it converted the NRO to an NSP installer, but then put the forwarder in it's own NSP as well. I'm looking for more of a nested approach; one nsp that contains the forwarder nsp and the content NRO, copies the NRO to specific directory and executes the forwarder NSP to install it to the home screen.
I don't think you even tried.
with this repo you will:
put the files that you want to copy to your SD Card, they will be copied 1:1 if you put a /switch/ folder as "folders to include", they will copied to your sdcard root as /switch/ and so on.
The forward option you can point to any .nro to generate a nested forwarder.

The workflow of the generated NSP is:
1 - copy the files to their respective placs
2 - install the forwarder
3 - auto-open the forwarder
4 - auto-delete the installer

(I think the repo its enought if you test it)
 
  • Like
Reactions: RobZilla10001
I don't think you even tried.
with this repo you will:
put the files that you want to copy to your SD Card, they will be copied 1:1 if you put a /switch/ folder as "folders to include", they will copied to your sdcard root as /switch/ and so on.
The forward option you can point to any .nro to generate a nested forwarder.

The workflow of the generated NSP is:
1 - copy the files to their respective placs
2 - install the forwarder
3 - auto-open the forwarder
4 - auto-delete the installer

(I think the repo its enought if you test it)
First of all, while I appreciate the assistance and the fact that you even responded, don't pull that "You didn't even try" crap. Not only did I go through the repo several times to familiarize myself with what to expect from the software, it's Windows only. Which meant spinning up a spare laptop I have, throwing windows on it, dealing with the crap setup, moving everything I needed over, and then testing the software just to find it created 2 separate NSP's. But I went an extra step and actually installed the larger NSP and lo and behold, though I don't have the foggiest idea of what it said because it's in spanish, it did what it was supposed to do. Why it didn't say "hey, we're gonna generate two files, but this one is the one you want, ignore the other one" is beyond me, it's not very intuitive.

I did all that griping to say Thank You, your suggestion hit the nail on the head, and is greatly appreciated. Now i'm going to spend the next several hours tearing this NSP down to see if I can deduce exactly what was done, so that I can do it on my main box instead of needing to leave windows on this other device, especially since the maintainer has no future plans to support Linux. Maybe some good will come out of that, I can give back to the community with something with a little better instructions and results in multiple languages for accessibility. Thanks again, I do appreciate the assistance. My issue was with the program itself, not your suggestion of it.
 
First of all, while I appreciate the assistance and the fact that you even responded, don't pull that "You didn't even try" crap. Not only did I go through the repo several times to familiarize myself with what to expect from the software, it's Windows only. Which meant spinning up a spare laptop I have, throwing windows on it, dealing with the crap setup, moving everything I needed over, and then testing the software just to find it created 2 separate NSP's. But I went an extra step and actually installed the larger NSP and lo and behold, though I don't have the foggiest idea of what it said because it's in spanish, it did what it was supposed to do. Why it didn't say "hey, we're gonna generate two files, but this one is the one you want, ignore the other one" is beyond me, it's not very intuitive.

I did all that griping to say Thank You, your suggestion hit the nail on the head, and is greatly appreciated. Now i'm going to spend the next several hours tearing this NSP down to see if I can deduce exactly what was done, so that I can do it on my main box instead of needing to leave windows on this other device, especially since the maintainer has no future plans to support Linux. Maybe some good will come out of that, I can give back to the community with something with a little better instructions and results in multiple languages for accessibility. Thanks again, I do appreciate the assistance. My issue was with the program itself, not your suggestion of it.
You got confused.
The default output spits out 2 NSPs: installer and forwarder.
the forwarder one are only for debug and did not need to be used.
1781886936094.png

The installer are the final result and you need to install this one.
1781886969518.png


It will do all the workflow that i mentioned before.
After you test this one, i think it will be enought for your intention.
 

Site & Scene News

Popular threads in this forum