AM:CommitImportPrograms: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Smea (talk | contribs)
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x04010080] |- | 1 | ? |- | 2 | ? |- | 3 | ? |- | 4 | ((Title ID size)<<4)|0xA |- ..."
 
PabloMK7 (talk | contribs)
No edit summary
 
(10 intermediate revisions by 3 users not shown)
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x04010080]
| Header code [0x040700C2]
|-
|-
| 1
| 1
| ?
| [[Filesystem_services#MediaType|Media Type]]
|-
|-
| 2
| 2
| ?
| Title count
|-
|-
| 3
| 3
| ?
| u8, cleanup (0 = no cleanup, 1 = cleanup)
|-
|-
| 4
| 4
| ((Title ID size)<<4)|0xA
| ((Title Count * 8) << 4) <nowiki>|</nowiki> 0xA
|-
|-
| 5
| 5
| Pointer to title ID
| Title IDs Pointer
|}
|}


Line 38: Line 38:


=Description=
=Description=
Finalizes CIA installation.
The input parameters for this are the same as [[AMNet:InstallTitlesFinish]]. This is an interface for [[Application_Manager_Services_PXI|AMPXI]] command 0x002A00C2. The AMPXI command used here only finalizes the install in the [[Title_Database|database]], the now-unused files under /title for the title(s) are not deleted by this. These files are deleted later.

Latest revision as of 14:29, 17 April 2025

Request

Index Word Description
0 Header code [0x040700C2]
1 Media Type
2 Title count
3 u8, cleanup (0 = no cleanup, 1 = cleanup)
4 ((Title Count * 8) << 4) | 0xA
5 Title IDs Pointer

Response

Index Word Description
0 Header code
1 Result code

Description

The input parameters for this are the same as AMNet:InstallTitlesFinish. This is an interface for AMPXI command 0x002A00C2. The AMPXI command used here only finalizes the install in the database, the now-unused files under /title for the title(s) are not deleted by this. These files are deleted later.