Help:Dumping games: Difference between revisions
Jump to navigation
Jump to search
no edit summary
imported>Leoetlino m (16 revisions imported) |
imported>Leoetlino No edit summary |
||
Line 1: | Line 1: | ||
In order to get a copy of the [[content]] files and [[executable]], you will need to dump | In order to get a copy of the [[content]] files and [[executable]], you will need to dump the game from a console. This article provides instructions for Switch users. | ||
== Switch == | == Switch == | ||
Line 9: | Line 6: | ||
# Dump the update NCA. | # Dump the update NCA. | ||
# Extract the romfs to get a copy of the content files. | # Extract the romfs to get a copy of the content files. | ||
=== Prerequisites === | === Prerequisites === | ||
Line 19: | Line 14: | ||
*# Copy the keys file from your SD to <code>$HOME/.switch/prod.keys</code>. | *# Copy the keys file from your SD to <code>$HOME/.switch/prod.keys</code>. | ||
'''In the instructions below, every time you are dumping a NSP, turn on the "Remove console specific data" and "Generate ticket-less dump" options | '''In the instructions below, every time you are dumping a NSP, turn on the "Remove console specific data" and "Generate ticket-less dump" options. This is not a best practice but should make extraction easier.''' | ||
=== Dumping the base NCA === | === Dumping the base NCA === | ||
Because of how updates work on Switch, the base NCA must be dumped even if you're only interested in | Because of how updates work on Switch, the base NCA must be dumped even if you're only interested in a specific game update. | ||
* On your Switch, open nxdumptool. | * On your Switch, open nxdumptool. | ||
* '''If you have the game card''': Select "Dump gamecard content". | * '''If you have the game card''': Select "Dump gamecard content". | ||
* '''If you have the eShop version''': Select "Dump SD card / eMMC content". Select | * '''If you have the eShop version''': Select "Dump SD card / eMMC content". Select the game. | ||
* Select "NSP dump". If asked to, select "Dump base application NSP". | * Select "NSP dump". If asked to, select "Dump base application NSP". | ||
* Copy the NSP to a computer, then extract it by running the command <code>hactool -t pfs0 [path to the NSP] --outdir [folder where to place the NCAs]</code> {{CLI help}}. The main NCA will be found in the folder you've told hactool to extract the files to | * Copy the NSP to a computer, then extract it by running the command <code>hactool -t pfs0 [path to the NSP] --outdir [folder where to place the NCAs]</code> {{CLI help}}. The main NCA will be found in the folder you've told hactool to extract the files to. | ||
=== Dumping the update === | === Dumping the update === | ||
* On your Switch, open nxdumptool again. | * On your Switch, open nxdumptool again. | ||
* '''If you have a | * '''If you have a game card that does not include the latest update''': | ||
** Select "Dump SD card / eMMC content". | ** Select "Dump SD card / eMMC content". | ||
** Press Y to "dump installed content with missing base application". | ** Press Y to "dump installed content with missing base application". | ||
** Select | ** Select 01006BB00C6F0800 (this is the update title). | ||
** Select "Start NSP dump process". | ** Select "Start NSP dump process". | ||
* '''If you have a | * '''If you have a game card that includes the latest update''': | ||
** Select "Dump gamecard content". | ** Select "Dump gamecard content". | ||
** Select "NSP dump", then select "Dump installed update NSP". | ** Select "NSP dump", then select "Dump installed update NSP". | ||
* '''If you have the eShop version''': | * '''If you have the eShop version''': | ||
** Select "Dump SD card / eMMC content". Select | ** Select "Dump SD card / eMMC content". Select the game. | ||
** Select "NSP dump", then select "Dump installed update NSP". | ** Select "NSP dump", then select "Dump installed update NSP". | ||
* Copy the NSP to a computer, then extract it by running the command <code>hactool -t pfs0 [path to the NSP] --outdir [folder where to place the NCAs]</code> {{CLI help}}. You now have the update NCA (see [[Versions]] for NCA hashes). | * Copy the NSP to a computer, then extract it by running the command <code>hactool -t pfs0 [path to the NSP] --outdir [folder where to place the NCAs]</code> {{CLI help}}. You now have the update NCA (see [[Versions]] for NCA hashes). | ||
Line 53: | Line 48: | ||
hactool -x -t nca path/to/update.nca --basenca path/to/base.nca --exefsdir where/to/extract/the/exefs | hactool -x -t nca path/to/update.nca --basenca path/to/base.nca --exefsdir where/to/extract/the/exefs | ||
[[Category:Guides]] | [[Category:Guides]] |