Line 4:
Line 4:
While system updates are generally referred to by version, the [[Wii]] does not store a firmware version anywhere, besides the System Menu version, although not all system updates come with a System Menu (for example, the [[Oct. 23 Update]]).
While system updates are generally referred to by version, the [[Wii]] does not store a firmware version anywhere, besides the System Menu version, although not all system updates come with a System Menu (for example, the [[Oct. 23 Update]]).
+
+
== Update process ==
+
<!-- Is this done by IOS or sysmenu? -->
+
Updating begins either through an update button in system settings, or when a disc is inserted that requires a later update. In the case of an update through system settings, known as an online update, the set of titles to be updated is downloaded from [[NUS]]. On the other hand, if it occurs due to a disc being inserted, known as a disc update, the update contents are simply retrieved from the update partition.
+
+
After this, each title's version number is compared to the version number in the update data. For each title with a version number higher than that on the [[Hardware/NAND|NAND]], and each title that does not already exist on the NAND, the title contents are copied to [[:/import]] to be updated.
+
+
For each title updated, the title is simply renamed to be placed in [[:/title]], also removing the old title. The first title to be updated is [[boot2]], whose contents are read from title 1-1 and passed to ES_ImportBoot in [[:/dev/es]], in an attempt to safely update both copies of boot2. After this, the [[System Menu]] [[IOS]] is installed, followed by the System Menu. The rest of the updated titles have no predictable order.
[[Category:Official software]]
[[Category:Official software]]
{{Navbox system menu versions|skipCat=yes}}
{{Navbox system menu versions|skipCat=yes}}