FS:TransferSaveDataCMAC

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x8710140 Cmd 0x871 Param 5 Xlat 0
1-2 u64, Title ID
3 u8, Source Media Type
4 u8, Destination Media Type
5 bool, clear source CMAC

Response[edit]

Index Word Description
0
Header 0x8710040 Cmd 0x871 Param 1 Xlat 0
1 Result code

Description[edit]

Used by the Save Data Transfer Tool. Because the savegame CMAC header differs from one mediatype to another, this command is used after transferring the data to recalculate the header, restoring the CMAC's validity on the new media type. If clear source CMAC is set to true, the CMAC header of the savegame on the source media is cleared (set to all zeros) as well.