ACT Services: Difference between revisions

TimmSkiller (talk | contribs)
fix typo
TimmSkiller (talk | contribs)
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 411: Line 411:
| 0x3 || 0x1 || [[ACTU:GetCommonInfo|GetCommonInfo]] || Default account slot
| 0x3 || 0x1 || [[ACTU:GetCommonInfo|GetCommonInfo]] || Default account slot
|-
|-
| 0x4 || 0x8 || [[ACTU:GetCommonInfo|GetCommonInfo]] || Difference between server time and UTC device time (in nanoseconds)
| 0x4 || 0x8 || [[ACTU:GetCommonInfo|GetCommonInfo]] || NetworkTimeDifference: Difference between server time and UTC device time (in nanoseconds)
|-
|-
| 0x5 || 0x4 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || PersistentId
| 0x5 || 0x4 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || PersistentId
Line 417: Line 417:
| 0x6 || 0x8 || [[ACTU:GetCommonInfo|GetCommonInfo]]/[[ACTU:GetAccountDataBlock|GetAccountInfo]] || CommonTransferableIdBase on GetCommonInfo / TransferableIdBase on GetAccountInfo
| 0x6 || 0x8 || [[ACTU:GetCommonInfo|GetCommonInfo]]/[[ACTU:GetAccountDataBlock|GetAccountInfo]] || CommonTransferableIdBase on GetCommonInfo / TransferableIdBase on GetAccountInfo
|-
|-
| 0x7 || 0x60 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || [[ACT_Services#CFLStoreData|Mii CFLStoreData]]
| 0x7 || 0x60 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || [[Mii#CFLStoreData|Mii CFLStoreData]]
|-
|-
| 0x8 || 0x11 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || AccountId (ASCII NULL-terminated Nintendo Network ID)
| 0x8 || 0x11 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || AccountId (ASCII NULL-terminated Nintendo Network ID)
Line 444: Line 444:
| 0x8 || 0x8 || u64 TransferableIDBase
| 0x8 || 0x8 || u64 TransferableIDBase
|-
|-
| 0x10 || 0x60 || [[Mii#Mii_format|Mii]]
| 0x10 || 0x60 || [[Mii#CFLStoreData|Mii CFLStoreData]]
|-
|-
| 0x70 || (10 + 1) * 2 || 10-character UTF-16 Mii Display Name
| 0x70 || (10 + 1) * 2 || 10-character UTF-16 Mii Display Name
Line 457: Line 457:
|}
|}
|-
|-
| 0x12 || 0x4 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] ||  
| 0x12 || 0x4 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || Account server types
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
Line 487: Line 487:
| 0x1B || 0x16 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || 10-character UTF-16 Mii Name (10 characters + NULL termination)
| 0x1B || 0x16 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || 10-character UTF-16 Mii Name (10 characters + NULL termination)
|-
|-
| 0x1C || 0x11 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || ASCII NULL-termiinated NfsPassword
| 0x1C || 0x11 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || ASCII NULL-terminated NfsPassword
|-
|-
| 0x1D || 0x1 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || HasEciVirtualAccount (checks whether EciVirtualAccount has a value)
| 0x1D || 0x1 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || HasEciVirtualAccount (checks whether EciVirtualAccount has a value)
Line 507: Line 507:
|-
|-
| 0x22 || 0x29 || ASCII NULL-terminated refresh token
| 0x22 || 0x29 || ASCII NULL-terminated refresh token
|-
| 0x4B || 0x1 || padding
|}
|-
| 0x22 || 0x1 || [[ACTU:GetCommonInfo|GetCommonInfo]] || IsApplicationUpdateRequired
|-
| 0x23 || 0x4 || [[ACTU:GetCommonInfo|GetCommonInfo]] || Default account server types
{| class="wikitable" border="1"
|-
! Offset !! Size !! Description
|-
| 0x0 || 0x1 || [[ACT_Services#NNAS_.28Nintendo_Network_Authentication_Server.29_Types|NNAS (Nintendo Network Authentication Server) Type]]
|-
| 0x1 || 0x1 || [[ACT_Services#NFS_.28Nintendo_Friend_Server.29_Types|NFS (Nintendo Friend Server) Type Value]]
|-
| 0x2 || 0x1 || [[ACT_Services#NFS_.28Nintendo_Friend_Server.29_Types|NFS (Nintendo Friend Server) Number]]
|-
| 0x3 || 0x1 || padding (0)
|}
|}
|-
|-
Line 537: Line 555:
|}
|}
|-
|-
| 0x2A || 0x8 || [[ACTU:GetCommonInfo|GetCommonInfo]] || first 8 bytes of <code>SHA256 ( [[AM:GetDeviceId]]() as 4 little endian bytes + A2257354 )</code>
| 0x2A || 0x8 || [[ACTU:GetCommonInfo|GetCommonInfo]] || DeviceHash: first 8 bytes of <code>SHA256 ( [[AM:GetDeviceId]]() as 4 little endian bytes + A2257354 )</code>
|-
|-
| 0x2B || 0x1 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || FpLocalAccountId (local account ID of [[Friend_Services|friends sysmodule]])
| 0x2B || 0x1 || [[ACTU:GetAccountDataBlock|GetAccountInfo]] || FpLocalAccountId (local account ID of [[Friend_Services|friends sysmodule]])
Line 563: Line 581:
|}
|}


== CFLStoreData ==
== Mii Image Types ==
This is the Mii format used in ACT commands.
{| class="wikitable" border="1"
{| class="wikitable" border="1"
|-
|-
! Offset !! Size !! Description
! Value !! Description
|-
| 0 || Primary Mii Image
|-
| 1 || Unknown
|-
| 2 || Unknown
|-
| 3 || Unknown
|-
| 4 || Unknown
|-
| 5 || Unknown
|-
|-
| 0x0 || 0x5C || [[Mii#Mii_format|Mii Data]]
| 6 || Unknown
|-
|-
| 0x5C || 0x2 || padding
| 7 || Unknown
|-
|-
| 0x5E || 0x2 || CRC16 over the above 0x5E bytes (see [[Mii#Checksum|Mii Checksum]] for details on the algorithm)
| 8 || Unknown
|}
|}


== Timezone ==
== Timezone ==
Line 626: Line 656:
| 0x1 || 0x3 || padding
| 0x1 || 0x3 || padding
|-
|-
| 0x4 || 0x60 || [[ACT_Services#CFLStoreData|Mii CFLStoreData]]
| 0x4 || 0x60 || [[Mii#CFLStoreData|Mii CFLStoreData]]
|-
|-
| 0x64 || 0x4 || u32, PrincipalId
| 0x64 || 0x4 || u32, PrincipalId