ctr_makeciaarchive

Description

ctr_makeciaarchive is a tool to create CFA files that contain CIA files.
CFA files created with ctr_makeciaarchive can be included in CCI files by using the -content option of ctr_makerom.
Use this tool when the CCI file includes the child device distributed with download play.

How to Use

What Is Required

The following files are required to create CFA files by using ctr_makeciaarchive.

Commands

% ctr_makeciaarchive32 -cia CIA_FILEPATH1 CIA_FILEPATH2 {...} [--romfs-root ROMFS_ROOT] [-rsf RSF_FILEPATH] -o CFA_OUTPATH

Options

Options Description
-cia Specify one or more CIA files included in CFA. Each client device CIA file must have a different ChildIndex specified.
--romfs-root Specifies the ROMFS root folder (the folder where the CIA file is temporarily copied) when creating the CFA file. When the specified folder does not exist, an attempt to create it is automatically made. If the option is not specified, a Windows standard temporary file is created in the work region and is deleted after the CFA file is created.
-rsf Specifies the RSF file. When this option is not specified, CTR_SDK/resources/specfiles/Child.rsf is used. There is normally no need to specify this.
-o Specifies the CFA file to output.

Variables Defined in OMakefiles

When CHILD_APPS is specified in OMakefile, makeciaarchive is automatically executed while omake is running, and a CFA file that includes the child device's CIA file is created.
For how to specify CHILD_APPS, see the description for Build Rules.

Revision History

2010/10/29
Initial version.

CONFIDENTIAL