Hacking RELEASE nspBuild - Build NSP files

  • Thread starter Thread starter Deleted-451877
  • Start date Start date
  • Views Views 165,478
  • Replies Replies 142
  • Likes Likes 26
D

Deleted-451877

Guest
A .nsp (pfs0) is a simple file: a header that describes the files it contains, with said files appended to it, in plaintext.
.nsp is the Switch format for installables, similar to what .cia was to the 3ds.
However installing them is currently impossible, and would require signature patching.

This scripts generates nsp files from whatever you tell it to. Anything goes, as long as it is a file. Even empty ones.

To use it, simply drag the files you wish to repack over the script, then enter a name for your nsp.
Alternativaly, use the command prompt and do: nspBuild.py file1 file2...

If you want to see the result, use hactool (or nstools): hactool -t pfs0 path/to/nsp (--outdir=path/to/directory).
No key is required, as the .nsp isn't encrypted.

This script requires python 3, although I think porting it to python 2 shouldn't be too hard. No library download is required.
 

Attachments

Last edited by ,
No, we'll need sigpatching for that. As the OP said.
Edit: ME TOO heh
Technically, yes, but the install will fail without a CFW with signature patching, and we also wouldn't be able to run those games without signature patching.
SX OS does sigpatching, right? So theoretically, if we made a homebrew to install .nsp files while in SX OS...
Would that work?
 
SX OS does sigpatching, right? So theoretically, if we made a homebrew to install .nsp files while in SX OS...
Would that work?
SX OS only applies signature patching to its method of loading cartridge backups. It won't apply signature patching to anything else.
 
I'm not sure as to why this has been moved to Backup Loaders & Modchips?
Right now, the script doesn't help loading anything at all...
It just repacks file to a file container...
 
It helps to create installable packages, once sig patches are out we can use dev menu to install them. Very helpful tool.
But in itself, it's not a piracy tool, far from it. It's like saying Atmosphère is a piracy tool because it will have signature patching.
You're confusing the thing and its possible uses.
 
But in itself, it's not a piracy tool, far from it. It's like saying Atmosphère is a piracy tool because it will have signature patching.
You're confusing the thing and its possible uses.

I never said it is a piracy tool, I am simply saying this subforum is the most natural place for the thread, as it will aid in the process of backup loading and installing dev / kiosk titles.
 
Last edited by ,
  • Like
Reactions: zillld and Kioku
anyway to reverse nsp to xci?
Extract the nsp, repack it to xci using the tool that was recently released.
Be warned, the offsets in BBB's Yooka-Laylee dump are borked, and it won't extract properly.
The data is still there, though, and you can "manually" extract it.
 
Last edited by ,
This tool just became a hell of a lot more useful now that we can launch installed NPSs.
 

Site & Scene News

Popular threads in this forum