content_dump - Content Dump Tool

Syntax

content_dump [<option>...] [<arg>...]

Options

-d <dev-type> Select the device where the target title is installed. Either usb or nand can be used. If omitted, the application will use nand.
<path> Select the path for the output directory. Both Cygwin path (like /cygdrive/c/temp) and Windows path (like C:\temp) expressions can be used.
If omitted, use the $CAFE_ROOT environment variable as the output path.
-t <title-id> Specify the title ID to be dumped. The title ID is represented by 16 hexadecimal digits. This option must be set to use this tool.
-v Enable to verify copied files. This feature is disabled by default.
-h Show usage.

Description

The Content Dump tool is a tool for dumping the content directory to your PC from an application installed in NAND memory on a CAT-DEV or USB storage device.

It helps to establish a least application patch, which includes appropriate data differences.

This tool for CUI only.

Limitations and Cautions

Free Space Size

This tool copies all files in the content directory to a PC from a target application in NAND memory on a CAT-DEV or USB storage device. Be sure to prepare enough free space on the destination PC.

System mode and Boot mode

This tool requires a CAT-DEV that is set to Development mode and PCFS boot mode. Without that, this tool cannot work.

Application Type

This tool can be used for game applications and application patches. If the target application is any other application type, this tool cannot work.

Link Entry

The contents of the application patch can also be dumped. The application patch includes virtual files or directories called link entries to reduce its size.

They show that the files or directories are not changed between the original and patched versions.

Using this tool, link entry files and directories are dumped as empty files and directories (respectively) with @ appended to their names.

System Requirements

This tool has been confirmed to work well on Cafe SDK 2.09.08.

How to Use - Destination

This tool creates a directory called c_<title-id> and saves the copied files to it.

By default, c_<title-id> is located below the directory indicated by the $CAFE_ROOT environment variable.

You can change the location of c_<title-id> with a command option.

Examples

Run

  1. Set Development mode and PCFS mode.
  2. Install the target application in NAND memory on a CAT-DEV or on a USB storage device connected to the CAT-DEV. For more information, see the System Config Tool section.
  3. Run the following command.
    (If the target application (title ID = 0x0005000010101000) has been installed in NAND memory)
    $ content_dump -d nand -t 0x0005000010101000
    
    (If the target application (title ID = 0x0005000010101000) has been installed in USB storage)
    $ content_dump -d usb -t 0x0005000010101000
NOTE:
In the above examples, since <path> is omitted, the appropriate environment variable is used. For more information, see the Options section.

See Also

System Config Tool: Data Manager

Revision History

2014/10/02 Placed topic in canonical API format.
2013/05/08 Automated cleanup pass.
2013/03/05 Initial version.


CONFIDENTIAL