Japanese
PROGRAMMER'S GUIDECD Builder Script Grammar
BackForward
CD Builder Script Grammar Manual

3.8 Defining file source information


3.8.1 Definition of subheader information


 one
View
table
 Title

Command specifications

 Command

Specifying data with subheaders

 Keyword

SubHeader

 No

8.1.1

Format
SubHeader
parameters
none
function
Declare that data with subheaders will be used as a file source.
remarks
The validity of subheader information is not checked. Also, the builder does not set any information in the subheader. Therefore, please specify directory information such as file number so that it is consistent with subheader information.

 one
View
table
 Title

Command specifications

 Command

Mode 2 form specification

 Keyword

DataType

 No

8.1.2

Format
DataType form
parameters
form: Form name (FORM1 or FORM2)
function
Specifies the form format of file source data.
remarks
Valid only within the MODE2 track.

 one
View
table
 Title

Command specifications

 Command

File source data typing

 Keyword

SourceType

 No

8.1.3

Format
SourceType srctype
parameters
srctype: File source type
function
Specifies the type of file source data.
(1) File source type
type name explanation
 DATA
 data
 AUDIO
 Audio (audio data other than ADPCM)
 VIDEO
 video
 MONO_A
 ADPCM monaural level A
 MONO_B
 ADPCM monaural level B
 MONO_C
 ADPCM monaural level C
 STEREO_A
 ADPCM stereo level A
 STEREO_B
 ADPCM stereo level B
 STEREO_C
 ADPCM stereo level C
 CDDA
 CDDA data
 ISO11172
 ISO11172 stream (MPEG system layer)
 MPEG_VIDEO
 MPEG video stream
remarks
Valid only within the MODE2 track.

 one
View
table
 Title

Command specifications

 Command

EOR specification of file source last sector

 Keyword

AutoEOR

 No

8.1.4

Format
AutoEOR
parameters
none
function
Sets the EOR bit of the subheader of the sector that stores the last byte of the file source.
remarks

 one
View
table
 Title

Command specifications

 Command

Real-time file specification

 Keyword

RealTime

 No

8.1.5

Format
RealTime
parameters
none
function
Indicates that the file source is a real-time file, and sets the RealTime bit in the subheader of the sector to be recorded.
remarks

 one
View
table
 Title

Command specifications

 Command

Coding information specification

 Keyword

Coding information

 No

8.1.6

Format
CodingInformation codeinf
parameters
codeinf: Coding information value
function
Sets the specified value in the coding information field of the subheader that records the file source.
remarks
When using MpegMultiplex, if you specify the data type as VIDEO with the MpegStream command, it will be set to 0FH, and if you specify it as AUDIO, it will be set to 7FH.

3.8.2 Defining file placement control information


 one
View
table
 Title

Command specifications

 Command

Specifying the start position of file source arrangement

 Keyword

BeginTimeF

 No

8.2.1

Format
BeginTimeF relpos
parameters
relpos: Starting position to place the file source (relative time from the beginning of the file)
function
Places the file source starting at the specified position.

 one
View
table
 Title

Command specifications

 Command

Specifying the end position of file source arrangement

 Keyword

EndTimeF

 No

8.2.2

Format
EndTimeF relpos
parameters
relpos: End position to place the file (relative time from the beginning of the file)
function
Places the file ending at the specified position relpos.

 one
View
table
 Title

Command specifications

 Command

Specifying file source partial input

 Keyword

Offset

 No

8.2.3

Format
Offset of length
parameters
ofs: File source reading start position (in bytes)
length: Size to read the file source (in bytes)
function
Reads data of size length from position ofs in the file source.

 one
View
table
 Title

Command specifications

 Command

Channel interleaving unit size specification

 Keyword

UnitSize

 No

8.2.4

Format
UnitSize usize
parameters
usize: Number of sectors in a unit (a sequence of sectors in which the same channel is placed consecutively)
function
During channel interleaving, sectors of the same channel are recorded in units of the specified unit size.
remarks
If the UnitSize command is omitted, the unit size is 1.

 one
View
table
 Title

Command specifications

 Command

Channel interleaving gap size specification

 Keyword

GapSize

 No

8.2.5

Format
GapSize gsize
parameters
gsize: Number of sectors in the gap (sector sequence between units)
function
When channel interleaving, units are recorded at intervals of the specified gap size.
remarks
If the GapSize command is omitted, the gap size is 0.

 one
View
table
 Title

Command specifications

 Command

Channel interleaving bit rate specification

 Keyword

BitRate

 No

8.2.6

Format
BitRate bps [seqno]
parameters
bps: Bit rate (in bits/second)
seqno: MPEG stream sequence number (default = 0)
function
Records channel data at the specified bitrate.
remarks

  • Bitrate is a number with a decimal point. For integer values, add .0.

  • seqno is kept for compatibility. No need to write.


BackForward
PROGRAMMER'S GUIDECD Builder Script Grammar
Copyright SEGA ENTERPRISES, LTD. 1997