Difference between revisions of "AM:GetProgramInfos"

From 3dbrew
Jump to navigation Jump to search
(Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x00030084] |- | 1 | u8 Mediatype |- | 2 | Total tit...")
 
(get yourself a service who can map both?)
 
(6 intermediate revisions by 3 users 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 40: Line 40:
 
|-
 
|-
 
| 2
 
| 2
| Total listed titleIDs
+
| ((Title Count * 8) << 4) <nowiki>|</nowiki> 0xA
|}
 
 
 
=TitleList entry format=
 
{| class="wikitable" border="1"
 
 
|-
 
|-
!  Offset
+
| 3
!  Length
+
| Title IDs Pointer
!  Description
 
 
|-
 
|-
| 0x0
+
| 4
| 0x8
+
| ((Title Count * 0x18) << 4) <nowiki>|</nowiki> 0xC
| TitleID
 
 
|-
 
|-
| 0x8
+
| 5
| 0x8
+
| [[Application_Manager_Services#TitleInfo|Title Infos]] Pointer
| ?
 
|-
 
| 0x10
 
| 0x2
 
| Title version
 
|-
 
| 0x12
 
| 0x6
 
| ?
 
 
|}
 
|}

Latest revision as of 05: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