Can I nest NSP's?

RobZilla10001

Member
Newcomer
Joined
Jan 20, 2017
Messages
18
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)
 

Site & Scene News

Popular threads in this forum