Guide: Import CSV and build at the same time

Purpose of this guide

To introduce some examples that make full use of the terminal execution.

Strengths:

  • Suitable for automatic or periodic execution because it can be processed without GUI.
  • You can combine multiple options to perform multiple functions.

This example will show you how to execute "Import CSV" and "Build" at the same time.
You can add or update Materials flexibly by using "Import CSV".
"Build" to create the data to be stored in the game.
By executing at the same time, it is easier for automatic execution.
For the commands supported by terminal execution, refer to Calling the CRI Atom Craft Terminal (Command line) .

How to run in the terminal

Basic: import CSV and build

The command to read the Material information CSV or CueSheet CSV, and build is as follows:
Note that the build will be performed if there is no -nobuild option.

./CriAtomCraft \
in.atmcproject \
-importCuesheetCsv "/path/to/CueSheet.csv","WorkUnit_0/CueSheet" \
-importMaterialCsv "/path/to/Material.csv","WorkUnit_0/MaterialFolder"

Basic 2: Further specify build target, clean build, save project

./CriAtomCraft \
in.atmcproject \
-importCuesheetCsv "/path/to/CueSheet.csv","WorkUnit_0/CueSheet" \
-importMaterialCsv "/path/to/Material.csv","WorkUnit_0/MaterialFolder" \
-target PC,iPhone,Android \
-clean \
-saveProject

Application: Add and update the CueSheet information of the project by CSV without building

CPU load can be fast as no build is needed.
This command is recommended for adding or updating routine data processing.
By using the -merge option, you can retain the contents of the existing CueSheet and reflect the contents of CSV.

./CriAtomCraft \
in.atmcproject \
-importCuesheetCsv "/path/to/CueSheet.csv","WorkUnit_0/CueSheet" \
-importMaterialCsv "/path/to/Material.csv","WorkUnit_0/MaterialFolder" \
-merge \
-nobuild \
-saveProject

Reference: Procedure for preparing CSV

Material information CSV or Cue Sheet CSV

To output these CSVs from an existing project, use CRI Atom Craft (GUI application).
For details, refer to Import/Export Feature .

Supports Handwriting

Import/Export Feature provides information in the CRI Atom Craft project in a more user friendly way.
Also supports CSV created or edited by the user.
For CSV formats use in CRI Atom Craft, refer to CSV Format .