Hacking RELEASE nspBuild - Build NSP files

  • Thread starter Deleted-451877
  • Start date
  • Views 147,228
  • Replies 142
  • Likes 25

M-O-B

Well-Known Member
Member
Joined
Jun 23, 2018
Messages
281
Trophies
0
Age
54
XP
583
Country
United Kingdom
I just gave this a try and all I get is this when I try to install using devmenu or tinfoil.

20180725_072328.jpg
20180725_072555.jpg
 

Ryab

Well-Known Member
Member
Joined
Aug 9, 2017
Messages
3,234
Trophies
1
XP
4,465
Country
United States
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.
so after dragging my xci over the py and typing it a name the second I hit enter it just closes it looks like it says some form of error though its hard to tell seeing the cmd closes near instantly
 

MrFrodo18

Well-Known Member
Newcomer
Joined
Dec 1, 2016
Messages
77
Trophies
0
Age
33
XP
612
Country
United States
Is it possible to package a Homebrew app as an nsp and install it to the switch? I’d love to install all my emulators!
 

Wierd_w

Well-Known Member
Member
Joined
May 12, 2018
Messages
406
Trophies
0
Age
41
XP
651
Country
United States
Is it possible to package a Homebrew app as an nsp and install it to the switch? I’d love to install all my emulators!

Needs the homebrew to be packaged as an NCA, with appropriate xml files, a spoofed title and ticket, and some other lovin.

I agree it would be a cool feature. However, not currently a thing.
 

oufai

Well-Known Member
Newcomer
Joined
Feb 18, 2018
Messages
57
Trophies
0
Age
30
XP
261
Country
Egypt
not work [install failed with dev menu ]

installable content is not found. Confirm the nsp file.
(result: 0x00000a05)
 

midstor

Well-Known Member
Member
Joined
Aug 1, 2018
Messages
299
Trophies
0
Age
25
XP
797
Country
United States
w
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.
what files are needed to repack?
 

werneck14

Well-Known Member
Member
Joined
Jan 19, 2017
Messages
121
Trophies
0
Age
25
XP
310
Country
Brazil
I'm trying to repack My Hero Academia after applying the english translation, but i haven't been sucesseful. Can somebody help?
 

JRoad

Developer
Developer
Joined
May 18, 2018
Messages
1,003
Trophies
0
XP
1,746
Country
Spain
I'm trying to repack My Hero Academia after applying the english translation, but i haven't been sucesseful. Can somebody help?
This ones is oudated. The one that works it's in it's github and it works great.
You just do nspbuild.py output.nso input1.nca input2.nca input3.nca input4.nca input.xml (if wanted) input.cert input.tik
Sorry linked you my git by mistake his is
https://github.com/CVFireDragon/nspBuild
 
Last edited by JRoad,
  • Like
Reactions: hippy dave

Parax342

Well-Known Member
Member
Joined
Aug 7, 2019
Messages
136
Trophies
0
Age
34
XP
499
Country
United States
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.
so, could we use this to extract an nsp, modify it, and rebuild it, letting us use mods without layeredFS?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    Maximumbeans @ Maximumbeans: butte