NPDM: Difference between revisions

No edit summary
No edit summary
Line 37: Line 37:
| 0xC
| 0xC
| 0x1
| 0x1
| [[#Flags]]
| [[#Flags|Flags]]
|-
|-
| 0xD
| 0xD
Line 45: Line 45:
| 0xE
| 0xE
| 0x1
| 0x1
| [[#MainThreadPriority]]
| [[#MainThreadPriority|MainThreadPriority]]
|-
|-
| 0xF
| 0xF
Line 57: Line 57:
| 0x14
| 0x14
| 0x4
| 0x4
| [3.0.0+] [[#SystemResourceSize]]
| [3.0.0+] [[#SystemResourceSize|SystemResourceSize]]
|-
|-
| 0x18
| 0x18
| 0x4
| 0x4
| [[#Version]]
| [[#Version|Version]]
|-
|-
| 0x1C
| 0x1C
| 0x4
| 0x4
| [[#MainThreadStackSize]]
| [[#MainThreadStackSize|MainThreadStackSize]]
|-
|-
| 0x20
| 0x20
Line 157: Line 157:
| 0x20C
| 0x20C
| 0x4
| 0x4
| [[#Flags]]
| [[#Flags_2|Flags]]
|-
|-
| 0x210
| 0x210
Line 267: Line 267:


= FsAccessControl =
= FsAccessControl =
For [[#ACID]] this is a simple descriptor as follows:
For [[#ACID|ACID]] this is a simple descriptor as follows:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 284: Line 284:
| 0x4
| 0x4
| 0x8
| 0x8
| [[#FsAccessFlag]]
| [[#FsAccessFlag|FsAccessFlag]]
|-
|-
| 0xC
| 0xC
Line 291: Line 291:
|}
|}


For [[#ACI0]] this embeds data as follows:
For [[#ACI0|ACI0]] this embeds data as follows:
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 308: Line 308:
| 0x4
| 0x4
| 0x8
| 0x8
| [[#FsAccessFlag]]
| [[#FsAccessFlag|FsAccessFlag]]
|-
|-
| 0xC
| 0xC
Line 328: Line 328:
| 0x1C
| 0x1C
| 0x4
| 0x4
| (OPTIONAL) Amount of content owner id's
| (Optional) Amount of content owner id's
|-
|-
| 0x1C
| 0x1C
Line 334: Line 334:
| Content owner ID's as uint64's.
| Content owner ID's as uint64's.
|-
|-
| VARIABLE
| Variable
| 0x4
| 0x4
| Amount of save owner id's
| Amount of save owner id's
|-
|-
| VARIABLE
| Variable
| 0x1 * Save data owner accessibilities (?)
| 0x1 * Save data owner accessibilities (?)
| Sets flags for what save data owners can do with other applications save data (?)
| Sets flags for what save data owners can do with other applications save data (?)
|-
|-
| VARIABLE (Pad to nearest 4 bytes)
| Variable (Padded to nearest 4 bytes)
| 0x8 * Amount of save owner ID's
| 0x8 * Amount of save owner ID's
| Save data owner ID's
| Save data owner ID's
Line 518: Line 518:


= Service Access Control =
= Service Access Control =
This is a list of [[Services_API|service]]-name strings which the title has access to.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 532: Line 534:
| Name
| Name
|}
|}
This is a list of [[Services_API|service]]-name strings which the title has access to.


The service name string starts after the first byte and supports the wildcard <code>*</code> character.
The service name string starts after the first byte and supports the wildcard <code>*</code> character.