NIMU:CommitSystemTitles: Difference between revisions

From 3dbrew
Jump to navigation Jump to search
Created page with "=Request= {| class="wikitable" border="1" |- ! Index Word ! Description |- | 0 | Header code [0x0004....] |} =Response= {| class="wikitable" border="1" |- ! Index Word ! Des..."
 
Steveice10 (talk | contribs)
No edit summary
 
(2 intermediate revisions by 2 users not shown)
Line 6: Line 6:
|-
|-
| 0
| 0
| Header code [0x0004....]
| Header code [0x00040000]
|}
|}


Line 16: Line 16:
|-
|-
| 0
| 0
| Header code
| Header code [0x00040040]
|-
|-
| 1
| 1
Line 23: Line 23:


=Description=
=Description=
This finishes installing titles to /title which were already installed to temporary NAND directories.
Commits pending system update titles, replacing the current titles.
 
This copies the titleIDs of system titles which did not have installation finalized yet(which were already downloaded), to a title-list buffer. If there's any titles which were not completely downloaded, where TWL titles with titleID-high bit0 is set, or CTR titles with titleID-high bit5 set, NIM will then return without using any AM commands. NIM will then use [[AMNet:InstallTitlesFinish]](mediatype=NAND) with the above title-list buffer, and then use command [[AMNet:FinishInstallToMedia]](mediatype=NAND).

Latest revision as of 05:25, 3 March 2023

Request

Index Word Description
0 Header code [0x00040000]

Response

Index Word Description
0 Header code [0x00040040]
1 Result code

Description

Commits pending system update titles, replacing the current titles.

This copies the titleIDs of system titles which did not have installation finalized yet(which were already downloaded), to a title-list buffer. If there's any titles which were not completely downloaded, where TWL titles with titleID-high bit0 is set, or CTR titles with titleID-high bit5 set, NIM will then return without using any AM commands. NIM will then use AMNet:InstallTitlesFinish(mediatype=NAND) with the above title-list buffer, and then use command AMNet:FinishInstallToMedia(mediatype=NAND).