CRI ADX
Last Updated: 2024-07-17 10:47 p
|
Create a Cue from Cue creation information CSV is a function to create a Cue from a simple CSV.
Reads the CSV containing Cue creation information and creates a Cue.
When creating a large number of Cue sheets that play different materials but have the same parameters and structure, You can use the CSV as a template.
Materials can be replaced by loading the CSV into Excel or a text editor and replacing the materials.
The CSV data that will be the source of the Cue can be created outside of CRI Atom Craft.
This makes it easier to divide up the work.
Please make any final adjustments to the Cue on CRI Atom Craft.
The basic specification method is as follows:
Input csv
result
Cue ID | Cue Name |
---|---|
0 | gun1 |
1 | bomb1 |
Please specify the items in the following order: Cue ID, Material name, Text. You can create one Cue per line.
The "Text" section is optional. The text is available to extensions, described below.
If the same Cue ID is specified consecutively, they will be combined into one Cue. The Cue name in this case will be the first one.
Input csv
result
Cue ID | Cue Name |
---|---|
0 | footstep1 |
The Cue name will be the specified material name minus the extension (including the period).
In the Cue creation information CSV, commas and tabs are treated as delimiters. However, please note that spaces are treated as normal characters.
A line beginning with "//" is recognized as a comment.
If multiple people are sharing a CSV file, you can write comments for other members.
Comment lines are generally ignored.
result
Cue ID | Cue Name | Comment |
---|---|---|
0 | footstep1 | footstep3 |
1 | cancel | System cancel sound |
2 | ok | System decision sound |
A line beginning with "#" is recognized as an extended command.
The extended command allows you to write text into a specified field (Cue comment or user data).
If the Cue names are the same, the one specified later will be overwritten.
Extended Commands | Actions |
---|---|
#CopyTextTo CueComment | Write text to a Cue comment |
#CopyTextTo UserData | Write text to user data |
If the text is blank, no processing will be performed.
However, if you specify "UseBlank", you can write empty strings to Cue comments and user data.
Extended Commands | Actions |
---|---|
#CopyTextTo CueComment UseBlank | Write text to Cue comment. If text is blank, write blank text |
#CopyTextTo UserData UseBlank | Write text to user data. If text is blank, write blank characters |
result
Cue ID | Cue Name | Comments | User Data |
---|---|---|---|
1 | TEST_01_A | as Cue comment | |
2 | TEST_02_C | as user data 1 | |
3 | TEST_03_D | as user data 2 | |
4 | sin | This is a sine wave | |
5 | TEST_05_E |
Refer to "Initial value settings" in "Tool settings".
Lines beginning with "#" in CSV are recognized as extended commands. Extended commands include the following, including text processing.
Item | Contents | Description |
---|---|---|
#CopyTextTo CueComment | Copies the text item in the CSV to the Cue comment field. | This is also the default behavior if no extended command is specified. |
#CopyTextTo CueComment UseBlank | If the CSV text field is blank, copy the blank text to the Cue comment field. | It is possible to overwrite it with blanks when there are multiple tracks. |
#CopyTextTo UserData | Copies a text item from the CSV to the Cue's user data field. | |
#CopyTextTo UserData UseBlank | Copies the CSV text item to the Cue 's user data field. | Allows overwriting with blanks when there are multiple tracks. |
#MaterialPath | Specify the path of the material. | Example: #MaterialPath system/ |
Item | Contents | How to specify columns |
---|---|---|
#GenerateCueNameBy MaterialName | Generates a Cue with the material name minus the extension as the Cue name. This is also the default behavior if no extension command is specified. | Specify the columns as " Cue ID, material name, text". Example: 0,gun1.wav,gunshot The Cue name will be "gun1". |
#GenerateCueNameBy CueID | Generate a Cue with the Cue name " Cue%d (%d is the Cue ID number)". | Specify the columns as " Cue ID, Material name, Text". Example: 0, gun1.wav, Gunshot The Cue name will be "Cue0". |
#GenerateCueNameBy CueName | Generate a Cue with the specified Cue name. | Specify the columns as " Cue name, material name, text". Example: gun, gun1.wav, gunshot The Cue name will be "gun". |
Item | Contents |
---|---|
#SeqType | Sets the sequence type to the specified one. For details, see the "About #SeqType" section below. |
The details of each column in the CSV are as follows:
Item | Description | Details |
---|---|---|
Cue name | Cue name | When the CueName extension command is specified, the string specified here will be used as the Cue name. If multiple columns have the same name, they will be grouped into the same Cue. |
Cue ID | Cue ID (number) | A numeric ID that represents the Cue. If an extended command that specifies a Cue ID is specified, the value specified here will be used as the Cue name. If the same number appears in multiple columns, they will be grouped together into the same Cue. |
Material name | Material name (path name) | Search through the material root for the path name and use the first one found. |
Text | Any text | By specifying an extended command, it can be treated as a Cue comment or user data. |
The Cue name will be generated from the string of the first element.
Input CSV
result
Cue ID | Cue Name | Comment |
---|---|---|
0 | footsteps | footsteps 3 |
1 | cancel | System cancel sound |
2 | ok | System decision sound |
The Cue ID is assigned automatically.
A Cue name will be generated, such as Cue0.
This is useful for projects where you only need to call the Cue ID.
Input CSV
result
Cue ID | Cue Name |
---|---|
0 | Cue0 |
1 | Cue1 |
The search will be performed by adding the string to the front of the reference path of the material.
If not specified, a full search will be performed from the material route.
You can specify the sequence type by specifying the extended command "#SeqType".
Item | Contents | Description |
---|---|---|
#SeqType | Cue sequence type | If not specified, it will be Polyphonic. |
#SeqType Polyphonic | Polyphonic | Sequence type becomes polyphonic. |
#SeqType Sequential | Sequential | Sequence type becomes sequential. |
#SeqType Shuffle | Shuffle | Sequence type becomes shuffle. |
#SeqType Random | Random | Sequence type becomes random. No weighting is set. |
#SeqType RandomNoRepeat | Random No Repeat | Sequence type becomes random no repeat. |
#SeqType Switch | Switch | Sequence type becomes switch. |
#SeqType ComboSequential | Combo Sequential | Sequence type becomes combo sequential. |
Input CSV
result
Cue ID | Cue Name | Comment |
---|---|---|
0 | footsteps | footsteps 3 |
1 | cancel | System cancel sound |
2 | ok | System decision sound |
The footsteps Cue is created with sequence type random no repeat.
If an error occurs during the "Create a Cue from Cue creation information CSV" process, the error details will be output to the log view.
If an error is output, please correct the CSV and re-import it, or correct the Cue sheet you created to resolve the issue.
(If the problem is not resolved, an error will occur again during the ACB build process and the ACB data will not be output.)
In addition, if a merge process is performed by specifying the same Cue ID in the read CSV, the fact that the merge process has been applied will be output to the log.
If you get an unexpected result, check the log and CSV and make corrections.
Reading result | Error cause |
---|---|
Cue sheet not generated | When adding by drag and drop, a Cue sheet with the same name as the csv file already exists |
There are duplicate Cue names in the Cue sheet | There are elements in the CSV with the same Cue name (but different Cue IDs) The same Cue name already exists in the merge source |
There are duplicate Cue IDs in the Cue sheet | There are elements in the CSV with the same Cue ID The same Cue ID already exists in the merge source |
No reference to material | Material does not exist in specified path |