SaveDataFiler SaveDataFiler tool provides features to view, import, and export the following types of data.SaveDataFiler binary is in the following location in the CTR-SDK.
$CTRSDK_ROOT/tools/TargetTools/CTR-TS/Release/SaveDataFiler.ciaCopy the above binary to an SD Card, and import it from DevMenu to the system's NAND memory. After that, it can be launched from the HOME Menu. (It can also be launched from
DevMenu.)SaveDataFiler is no exception; it cannot access expanded save data that was created on another system. If you want to use expanded save data on another system, you must first export it to an SD Card (see Writing to SD Cards), and then import it once more to the system that you want to access it from. In other words, you must import the SaveDataFiler on both the original system, and the system you want to access the data from.
.cci file for application B to the CTR card.SaveDataFiler and export the save data.SaveDataFiler from a CTR card (or emulation memory).
$CTRSDK_ROOT/tools/TargetTools/CTR-TS/Release/SaveDataFiler.csuUse the debugger to write the binary above to the CTR card (or to load it into emulation memory). You can also start it from the HOME or Test Menu.
SaveDataFiler itself does not store save data, it cannot access backup devices when it is launched from a CTR card (or emulation memory). An error such as the following is displayed on the screens.
<Upper Screen>
File Type : broken user save data Level : -7 Summary: 9 Module : 17 Desc : 230
<Lower Screen>
CTR Card -- broken --Import the
SaveDataFiler into system NAND memory, and use this information to import and export user save data to and from backup memory. | Button | Operation |
|---|---|
| Shared | |
| ↑↓ | Move the cursor within the list |
| ←→ | Change tab |
| A | Select / Run |
| B | Cancel |
| L+R+START | Initializes shared expanded save data.※(Note: See Initializing Shared Expanded Save Data) |
| List Display Mode (User Tab) | |
| X | Write selected save data back to factory defaults |
| Y | Write the selected save data to the SD Card (Note: See Writing to SD Cards) |
| R+Y | Write the rollback prevention values for the selected save data to the SD Card (Note: See Rollback Prevention Values) |
| R+X | Delete the rollback prevention values for the selected save data (Note: See Rollback Prevention Values) |
| List Display Mode (Ext Tab) | |
| X | Deletes save data |
| Y | Write the save data to the SD Card (Note: See Writing to SD Cards) |
| Filer Mode | |
| X | Delete the selected item |
| R+Y | Thoroughly destroy the selected files (Note: See Destroying Files) |
| L+Y | Destroy only the selected files (not supported for rendundant save data). (Note: See Destroying Files.) |
SaveDataFiler to write save data and expanded save data to SD Cards.
sdmc:/filer/
+--- UserSaveData/
| +--- <The date and time saved>/
| +--- <Unique ID>/ ←Data is saved below here.
| +--- <Unique ID& gt.dat ← File that contains format parameters.
+--- ExtData/
| +--- <The date and time saved>/
| +--- <expanded save data number>/ ←Data is saved below here.
| +--- <expanded save data number>.dat ←File storing format parameters.
+--- SecureValue/
+--- <The date and time saved>/
+--- <expanded save data number>/ ←Data is saved below here.
+--- SecureValue.dat ←File that stores format parameters.
Data saved in the previous locations can be restored from the SD Tab. nn::fs::ResultVerificationFailed error is returned when they are loaded using functions from the FS library. You can use this to test error processing for files that are damaged when a card is removed during a write or a when a file is illegally spoofed.
Revision : 34302 --- (1)
File Type : file --- (2)
| LimitSize | LimitDir | LimitFile | Dup | --- (3)
| --- | 16 | 16 | ON |
Level : -5
Summary: 8
Module : 17
Desc : 392 --- (4)
File Size : 1024 bytes --- (5)
X: delete this file --- (6)
R+Y: destroy this file
:
| Number | Description | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| (1) | Revision number for the SaveDataFiler. | ||||||||
| (2) | Indicates the type of item selected in the lower screen. | ||||||||
| (3) | When the item selected on the lower screen is an archive, the format parameters of that archive are displayed. Their meanings are as follows.
| ||||||||
| (4) | When an error occurs during an archive mount or during an operation on an item selected from the lower screen, its Result value is displayed.To learn more about the content of errors, see the Description List for the fs library. | ||||||||
| (5) | When the item selected in the lower screen is a file, its size is displayed. -1 is displayed if the size could not be obtained. | ||||||||
| (6) | The operations guide is displayed. |
CTR Card F7FFF FFFFF :If an archive is corrupted, the corresponding
Result value appears on the upper screen when it is mounted.
../ Dir1/ Dir2/ File1 File2 : Read Error (0-512) File3 :When an error has occurred during file operations, such as a damaged file, the filename is displayed in red. To display the corresponding
Result value on the upper screen, align the cursor with the filename. | View | Description |
|---|---|
| Open Error | nn::fs::FileStream::TryInitialize returned an error. There was a failure in opening the file. |
| Read Error | nn::fs::FileStream::TryRead returned an error. There was a failure when reading the file.At the same time, the byte at which the read error occurred in the file is also displayed. SaveDataFiler reads in units of 1 MB, so the actual region where the error occurs may be smaller than this. This may also appear when there is an unwritten area in the file. See the note to nn::fs::ResultVerificationFailed for details.
|
| Size Error | nn::fs::FileStream::TryGetSize returned an error. There was a failure in getting the file size (metadata).However, if the system fails to get the metadata, it will also fail to open the file. Thus, an Open Error will generally be displayed. |
00000001 00000002 -- broken -- 00000003 :When an archive is corrupt (when the
nn::fs::MountExtSaveData function returns an error), the number is displayed in red. When the cursor is aligned above the filename, the result value is displayed in the upper screen.
user : 20110101000000 : 00000000 user : 20110101121530 : 000f7fff ext : 20110101000000 : 00000001 ext : 20110102141516 : 00000002 : : : (1) (2) (3)
| Number | Description | ||||||
|---|---|---|---|---|---|---|---|
| (1) | Indicates the data type.
| ||||||
| (2) | This is the directory name (the date and time saved) on the SD Card. | ||||||
| (3) | The meaning of this item depends on the save data type.
|
ctr_FilerDataMigrator.
SaveDataFiler.SaveDataFiler.CONFIDENTIAL