Difference between revisions of "AM:GetProgramInfos"

From 3dbrew
Jump to navigation Jump to search
m (Steveice10 moved page AMNet:ListTitles to AM:GetTitleInfo: Consistency)
(get yourself a service who can map both?)
 
(3 intermediate revisions by one other user not shown)
Line 9: Line 9:
 
|-
 
|-
 
| 1
 
| 1
| u8 [[FS:OpenArchive#Mediatypes|Mediatype]]
+
| [[Filesystem_services#MediaType|Media Type]]
 
|-
 
|-
 
| 2
 
| 2
| Total titles
+
| Title Count
 
|-
 
|-
 
| 3
 
| 3
| (TitleIDList_Size<<4) <nowiki>|</nowiki> 10
+
| ((Title Count * 8) << 4) <nowiki>|</nowiki> 0xA
 
|-
 
|-
 
| 4
 
| 4
| [[AMNet:GetTitleIDList|TitleIDList]] pointer
+
| Title IDs Input Pointer
 
|-
 
|-
 
| 5
 
| 5
| (TitleList_Size<<4) <nowiki>|</nowiki> 12
+
| ((Title Count * 0x18) << 4) <nowiki>|</nowiki> 0xC
 
|-
 
|-
 
| 6
 
| 6
| TitleList pointer
+
| [[Application_Manager_Services#TitleInfo|Title Infos]] Output Pointer
 
|}
 
|}
  
Line 38: Line 38:
 
| 1
 
| 1
 
| Result code
 
| Result code
|}
 
 
=TitleList entry format=
 
{| class="wikitable" border="1"
 
 
|-
 
|-
!  Offset
+
| 2
!  Length
+
| ((Title Count * 8) << 4) <nowiki>|</nowiki> 0xA
!  Description
 
 
|-
 
|-
| 0x0
+
| 3
| 0x8
+
| Title IDs Pointer
| TitleID
 
 
|-
 
|-
| 0x8
+
| 4
| 0x8
+
| ((Title Count * 0x18) << 4) <nowiki>|</nowiki> 0xC
| Total title size
 
 
|-
 
|-
| 0x10
+
| 5
| 0x2
+
| [[Application_Manager_Services#TitleInfo|Title Infos]] Pointer
| Title version
 
|-
 
| 0x12
 
| 0x6
 
| ?
 
 
|}
 
|}

Latest revision as of 06:01, 26 October 2017

Request[edit]

Index Word Description
0 Header code [0x00030084]
1 Media Type
2 Title Count
3 ((Title Count * 8) << 4) | 0xA
4 Title IDs Input Pointer
5 ((Title Count * 0x18) << 4) | 0xC
6 Title Infos Output Pointer

Response[edit]

Index Word Description
0 Header code
1 Result code
2 ((Title Count * 8) << 4) | 0xA
3 Title IDs Pointer
4 ((Title Count * 0x18) << 4) | 0xC
5 Title Infos Pointer