Help:Dumping games: Difference between revisions

Update outdated info about nxdt host app
m (Add disclaimer to indicate Ryujinx is not capable to dump the DLC)
(Update outdated info about nxdt host app)
Line 49: Line 49:
=== Prerequisites ===
=== Prerequisites ===
* Keys file generated using [https://github.com/Decscots/Lockpick_RCM/releases Lockpick_RCM], located at <code>sdmc:/switch/prod.keys</code>. Run the payload on your console through RCM in order to dump the keys needed by nxdumptool to decrypt contents.
* Keys file generated using [https://github.com/Decscots/Lockpick_RCM/releases Lockpick_RCM], located at <code>sdmc:/switch/prod.keys</code>. Run the payload on your console through RCM in order to dump the keys needed by nxdumptool to decrypt contents.
* [https://github.com/DarkMatterCore/nxdumptool/releases/tag/rewrite-prerelease nxdumptool rewrite] (join the discord server linked on the description of this release to get the PC host app in <code>#pre-build-files</code>).
* [https://github.com/DarkMatterCore/nxdumptool/releases/tag/rewrite-prerelease nxdumptool rewrite] (get both <code>nxdt_host.7z</code> and <code>nxdt_rw_poc.nro</code>).
* [https://zadig.akeo.ie/ Zadig] to setup the driver for dumping through USB
* [https://zadig.akeo.ie/ Zadig] to setup the driver (used for dumping through USB)


=== Dumping game files ===
=== Dumping game files ===


* First, make sure to dump your keys by injecting the '''Lockpick_RCM''' payload and selecting "Dump title keys".
* First, make sure to dump your keys by injecting the '''Lockpick_RCM''' payload and selecting "Dump title keys", then reboot to Atmosphère.


* Then, reboot to Atmosphère, open nxdumptool rewrite (''nxdt_rw_poc''), and plug the Switch to your computer with a USB cable.
* Place nxdumptool rewrite (<code>nxdt_rw_poc.nro</code>) into the switch folder of your SD card, open it through the Homebrew Launcher, and plug the Switch to your computer with a USB cable.
*With nxdumptool open, launch Zadig on your computer, and follow the driver installation instructions below
*With nxdumptool open, launch Zadig on your computer, and follow the driver installation instructions below
*# Go to <code>Options</code> and make sure <code>List all devices</code> is checked -- if not, click that option.
*# Go to <code>Options</code> and make sure <code>List all devices</code> is checked -- if not, click that option.
Line 63: Line 63:
*# Wait until the installation process finishes. If you did it correctly, Zadig should look like this:
*# Wait until the installation process finishes. If you did it correctly, Zadig should look like this:
[[File:Zadig.png|border|500x500px]]
[[File:Zadig.png|border|500x500px]]
* Open the host app downloaded from <code>#pre-build-files</code> in the official nxdumptool discord server, and click <code>Start Server</code> (if the Switch is not detected, it means you probably didn't setup the driver properly).
* Open the host app (.exe file extracted from <code>nxdt_host.7z</code>), and click <code>Start Server</code>  
* If the UI says that the Switch is not detected, make sure that nxdt is running on your Switch, that you have setup the driver properly, and that you don't have a bad USB cable.
* On nxdumptool, navigate through the menu by selecting the following options:
* On nxdumptool, navigate through the menu by selecting the following options:
*# Go to <code>user titles menu</code>, then select <code>The Legend of Zelda: Breath of the Wild</code>
*# Go to <code>user titles menu</code>, then select <code>The Legend of Zelda: Breath of the Wild</code>
Line 71: Line 72:
*# Select <code>start nca fs section dump</code>
*# Select <code>start nca fs section dump</code>
  Depending on your USB speed (2.0 or 3.0) and the quality of your cable, it may vary from 10 minutes up to an hour.
  Depending on your USB speed (2.0 or 3.0) and the quality of your cable, it may vary from 10 minutes up to an hour.
  '''It may fail if your USB cable is faulty, or if you run out of space on your computer (requires at least 14GB of available storage).'''
Just like it was previously mentioned, updates share their filesystem data with the base game, so dumping the RomFS with an update is equivalent to dumping the whole filesystem from the updated game data. In other words, it isn't necessary to dump the base game filesystem and update separately.
  '''It may fail if your USB cable is faulty, if the USB port on your PC is faulty, or if you run out of space on your computer (requires at least 14GB of available storage).'''
Just like mentioned previously, updates share their filesystem data with the base game, so dumping the RomFS with an update is equivalent to dumping the whole filesystem from the updated game data. In other words, it isn't necessary to dump the base game filesystem and update separately.


DLCs, on the other hand, must be dumped separately. If you have the DLCs installed, once the dump of the base application and update was completed, repeat previous steps from 1 to 5 again, but select <code>dump dlc</code> instead of <code>dump base application</code> on step 2.
DLCs, on the other hand, must be dumped separately. If you have the DLCs installed, once the dump of the base application and update was completed, repeat previous steps from 1 to 5 again, but select <code>dump dlc</code> instead of <code>dump base application</code> on step 2.