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

3.5 Defining the logical file structure


An overview of the logical file structure definition is shown below.

Directory DIR1                        
    Directory SUBDIR1                 
        File FILE1                    
            FileSource SRCFILE1    hierarchy
            EndFileSource          ↓
        EndFile                    1    2       3
        File FILE2                 \─┬─DIR1─┬─SUBDIR─┬─FILE1
            FileSource SRCFILE2      │      │        ├─FILE2
            EndFileSource            │      │        │
        EndFile                      │      │        │
        :                            :      :        :
        :                            :      :        :
    EndDirectory 
    :
    :
EndDirectory


 one
View
table
 Title

Command specifications

 Command

Begin directory definition

 Keyword

Directory

 No

5.1

Format
Directory dirname
parameters
dirname: Directory name
function
Begins directory definition.
remarks
According to the ISO9660 standard, a directory hierarchy can be defined up to a maximum of 8 levels, counting the root directory as 1. However, for Sega Saturn, we recommend a level of 7 or less.

 one
View
table
 Title

Command specifications

 Command

End of directory definition

 Keyword

EndDirectory

 No

5.2

Format
EndDirectory
parameters
none
function
Finish the directory definition.

 one
View
table
 Title

Command specifications

 Command

Start file definition

 Keyword

File

 No

5.3

Format
File isofile [outfile]
parameters
isofile: File name on disk (ISO9660 standard)
outfile: File name to output file definition build results (optional)
function
Begins file definition.
remarks

 one
View
table
 Title

Command specifications

 Command

End of file definition

 Keyword

EndFile

 No

5.4

Format
EndFile
parameters
none
function
Finish the file definition.

 one
View
table
 Title

Command specifications

 Command

Starting a file source definition

 Keyword

FileSource

 No

5.5

Format
FileSource srcfile
parameters
srcfile: File name used as input for file definition
function
Specifies the file that is the input for the file definition.

 one
View
table
 Title

Command specifications

 Command

End of file source definition

 Keyword

EndFileSource

 No

5.6

Format
EndFileSource
parameters
none
function
Finish the file source definition.

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