NSP (File Format)
From Wexos's Wiki
NSP (Nintendo Submission Package) is a file format on the Nintendo Switch used for storing data used for a program, usually a game.
File Format
Header
Offset | Type | Description |
---|---|---|
0x00 | Char[4] | File magic. Always PFS0 in ASCII. |
0x04 | UInt32 | Number of files. |
0x08 | UInt32 | Size of string table in bytes, including padding. File data offsets are relative to the end of the string table. |
0x0C | UInt32 | Unknown. |
File Entry
Offset | Type | Description |
---|---|---|
0x00 | Int64 | File data offset, relative to the end of the string table. Points to the beginning of the file data. |
0x04 | Int64 | File size in bytes. |
0x08 | Int64 | Name offset, relative to the start of the string table. Points to a null-terminated string. |
Tools
The following tools can handle NSP files:
- (none)