Help:Dumping games: Difference between revisions

Added the web version of Dumpling to the Wii U section as an additional method
Nebroc (talk | contribs)
Updated Lockpick_RCM link since development has move ryu's git and latest version is required for firmware 20
 
(10 intermediate revisions by 2 users not shown)
Line 14: Line 14:


# Insert an SD card into your Wii U.
# Insert an SD card into your Wii U.
# Before running Dumpling, disable auto power off and standby on your Wii U.
# Insert any USB devices or game discs you’d like to use in the dump process.
# Insert any USB devices or game discs you’d like to use in the dump process.
# Launch the Internet Browser app.
# Launch the Internet Browser app.
Line 36: Line 37:


== Switch ==
== Switch ==
Dump the game files directly to your SD card using nxdumptool. Update data can only be processed if the base game is available, because they share the same filesystem. DLCs don't, so they have to be dumped separately.


'''Warning''': If you misbehave (piracy, online cheating or anything equally stupid), you might get banned from Nintendo online services. If you do not want to leave any traces, turn on airplane mode, back up your eMMC '''before running any homebrew''' and do not ever go online before you have restored the backup.
'''Warning''': If you misbehave (piracy, online cheating or anything equally stupid), you might get banned from Nintendo online services. If you do not want to leave any traces, turn on airplane mode, back up your eMMC '''before running any homebrew''' and do not ever go online before you have restored the backup.


=== Prerequisites ===
=== Dumping from emulators ===
* [https://github.com/DarkMatterCore/nxdumptool nxdumptool].
 
* Keys file generated using [https://github.com/shchmue/Lockpick_RCM 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.
If you already have the game setup on a Switch emulator, you do not need to follow any of the steps with nxdumptool on your Switch. Right click the game in your emulator and:
 
* ''<code>Extract data</code>'' > <code>''RomFS''</code> ('''[https://ryujinx.app Ryujinx]''')
* ''<code>Dump RomFS</code>'' > <code>''Dump RomFS''</code> > <code>''Full''</code> ('''Yuzu''')
 
=== Dumping from a Switch ===
 
Dump the game files directly to your PC using nxdumptool. Update data can only be processed if the base game is available, because they share the same filesystem. DLCs don't, so they have to be dumped separately.
 
====Prerequisites====
* Keys file generated using [https://git.ryujinx.app/archive/lprcm/-/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] (get both <code>nxdt_host.7z</code> and <code>nxdt_rw_poc.nro</code>).
* [https://zadig.akeo.ie/ Zadig] to setup the driver (used for dumping through USB)
 
====Setting up the driver====
 
# First, make sure to dump your keys by injecting the '''Lockpick_RCM''' payload and selecting "Dump title keys", then reboot to Atmosphère.
# 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
# Go to <code>Options</code> and make sure <code>List all devices</code> is checked -- if not, click that option.
# Using the dropdown list with USB devices, select the name of the NRO you launched on your Switch (e.g. <code>nxdt_rw_poc</code>).
# Change the <code>Driver</code> dropdown on the right to <code>libusbK</code> (the actual version number doesn't matter).
# Wait until the installation process finishes. If you did it correctly, Zadig should look like this:
[[File:Zadig.png|border|500x500px]]
 
 
====Dumping game files (romfs)====


=== Dumping game files ===
# Open the host app (.exe file extracted from <code>nxdt_host.7z</code>), and click <code>Start Server</code>  
* On your Switch, open nxdumptool. Afterwards:
# 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.
*# '''If you have the gamecard''': Select <code>Dump gamecard content</code>.
# On nxdumptool, navigate through the menu by selecting the following options:
*# '''If you have the eShop version''': Select <code>Dump SD card / eMMC content</code>, then select BotW.
## Go to <code>user titles menu</code>, then select <code>The Legend of Zelda: Breath of the Wild</code>
* Select <code>RomFS options</code>.
## Select the following options: <code>nca / nca fs dump options</code> -> <code>dump base application</code> -> <code>Program #0</code> -> <code>FS section #2: RomFS</code>
* Highlight the <code>Use update/DLC</code> option and use the left/right buttons to cycle through the available updates/DLCs for the game.
## On the line with <code>use base/patch title</code>: select the installed update
*# '''If you have no available updates/DLCs''', this option won't appear. You'll only be able to dump the files from the non-updated base game (which is the same to just leaving this option set to <code>No</code>).
## On the line with <code>output storage</code>: select <code>usb host (pc)</code>
*# Updates are tagged as <code>(UPD)</code>, and they use <code>01007EF00011E800</code> as their ID. v786432 (0.0.12.0) corresponds to BotW v1.6.0 update.
## Select <code>start nca fs section dump</code>
*# DLCs are tagged as <code>(DLC)</code>. <code>01007EF00011F001</code> and <code>01007EF00011F002</code> are the known IDs for the existent BotW DLCs.
* Select <code>RomFS section data dump</code> and wait for the process to finish. This will dump the internal filesystem from the selected update/DLC to the inserted SD card.


Just like it was previously mentioned, updates share their filesystem data with the base game, so dumping the RomFS from 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 separately if you choose an update.
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, if the USB port on your PC is faulty, or if you run out of space on your computer (dumping BotW requires at least 14GB of available storage).'''


DLCs, on the other hand, must be dumped separately.
'''Dumping DLCs'''


When you're done, you'll be able to find the output dumps in <code>sdmc:/switch/nxdumptool/RomFS</code>.
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.


It is recommended to copy these dumps to your PC, for use with modding tools and to free up space on your SD card.
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.
# Updates are tagged as <code>(UPD)</code>, and they use <code>01007EF00011E800</code> as their ID. v786432 (0.0.12.0) corresponds to BotW v1.6.0 update.
# DLCs are tagged as <code>(DLC)</code>. <code>01007EF00011F001</code> and <code>01007EF00011F002</code> are the known IDs for the existent BotW DLCs.
When you're done, you'll be able to find the output dumps under <code>NCA FS\Extracted</code> in the nxdumptool host app folder.


=== Dumping binaries (executable files) ===
=== Dumping binaries (executable files) ===