PROGRAMMER'S GUIDECD builder script grammar
BackForward
CD Builder Script Grammar Manual

3. 3. Command reference


(1) Keyword and parameter notation
Keywords and parameters are written in the following fonts.

In addition, parameters that can be omitted are enclosed in [].

(2) Command list
Table 3.1 shows a list of commands.

Table 3.1 Command list

3.1 Pseudo-instruction
command keyword number
Pseudo-instruction 1.0
Definition of replacement string Define Define 1.1
File include Include 1.2


3.2 Definition of disk session structure
command keyword number
Definition of disk session structure 2.0
Start disk definition Disc 2.1
End of disk definition EndDisc 2.2
Specifying the catalog number CatalogNo 2.3
Start session definition Session 2.4
End of session definition EndSession 2.5
Start of lead-in area definition LeadIn 2.6
End of lead-in area definition EndLeadIn 2.7 2.7
System area definition System Area 2.8
Start of lead-out area definition LeadOut 2.9
End of lead-out area definition EndLeadOut 2.10
Definition of null data for readout Empty 2.11

3.3 Definition of track structure
command keyword number
Definition of track structure 3.0
Start of track definition Track 3.1 3.1
End of track definition EndTrack 3.2
Definition of pre-gap PreGap 3.3
Definition of post gap PostGap 3.4 3.4
Pose definition Pause 3.5


3.4 Volume definition
command keyword number
Volume definition 4.0
Start volume definition Volume 4.1
End of volume definition End Volume 4.2
Start of base volume descriptor Primary Volume 4.3
End of base volume descriptor EndPrimaryVolume 4.4
Start of secondary volume descriptor Supplementary Volume 4.5
End of secondary volume descriptor EndSupplementaryVolume 4.5

3.5 Definition of logical file structure
command keyword number
Definition of logical file structure 5.0
Start directory definition Directory 5.1
End of directory definition EndDirectory 5.2.
Start file definition File 5.3 5.3
End of file definition EndFile 5.4
Start file source definition FileSource 5.5 5.5
End of file source definition EndFileSource 5.6

3.6 Definition of interleaving
command keyword number
Definition of interleave 6.0 6.0
Start of extent definition Extent 6.1
End of extent definition EndExtent 6.2.
Start file interleaved definition FileInterleave 6.3
End of file interleaved definition EndFileInterleave 6.4
Start channel definition Channel 6.5 6.5
End of channel definition EndChannel 6.6
File relocation specification Reallocation 6.7


3.7 IOS file definition
command keyword number
ISO file definition 7.0 7.0
File attribute definition 7.1
Definition of the first position in the disk BeginTimeS 7.1.1
Definition of in-disk termination position EndTimeS 7.1.2
Definition of the first position in the extent BeginTimeE 7.1.3
Definition of end position in extent EndTimeE 7.1.4
File number specification FileNo 7.1.5
Pack specification after channel interleaving Pack 7.1.6
Specify sector rate during channel interleaving Sector Rate 7.1.7
Definition of Trigger bit position in file Trigger 7.1.8
Definition of EOR bit position in file Eors 7.1.9
Definition of directory record information 7.2
Definition of minimum file size MinLength 7.2.1
File invisible attribute definition Attributes 7.2.2
Definition of file recording date and time RecordingDate 7.2.3
Owner ID definition (CD-ROM XA) SysOwnerID 7.2.4
Definition of read permission attribute (CD-ROM XA) SysReadAttributes 7.2.5
Execution permission attribute definition (CD-ROM XA) SysExecuteAttributes 7.2.6
Definition of the same name in the secondary volume descriptor SameName 7.2.7

3.8 Definition of file source information
command keyword number
Definition of file source information 8.0 8.0
Definition of subheader information 8.1
Specifying data with subheader SubHeader 8.1.1
Mode 2 form specification DataType 8.1.2
File source data type specification SourceType 8.1.3
EOR specification of the last sector of the file source AutoEOR 8.1.4
Real-time file specification RealTime 8.1.5
Code information specification CodingInformation 8.1.6
Definition of file layout control information 8.2. 8.2
Specify the start position of the file source placement BeginTimeF 8.2.1
Specifying the end position of file source placement EndTimeF 8.2.2
Specifying partial file source input Offset 8.2.3
Channel interleaving unit size specification UnitSize 8.2.4
Channel interleaving gap size specification GapSize 8.2.5
Specifying the bit rate for channel interleaving BitRate 8.2.6


3.9 MPEG stream definition
command keyword number
MPEG stream definition 9.0
Start of ISO11172 stream definition MpegMultiplex 9.1
ISO11172 End of stream definition EndMpegMultiplex 9.2
Start MPEG stream definition MpegStream 9.3
End of MPEG stream definition EndMpegStream 9.4
Specify null output to MPEG stream MpegFlush 9.5

3.10 CDDA Track Definition
command keyword number
Definition of CDDA track 10.0
Definition of pre-emphasis Preemphasis 10.1
Definition of the number of audio channels Channels 10.2
Definition of copy protection Copy 10.3
Subcode information file specification SubSource 10.4
Subcode area null output specification SubEmpty 10.5

3.11 Definition of volume descriptor information
command keyword number
Definition of volume descriptor information 11.0
Definition of identifier information 11.1
System identifier SystemIdentifier 11.1.1
Volume identifier Volume Identifier 11.1.2
Volume set identifier VolumeSetIdentifier 11.1.3
Publisher identifier PublisherIdentifier 11.1.4
Data editor identifier DataPreparerIdentifier 11.1.5
Application identifier Application Identifier 11.1.6
Copyright file identifier CopyrightFileIdentifier 11.1.7
Abstract file identifier AbstractFileIdentifier 11.1.8
Bibliographic file identifier BibliographicFileIdentifier 11.1.9
Date / time information 11.2
Volume creation date / time VolumeCreationDate 11.2.1
Volume change date / time VolumeModificationDate 11.2.2
Volume expiration date / time VolumeExpirationDate 11.2.3
Volume valid date / time VolumeEffectiveDate 11.2.3
others 11.3
Kanji code specification Escape Sequences 11.3.1
L-type (LSBF) path table output specification LPath 11.3.2
M type (MSBF) path table output specification MPath 11.3.3
Additional L-type path table output specification OptionalLPath 11.3.4
Additional M type path table output specification OptionalMPath 11.3.5
File specification for application area ApplicationUse 11.3.6
Logical block size LogicalBlockSize 11.3.7

3.12 Definition of boot record descriptor
command keyword number
Boot record descriptor definition 12.0
Start boot record Boot Record 12.1
End of boot record EndBootRecord 12.2
Boot system identifier BootSystemIdentifier 12.3
Boot identifier BootIdentifier 12.4


BackForward
PROGRAMMER'S GUIDECD builder script grammar
Copyright SEGA ENTERPRISES, LTD ,. 1997