Homebrew RELEASE Nintendo Switch SD to NSP Dumper

  • Thread starter Thread starter caitsith2
  • Start date Start date
  • Views Views 172,402
  • Replies Replies 246
  • Likes Likes 60
They appear to just be human readable files, that nobody is going to read as Switch doesn't need them. I am not sure what the point of that generated data is? My question is what documentation is BBB going by to say it's the proper way?
 
  • Like
Reactions: tiliarou
There is a problem in the tool, where if you have games in two or more different cards, the tool will fail to decrypt NCAs of the games which are not in that card.
 
Sure if the NCAs are not present on the card it can't decrypt it because it's not there. The NCAs must be present to be decrypted. I don't think that's a bug or issue if I understand you correctly.
 
Sure if the NCAs are not present on the card it can't decrypt it because it's not there. The NCAs must be present to be decrypted. I don't think that's a bug or issue if I understand you correctly.

I have games installed in two different SD cards. The tool looks for games which are not installed in my current SD card. As a result, it throws a error stating it can't find a NCA. The NCA mentioned in the error is in my second card. I believe it is due to the fact that the tool extracts all the title keys from the system, but doesn't check if the game is actually in the SD Card, but I could be wrong.
 
Last edited by eXhumer,
can you decrypt both cards and NCAs? Yea it will give an error bc NCA isn't there but upon inserting the proper card does it decrypt? I suppose the tool could be updated to say nca missing instead of error but kinda of a cosmetic thing but up to caithsith2.
 
can you decrypt both cards and NCAs? Yea it will give an error bc NCA isn't there but upon inserting the proper card does it decrypt? I suppose the tool could be updated to say nca missing instead of error but kinda of a cosmetic thing but up to caithsith2.

It won't let me decrypt either card because it thinks all the games from both the cards are in a single card, and the decryption process halts if an error occurs. As a result, I can't decrypt any of the cards.
 
How do I even use this?

The readme text included gives step by step instructions.

--------------------- MERGED ---------------------------

It won't let me decrypt either card because it thinks all the games from both the cards are in a single card, and the decryption process halts if an error occurs. As a result, I can't decrypt any of the cards.

Oh in that case you need to talk to caithsith2 and figure out what the bug or issue is. That is a problem for sure :sad:
 
Version 1.08
  • personal_keys.txt now only includes keys not yet in the database.
  • No longer depends on hactool or create temp files while parsing the ncas.
  • NSPs no longer have *.cnmt.xml. (This file like all of the other xml files and even jpeg files, is 100% derived from the ncas themselves, and is only used for Nintendo's lot check process before final release. (Don't bother asking for the xml files in my tool.))
  • Read tickets more efficiently
  • Get the release date AND time of pre-ordered eshop games.
  • Title key decryption sped up.
  • Added means to output common_keys.txt (and a formatted version for use in cdnsp tools to download updates.)
 
reading that whole Read me file, it seems way to complicated or is it me?
I did install a driver and I can start my Switch with some files, but I cannot see a drive at all on my PC.
How do I get that visible?
 
Not just you it's complicated :( So you installed the hac disk mount drivers on the PC. Now you need to move onto Step 7: Open up rawnand.bin (that's your NAND dump from your SD card - not your Switch!).

Your switch never needs to be connected to the PC unless it is to execute a payload to get into RCM and then to dump the NAND.

You probably should start with dumping your NAND: https://gbatemp.net/threads/backup-restore-your-nand-get-your-biskeys-tseckeys-keys-txt-guide.513386

aah ok.. I did dump my NAND before I I was linking it, but then it needed all those keys etc, and that's when I stopped lol.
I will make a backup of my nand file first, just in case

do I need to open the Nand ON the SD card where all my downloads are at?
 
Yea the keys are a pain in the neck lol

I just copy my entire SD Card w/ my NAND to the HDD and do it from there. I don't think the NAND has to be in a specific place but to avoid any errors just leave it there as we know it works :)
 
Yea the keys are a pain in the neck lol

I just copy my entire SD Card w/ my NAND to the HDD and do it from there. I don't think the NAND has to be in a specific place but to avoid any errors just leave it there as we know it works :)


Oh you can do that? I tried, and nothing was showing.. Guess I did something wrong lol
 
Yea I copy the entire contents of the SD card over to a dir and run it from there. It should work. If not you can try doing it right from the SD card, really shouldn't make a difference except speed.
 
  • Like
Reactions: pka4916
Yea I copy the entire contents of the SD card over to a dir and run it from there. It should work. If not you can try doing it right from the SD card, really shouldn't make a difference except speed.
copying 256 Gb as we speak.
made a copy of the NAND, since I saw that you are going to edit it with those keys. always makes a paranoid lol
 
Following the steps, but keep getting an Error

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.Runtime.InteropServices.ExternalException (0x80004005): A generic error occurred in GDI+.
at System.Drawing.Bitmap..ctor(Stream stream)
at SwitchSDTool.ControlNACP..ctor(Romfs romfs, String baseTitleID) in H:\DevProjects\SwitchSDTool\SwitchSDTool\ControlNACP.cs:line 67
at SwitchSDTool.Form1.ReadControlInfo(String titleID, CnmtContentEntry entry) in H:\DevProjects\SwitchSDTool\SwitchSDTool\Form1.cs:line 962
at SwitchSDTool.Form1.btnParseNCA_Click(Object sender, EventArgs e) in H:\DevProjects\SwitchSDTool\SwitchSDTool\Form1.cs:line 1512
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ButtonBase.WndProc(Message& m)
at System.Windows.Forms.Button.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3132.0 built by: NET472REL1LAST
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
SwitchSDTool
Assembly Version: 1.0.8.0
Win32 Version: 1.0.8.0
CodeBase: file:///H:/switch%20downloads/SwitchSDTool%201.08/SwitchSDTool.exe
----------------------------------------
System.Windows.Forms
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3151.0 built by: NET472REL1LAST_B
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Numerics
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
libhac
Assembly Version: 1.0.0.0
Win32 Version: 1.0.8.0
CodeBase: file:///H:/switch%20downloads/SwitchSDTool%201.08/SwitchSDTool.exe
----------------------------------------
System.Core
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3056.0 built by: NET472REL1
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Newtonsoft.Json
Assembly Version: 11.0.0.0
Win32 Version: 1.0.8.0
CodeBase: file:///H:/switch%20downloads/SwitchSDTool%201.08/SwitchSDTool.exe
----------------------------------------
System.Runtime.Serialization
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Data
Assembly Version: 4.0.0.0
Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Numerics.Vectors
Assembly Version: 4.1.4.0
Win32 Version: 1.0.8.0
CodeBase: file:///H:/switch%20downloads/SwitchSDTool%201.08/SwitchSDTool.exe
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.




.net 4.7.1 or higher is already installed.
Also I see a list of all the games (I think) but it's all numbers, I don't see any titles or icons. so no clue what they all are
 
Last edited by pka4916,

Site & Scene News

Popular threads in this forum