Difference between revisions of "ACTU:GetCommonInfo"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00050082] |- | 2 | Size |- | 3 | BlkID |- | 4 | (Size<<4) <nowiki>|</nowiki>...")
 
m (Move data blocks to main page of ACT)
 
(2 intermediate revisions by the same user not shown)
Line 12: Line 12:
 
|-
 
|-
 
| 3
 
| 3
| BlkID
+
| [[ACT_Services#DataBlocks|BlkID]]
 
|-
 
|-
 
| 4
 
| 4
Line 35: Line 35:
  
 
=Description=
 
=Description=
This returns common account info from common.dat
+
This returns common account info. This data usually comes from common.dat
 
 
=DataBlocks=
 
 
 
{| class="wikitable" border="1"
 
|-
 
!  BlkID
 
!  Size
 
!  Description
 
|-
 
| 0x1
 
| 0x1
 
| Total number of accounts
 
|-
 
| 0x2
 
| 0x1
 
| DefaultNfsNo (current account)
 
|-
 
| 0x3
 
| 0x1
 
| DefaultNfsNo? (current account?)
 
|-
 
| 0x4
 
| ?
 
| ?
 
|-
 
| 0x5
 
| ?
 
| ?
 
|-
 
| 0x6
 
| 0x8
 
| CommonTransferableIdBase
 
|}
 

Latest revision as of 23:20, 14 October 2023

Request[edit]

Index Word Description
0 Header code [0x00050082]
2 Size
3 BlkID
4 (Size<<4) | 12
5 Output buffer ptr

Response[edit]

Index Word Description
0 Header code
1 Result code

Description[edit]

This returns common account info. This data usually comes from common.dat