Converting NCA to NSP

B-alpha

Well-Known Member
OP
Member
Joined
Jul 6, 2020
Messages
100
Trophies
0
Age
23
XP
1,456
Country
Germany
Hi there fellow forum members :)

I've been on a bit of a quest recently to convert NCA files to NSP format, using my keys.dat file. I've tried a few different tools like hacpack, nscb, and nspack, but unfortunately, I haven't had much success so far. Each of the programms fails to create a nsp.

I'm wondering if any of you have experience with this and could suggest some more reliable tools or methods for converting NCAs to NSPs. I'd greatly appreciate any guidance you can provide. It's been a bit frustrating, and I'd like to find a solution that works effectively.

If you've successfully converted NCA files to NSP using your keys.dat or know of a better tool or method, please share your insights. Your help would be greatly appreciated!

Thanks in advance
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,436
Trophies
3
Age
46
Location
At my chair.
XP
19,142
Country
Colombia
Hi there fellow forum members :)

I've been on a bit of a quest recently to convert NCA files to NSP format, using my keys.dat file. I've tried a few different tools like hacpack, nscb, and nspack, but unfortunately, I haven't had much success so far. Each of the programms fails to create a nsp.

I'm wondering if any of you have experience with this and could suggest some more reliable tools or methods for converting NCAs to NSPs. I'd greatly appreciate any guidance you can provide. It's been a bit frustrating, and I'd like to find a solution that works effectively.

If you've successfully converted NCA files to NSP using your keys.dat or know of a better tool or method, please share your insights. Your help would be greatly appreciated!

Thanks in advance
Hactool

please give us more information why do you want to do it, what is your objective, I think we here will be on a X - Y paradigm (https://gbatemp.net/threads/can-som...sue-with-citric-composer.638671/post-10234332)
 

kidkat210

Well-Known Member
Member
Joined
Nov 9, 2016
Messages
1,071
Trophies
0
Age
29
XP
2,362
Country
United States
Think of nsp as the switches form of a zip file. Thats all it is. The only tool to my knowledge that can do that is hactool
 

B-alpha

Well-Known Member
OP
Member
Joined
Jul 6, 2020
Messages
100
Trophies
0
Age
23
XP
1,456
Country
Germany
First and foremost, I want to express my gratitude to impeeza and kidkat210 for your assistance. My primary goal is use my internal storage since my sd card reader is only partially working. Therefore, I would like to be able to manually trim the ROM to save internal storage space as well as gain a deeper understanding of the modification process, and create custom ROMs without having to rely on LayeredFS.

Regarding hactool I have another question. While I've known it's capable of using it to extract content, I wonder if it can also be utilized to reassemble the modified content, or if its primary function is limited to extraction.

What I've done so far is the following:
  1. created an NSP from the original ROM.
  2. From this NSP, I extracted the ROMFS folder.
  3. I made the necessary edits to the ROMFS folder to customize the game.
However, I've encountered a roadblock when it comes to reassembling the ROM into an installable NSP. So far, my achievements have been limited to converting the modified ROMFS folder back into an NCA format using hacpack.

If anyone in the community has experience with hactool's capabilities in both extracting and reassembling ROM content, or if you have alternative methods to suggest, your insights would be greatly appreciated.

Thank you all for your continued support :)
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,436
Trophies
3
Age
46
Location
At my chair.
XP
19,142
Country
Colombia
Yes hactool is the tool for unpack/pack NSP files. but all the effort you will expend on modify all games and mostly not getting them working, you better get your sd card reader repaired.
 
  • Like
Reactions: BigOnYa

PieroXd2003

Member
Newcomer
Joined
May 20, 2024
Messages
5
Trophies
0
Age
20
XP
5
Country
Peru
Yes hactool is the tool for unpack/pack NSP files. but all the effort you will expend on modify all games and mostly not getting them working, you better get your sd card reader repaired.
and how do i install hactool? When i try to open the exe nothing happens
 

PieroXd2003

Member
Newcomer
Joined
May 20, 2024
Messages
5
Trophies
0
Age
20
XP
5
Country
Peru
as you got answered on another thread:

OPEN A COMMAND LINE (CMD) ADN RUN THE COMMAND THERE, hacktool is a console app, it have not GUI
what command do i have to put there?, also, i dont know what are you talking when you are saying -2as you got answered in another thread", this is my first message in this site
 

impeeza

¡Kabito!
Member
Joined
Apr 5, 2011
Messages
6,436
Trophies
3
Age
46
Location
At my chair.
XP
19,142
Country
Colombia
what command do i have to put there?, also, i dont know what are you talking when you are saying -2as you got answered in another thread", this is my first message in this site
open a command line (CMD, powershell, etc.) and execute the command on it:

1716243785252.png


do not forget to put your prod.keys on %USERPROFILE%\switch\prod.keys they are the ones extracted from your console using PickLockRCM AND CAN NOT BE SHARED because they are copyrighted material of Big N and are unique to your console.
 
  • Like
Reactions: BigOnYa

PieroXd2003

Member
Newcomer
Joined
May 20, 2024
Messages
5
Trophies
0
Age
20
XP
5
Country
Peru
open a command line (CMD, powershell, etc.) and execute the command on it:

View attachment 438315

do not forget to put your prod.keys on %USERPROFILE%\switch\prod.keys they are the ones extracted from your console using PickLockRCM AND CAN NOT BE SHARED because they are copyrighted material of Big N and are unique to your console.
no se ve bien el comando :v
 

PieroXd2003

Member
Newcomer
Joined
May 20, 2024
Messages
5
Trophies
0
Age
20
XP
5
Country
Peru
lo único que me sale es esto:
Copy config.mk.template to config.mk, make changes as required, and then run make. If your make is not GNU make (e.g. on BSD variants), you need to call gmake instead.

If on Windows, I recommend using MinGW.

No sé que significa ni que hacer para instalar esto
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    K3Nv2 @ K3Nv2: https://youtu.be/ALcfGYLXcjQ?si=ePdtM6b0p5sWaxof