FS:BeginSaveDataMove

From 3dbrew
Jump to navigation Jump to search

Request[edit]

Index Word Description
0
Header 0x86D0080 Cmd 0x86D Param 2 Xlat 0
1-2 u64, Title ID

Response[edit]

Index Word Description
0
Header 0x86D0080 Cmd 0x86D Param 2 Xlat 0
1 Result code
2 u32, Save data move "key"

Description[edit]

Used by the Save Data Transfer Tool. Initializes internal FS state by generating 20 random bytes of data, where the first 16 are presumably used for encryption and the other 4 are returned as a "key". After calling this, the Save Data Transfer Tool uses the "key" to open the save data for the title it's processing (ArchiveID 0x2345678A, file path [0] = 4, [1] = save move "key", [2-4] left as zeros).