Last active
January 22, 2023 14:46
-
-
Save roblabla/07a9fd4caeb08816ef97dd2ce43f642c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#------------------------------------------------------------------------------ | |
# Nintendo Switch File Formats | |
# Type: Nintendo Switch "NCA" file. (application container) | |
# From: roblabla <unfiltered@roblab.la> | |
# Reference: https://switchbrew.org/index.php/NCA_Format | |
0x3f0 string \x29\x36\x99\x60\xe9\x76\x59\xcc\x05\x49\xf7\x39\xee\x6e\xc9\xe5 Nintendo Switch NCA Container | |
# Type: Nintendo Switch "NSO" file. (executable) | |
# From: roblabla <unfiltered@roblab.la> | |
# Reference: https://switchbrew.org/index.php/NSO | |
0x000 string NSO0 Nintendo Switch NSO Executable | |
# Type: Nintendo Switch "KIP1" file. (kernel executable) | |
# From: roblabla <unfiltered@roblab.la> | |
# Reference: https://switchbrew.org/index.php/Package2 | |
0x000 string KIP1 Nintendo Switch KIP1 Executable | |
>0x010 lequad x %016llx | |
>0x004 string x (%.12s) | |
# Type: Nintendo Switch "PFS0" file (also NSP). (misc archive) | |
# From: roblabla <unfiltered@roblab.la> | |
# Reference: https://switchbrew.org/index.php/NCA_Format | |
0x000 string PFS0 Nintendo Switch PFS0 Archive | |
>0x004 lelong x containing %d files | |
# Type: Nintendo Switch "RomFS" file. (embedded filesystem) | |
# Reference: https://switchbrew.org/index.php/RomFS | |
# TODO | |
# Type: Nintendo Switch "NAX0" file. (SD file encrypted container) | |
# From: roblabla <unfiltered@roblab.la> | |
# Reference: https://switchbrew.org/index.php/NAX0 | |
0x020 string NAX0 Nintendo Switch NAX0 Container | |
# Type: Nintendo Switch "INI1" file. (KIP container) | |
# From: roblabla <unfiltered@roblab.la> | |
# Reference: https://switchbrew.org/index.php/Package2 | |
0x000 string INI1 Nintendo Switch INI1 Container | |
>0x008 lelong x containing %d processes | |
# Type: Nintendo Switch "XCI" File (Gamecard Dump) | |
# From: roblabla <unfiltered@roblab.la> | |
# Reference: https://switchbrew.org/index.php/Gamecard_Format | |
0 name gamecard-size | |
>0 byte 0xFA 1GB | |
>0 byte 0xF8 2GB | |
>0 byte 0xF0 4GB | |
>0 byte 0xE0 8GB | |
>0 byte 0xE1 16GB | |
>0 byte 0xE2 32GB | |
0x100 string HEAD | |
>(0x130.l) string HFS0 Nintendo Switch XCI Dump | |
>>0x10D use gamecard-size | |
# Type: Nintendo Switch "NPDM" Permission File. | |
# From: roblabla <unfiltered@roblab.la> | |
# Reference: https://switchbrew.org/index.php/NPDM | |
0x000 string META | |
>(0x70.l) string ACI0 | |
>>(0x78.l+0x200) string ACID Nintendo Switch NPDM File | |
>>>(0x70.l+0x10) lequad x for Title ID %016llx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment