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

3.5 Definition of logical file structure


The outline 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


 List
 Title

Command specifications

 Command

Start directory definition

 Keyword

Directory

 No

5.1

Form
Directory dirname
Parameters
dirname: directory name
function
Start the directory definition.
remarks
According to the ISO9660 standard, the directory hierarchy can be defined up to 8 levels, counting the root directory as 1. However, for Sega Saturn, we recommend within 7 levels.

 List
 Title

Command specifications

 Command

End of directory definition

 Keyword

EndDirectory

 No

5.2.

Form
EndDirectory
Parameters
none
function
Exit the directory definition.

 List
 Title

Command specifications

 Command

Start file definition

 Keyword

File

 No

5.3 5.3

Form
File isofile [outfile]
Parameters
isofile: File name on the disk (ISO9660 standard)
outfile: File name to output the build result of the file definition (optional)
function
Start file definition.
remarks

 List
 Title

Command specifications

 Command

End of file definition

 Keyword

EndFile

 No

5.4

Form
EndFile
Parameters
none
function
Finish the file definition.

 List
 Title

Command specifications

 Command

Start file source definition

 Keyword

FileSource

 No

5.5 5.5

Form
FileSource srcfile
Parameters
srcfile: File name to input file definition
function
Specify the file that will be the input for the file definition.

 List
 Title

Command specifications

 Command

End of file source definition

 Keyword

EndFileSource

 No

5.6

Form
EndFileSource
Parameters
none
function
Finish the file source definition.

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