More actions
(Created page with "{{Infobox Switch Homebrews |title=NCA-NSP-XCI to LayeredFS Extractor |image=ncanspxcitolayeredfsextractorswitch.png |description=Extract NSP, NCA, XCI, Update all in one tool for LayeredFS. |author=huma_dawii |lastupdated=2018/11/16 |type=PC Utilities |version=1.6 |license=Mixed |download=https://dlhb.gamebrew.org/switchhomebrews/ncanspxcitolayeredfsextractorswitch.7z |website=https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/ |s...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{Infobox Switch Homebrews | {{Infobox Switch Homebrews | ||
|title=NCA-NSP-XCI to LayeredFS | |title=NCA-NSP-XCI to LayeredFS | ||
|image= | |image=ncanspxcitolayeredfsnx.png | ||
|description=Extract NSP, NCA, XCI, Update all in one tool for LayeredFS. | |description=Extract NSP, NCA, XCI, Update all in one tool for LayeredFS. | ||
|author= | |author=Assasin1990 | ||
|lastupdated= | |lastupdated=2019/07/29 | ||
|type=PC Utilities | |type=PC Utilities | ||
|version=1.6 | |version=1.6.4 | ||
|license=Mixed | |license=Mixed | ||
|download=https://dlhb.gamebrew.org/switchhomebrews/ | |download=https://dlhb.gamebrew.org/switchhomebrews/ncanspxcitolayeredfsnx.7z | ||
|website=https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/ | |website=https://gbatemp.net/threads/extract-nsp-nca-xci-update-all-in-one-tool-for-layeredfs.511156/ | ||
|source= | |source= | ||
|donation= | |donation= | ||
}} | }} | ||
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. | |||
Extract NSP | 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. | |||
To unpack a NCA file choose: | |||
* 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: | |||
* 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 everthing from the update to the base files overwriting all. Keep in mind that this steps extract only the Program NCAs.) | |||
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. | |||
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. | |||
== | ===Other versions=== | ||
https:// | [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). With added features: | ||
* 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== | ==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 == | == 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 |
Revision as of 10:23, 7 Haziran 2023
NCA-NSP-XCI to LayeredFS | |
---|---|
General | |
Author | Assasin1990 |
Type | PC Utilities |
Version | 1.6.4 |
License | Mixed |
Last Updated | 2019/07/29 |
Links | |
Download | |
Website | |
NCA-NSP-XCI to LayeredFS extractor and also includes update merging code.
Note: This tool (script) is deprecated. It is recommended to use DBI, it is more complex but also can be used to extract application files.
User guide
Add your keys.ini to the folder to use.
Notes:
- You still need to 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 XCI-Explorer-v1.2.2.1 for it.
To unpack a NCA file choose:
- 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:
- 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 everthing from the update to the base files overwriting all. Keep in mind that this steps extract only the Program NCAs.)
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.
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.
Other versions
1.6.5 unofficial version made by avans (2023/03/11). With added features:
- 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.
- extractPause:
- 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