This ctr_makecia tool is for creating CIA (CTR Importable Archive) files. This tool generates CIA files that can be imported via DevMenu from CXI files, which are the executable images of imported applications.
CIA files that can be imported to CTR can also be generated from the SRL files used for TWL NAND applications.
You can create CIA files of data titles storing add-on content. To read details about the creation of these data title CIA files, see the E-Commerce Kit documentation.
The following files are required to generate CIA files for imported applications.
ctr_makerom
ctr_makerom
ctr_makerom
The following files are required in order to generate CIA files from TWL NAND applications.
% ctr_makecia32 -i CXI_FILE -o CIA_FILE [-man MANUAL_CFA_FILE]
When created from a CCI file% ctr_makecia32 -cci CCI_FILE -o CIA_FILE
When generating CIA files for CTR imported applications, you must specify CXI_FILE and CIA_FILE.
If the MANUAL_CFA_FILE option is not specified, a CIA file without a manual is generated.
% ctr_makecia32 -srl SRL_FILE -o CIA_FILE
When generating CIA files from a TWL NAND application SRL file, you must specify SRL_FILE and CIA_FILE.
| Options | Description |
|---|---|
| -i | Specifies the input CXI file. |
| -i CONTENTS_PATH:INDEX |
Specifies content included in the CIA file. Specify the content file path in CONTENTS_PATH.INDEX specifies the index number that contains this content. There is a predetermined INDEX to specify for each type of content.Only specify 0 for a CXI file storing an executable image of an imported application.Only specify 1 for a CFA file storing an e-manual.Only specify 2 for a CFA file storing a download-play child program.You must not specify any other values. Refer to the documentation corresponding to each type of content for details. |
| -o | Specifies the output CIA file. |
| -cci | Converts from CCI to CIA. This cannot be used at the same time as options other than -o. |
-srl |
Specify the SRL file built as the TWL NAND application. The -srl option cannot be specified concurrently with the -i and -man options. |
-man |
Specifies the CFA file for the manual. |
| -datatitle-version | Specifies the version of the data title. This can only be used when creating a data title. |
| -content-list | Specifies the content list file for a data title. This can only be used when creating a data title. |
See Build Rules for more information about the variables defined in OMakefile.
CONFIDENTIAL