Hacking Is there a way to build NSP?

johhnydamage

Active Member
OP
Newcomer
Joined
Sep 13, 2009
Messages
25
Trophies
1
XP
236
Country
United States
Is there a way to convert the exefs and romfs.bin into a nsp file? I've got a few .nsp files from here and just used devtools to install to the system memory. Is there a way to convert the folders into that simply?

Everything I'm finding is pretty confusing or has private Discord links.
 

Creatable

Well-Known Member
Member
Joined
Jul 10, 2017
Messages
585
Trophies
0
Location
(insert wacky and amusing place here)
Website
hentaihaven.net
XP
1,633
Country
United States
Step 1) Get Python. You can find it by googling "python".
Step 2) Open a cmd. If you don't understand this, do windows key + r, type cmd and hit enter, or you can search for cmd.
Step 3) Move the exefs and romfs into the same folder as the .py file.
Step 4) Right click on the address bar in the file explorer and hit "Edit address" then hit Control + A, then Control + C.
Step 5) Go into the cmd and type "cd " (with a space after "cd") then right click on the terminal window. If you see a right click menu pop up hit paste.
Step 6) Hit enter.
Step 7) Type "python (name of python file) (romfs) (exefs)"
Step 8) If you're having any issues with what the script produces, reply to that thread with your issue and explain exactly what you did. If you have an issue with even producing a file, you should probably reply to this threat with the steps you went through.
 

loiuyt1207

Well-Known Member
Newcomer
Joined
Apr 14, 2015
Messages
53
Trophies
0
Age
34
XP
479
Country
Step 1) Get Python. You can find it by googling "python".
Step 2) Open a cmd. If you don't understand this, do windows key + r, type cmd and hit enter, or you can search for cmd.
Step 3) Move the exefs and romfs into the same folder as the .py file.
Step 4) Right click on the address bar in the file explorer and hit "Edit address" then hit Control + A, then Control + C.
Step 5) Go into the cmd and type "cd " (with a space after "cd") then right click on the terminal window. If you see a right click menu pop up hit paste.
Step 6) Hit enter.
Step 7) Type "python (name of python file) (romfs) (exefs)"
Step 8) If you're having any issues with what the script produces, reply to that thread with your issue and explain exactly what you did. If you have an issue with even producing a file, you should probably reply to this threat with the steps you went through.
Can you help me ?
2018-08-30 (2).png
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
is your romfs file called "romfs" ?
you need to put the real filenames. maybe "romfs.bin" ? ;)

same for exefs.

the "provided command" is the example, you need to replace each part with proper file and path.

Code:
python <filename of python file> <filename of romfs> <filename of exefs>

real command is :
Code:
nspBuild.py <file 1> [<file n...>]

you can also drag/drop all your files directly on the .py file, if your system recognize it as launchable python3 extension. But it might create your file in another working directory.
 
Last edited by Cyan,

loiuyt1207

Well-Known Member
Newcomer
Joined
Apr 14, 2015
Messages
53
Trophies
0
Age
34
XP
479
Country
is your romfs file called "romfs" ?
you need to put the real filenames. maybe "romfs.bin" ? ;)

same for exefs.

the "provided command" is the example, you need to replace each part with proper file and path.

Code:
python <filename of python file> <filename of romfs> <filename of exefs>

real command is :
Code:
nspBuild.py <file 1> [<file n...>]

you can also drag/drop all your files directly on the .py file, if your system recognize it as launchable python3 extension. But it might create your file in another working directory.
romfs is a folder, not file. Can you see it ?
2018-08-30 (3).png 2018-08-30 (4).png
 

Cyan

GBATemp's lurking knight
Former Staff
Joined
Oct 27, 2002
Messages
23,749
Trophies
4
Age
46
Location
Engine room, learning
XP
15,662
Country
France
ohh, sorry then :P
My bad.

the command line was written as if it was jokers to replace.
but, the official thread mention "drop the files to pack", and says "file1, file2, file...", not folders.

maybe you need to first pack the folders to files using proper packing tools, probably with keys and certs? romfs folder into a romfs.bin
maybe hactool has this option?
 
Last edited by Cyan,
  • Like
Reactions: loiuyt1207

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    BakerMan @ BakerMan: