You do not have permission to edit this page, for the following reason:
The action you have requested is limited to users in one of the groups: Users, Administrators.
Free text:
NCA-NSP-XCI to LayeredFS extractor and also includes update merging code. '''Note:''' This tool (script) is deprecated. It is recommended to use [[DBI Switch|DBI]], it is more complex but also can be used to [https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/post-9503789 extract application files]. ==User guide== Add your keys.ini to the folder to use. Notes: * You still need to [https://gbatemp.net/threads/main-npdm-title-id-patcher.508242/ patch the main.npdm]. * You will have to extract the biggest NCA for Cart2 games yourself, since its a different partition than the original Cart1 games. You can use [https://github.com/StudentBlake/XCI-Explorer/releases XCI-Explorer-v1.2.2.1] for it. Extracting NCA files: * nca from a base nsp (1-2-2): 1 NCA - 2 Extract Ecrypted NCA - 2 Romfs folder. * nca from an update nsp (decrypted base nca needed) (1-3-2): 1 NCA - 3 Update (base.nca + update.nca) - 2 Romfs folder. Extracting NSP files: * extract a Base NSP (2-4): 2 eShop NSP - 4 Extract GAME Files * extract an Update NSP (2-5): 2 eShop NSP - 5 Extract UPDATE Files * To combine both copy everything from the update to the base files overwriting all. Where to find title keys: *When you extract NSPs you get *.tik file that contain title key, also some XCI carts can have it but it's for update nca not for base game. *Open *.tik file with any Hex Editor and look at 0x180 where it's in 32 characters. Notes on title key: *NCAs that come from XCI don't need title key except updates. *NCAs that come from NSP needs title key. *If Secure folder from XCI contains *.tik file then there should be update game NCA in there that needs title key. ===Other versions=== [https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/post-10096942 1.6.5 unofficial version] made by avans (2023/03/11). Changes include: * The code page of this script has been changed to UTF-8 (65001). * Two parameters, extractPause and cleanup, have been added. ** extractPause: *** y: Extract will automatically check if the titlekey file exists, display a prompt message and wait for user confirmation. *** n: Extract directly without waiting for user confirmation. ** cleanup: *** y: remove all temporary files. *** n: don't delete anything. * The Setting option has been added, which allows modifying the values of extractPause and cleanup parameters during runtime. * The LayeredFS (romfs.bin, exefs) option has been added. ** Extract Romfs to Files. ** List files in RomFS. ** Uncompressed Nintendo Shared Object (nso0). ** Npdm to JSON. * Update hactool to the latest version 1.4.0. ==Changelog== '''1.6.4 2019/07/29''' *Fix Get Titlekey from .tik file doesn't work if a foldername contains spaces. '''1.6.3 2019/07/29''' *Quick fix <Extract UPDATE Files>. (was created empty files). '''1.6.2 2019/07/29''' *New option "4. Extract GAME Files" will auto extract tk from "*.tik" file and will extract game resources, for now if you'll get any error that would mean, your keys.ini are (missing, too old for that game , etc...). '''1.6.0 2018/11/16''' *Auto retrieve title key from nsp. *Also removed keys. == External links == * GBAtemp - https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/ * GBAtemp (1.6.0) - https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/post-8381844 * GBAtemp (1.6.2) - https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/post-8735110 * GBAtemp (1.6.3) - https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/post-8735213 * GBAtemp (1.6.3 fix) - https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/post-8735241 * GBAtemp (1.6.4) - https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/post-8735685 * GBAtemp (1.6.5 unofficial) - https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/page-10 * GBAtemp - https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/post-8184093
Advertising: