FS:CheckUpdatedDat

From 3dbrew
Revision as of 21:54, 22 September 2016 by Ryccardo (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Request[edit]

Index Word Description
0 Header code [0x088600C0]
1 u8 mediatype
2-3 u64 titleID

Response[edit]

Index Word Description
0 Header code
1 Result code
2 Output bool

Description[edit]

At the start this clears the output to 0. If this is all successful, it then writes value 1 to the output.

This opens archive 0x2345678A, with the input params being used with the lowpath. Then the title savedata is mounted. Then UTF-16 lowpath "/updated.dat" is used with some FS operation with the savedata (presumably to check whether the file exists).

The mere presence of an empty updated.dat is sufficient to prevent the launch of the two public pre-Amiibo versions.