Home Page · Up 1 Level · Site Map · Send Us Mail


Adding Miscellaneous Files to VCD 2.0 Toolkit Discs

Philips' VCD 2.0 Toolkits were designed to allow easy GUI and drag-and-drop creation of VCD titles, and as such are not equipped to allow adding custom files and applications to a VCD disc. Such files can be added, but require the use of a second tool, VCDMaster, in order to accomplish it. VCDMaster comes with the Toolkits, but there are no instuctions in how to use it. Documentation may be purchased, but at extra cost. The procedure below explains how to add files to a Toolkit disc, but is unsupported (unless support for VCDMaster is purchased). Most of the procedure applies to both Mac and PC Toolkits, with the following exceptions:
Mac:

  1. VCDMaster is contained in the Drivers folder within the VCD2TK folder.
  2. There are 3 ways to put a Mac application on a VCD disc. In order of difficulty:
    1. Binhex or MacBinary encode the application before putting it on the disc. Then the encoded files are referenced in the master script, as described in Step 3. This method requires the end-user to decode the application first, using StuffIt Expander, etc. This is by far the easiest and the recommended procedure.
    2. Create a Mac HFS/CD-ROM XA hybrid, with the Mac applications on the HFS volume. A VCD disc is basically an implemenation of the CD-ROM XA standard. Technically, a disc made this way is not a true VCD disc. This method is not easy to implement, however, as recording packages are not equipped to make a VCD hybrid disc, and may require a special extension in order to read the HFS volume.
    3. Use the Apple Extensions to the CD-ROM standard to put the Mac application on the XA volume. This is possible, but requires custom programming and is completely unsupported by us.
    Note:Creating a Mac HFS/CD-ROM XA multivolume(i.e. multisession) disc has been found not to work. Only the first session is accessible. Even if it did work, in order to read the HFS session the end-user would need the Multisession Mounter, or similar, extension installed on their Mac, and thus this method would not be practical for wide distribution.
  3. Text and other files containing only a data fork may be placed in the XA volume by modifying the master script produced during the VCD 2.0 Toolkit build process. This procedure is described below.
PC:
  1. The VCDMaster front-end application itself is not included with VCD 2.0 Toolkit for PC, only the dll. The front-end may be downloaded in the PC file section in the FTP area of this website.
  2. Data, text, and application files may be placed in the XA volume by modifying the master script produced during the VCD 2.0 Toolkit build process. This procedure is described below.
Procedure:
  1. Create your VCD title using the Toolkit in the normal manner.
  2. Start the build process. When the status window indicates that it has finished writing the master script, stop the build process.
  3. There should now be a master script in the destination folder. The name of this script file should be the same as the VCD volume name, with a .msc extension attached. This script file is a normal text file that may be edited in any text editor.
  4. Using a text editor, follow the example below to add additional lines to the master script, representing the desired files to be added. Basically the procedure can be broken down as:
    1. Associate a file on a hard drive with an internal identifier in the files definition section.
    2. Later, in the directory structure section, cross-reference that identifier with a file to be created on the cd.
  5. Start VCDMaster, and Open the newly edited master script under the File menu. This will create the .cd disc image.
Sample master script, new_trak.msc
options: -vcd2
define
album "NEW_TRAK"
publisher ""
preparer ""
volume "NEW_TRAK_1" in "H:/CDIMAGES/NEW_TRAK_1.cd"
1 of 1
disc_restrict 0

copyright file _copyright_ from "D:/VCD2TK/CDI_APP/copyrght.txt"
abstract file _abstract_ from "D:/VCD2TK/CDI_APP/abstract.txt"
biblio file _biblio_ from "D:/VCD2TK/CDI_APP/bibliogr.txt"

green file CDI_IMAG_RTF_1 from "D:/VCD2TK/CDI_APP/CDI_IMAG.RTF"
yellow file CDI_TEXT_FNT_1 from "D:/VCD2TK/CDI_APP/CDI_TEXT.FNT"
application file CDI_VCD_APP_1 rounded from "D:/VCD2TK/CDI_APP/CDI_VCD.APP"
yellow file CDI_VCD_CFG_1 from "D:/VCD2TK/CDI_APP/custom.txt"


!Custom additional files defined here. Notice that the forward slash is used as the directory separator.
yellow file FILE01 from "C:/FILES/CATS.JPG" !See the XA script example for information on identifier naming.
yellow file FILE02 from "C:/FILES/MICE.JPG"
yellow file FILE03 from "C:/FILES/DOGS.JPG"
yellow file FILE04 from "C:/FILES/FLEAS.JPG"

!End of additional files


!On a Mac, the script would look like this. Notice that a colon (:) is used as the directory separator.
yellow file FILE01 from "HD:FILES:CATS.JPG" !See the XA script example for information on identifier naming.
yellow file FILE02 from "HD:FILES:MICE.JPG"
yellow file FILE03 from "HD:FILES:DOGS.JPG"
yellow file FILE04 from "HD:FILES:FLEAS.JPG"

!End of additional files


avseq_dat file alaska_mmd from mpeg "r:/samples/assets/mpeg/alaska.mmd"
avseq_dat file alaskaof_mmd from mpeg "r:/samples/assets/mpeg/alaskaof.mmd"
avseq_dat file jamaica_mmd from mpeg "r:/samples/assets/mpeg/jamaica.mmd"
avseq_dat file kauai_mmd from mpeg "r:/samples/assets/mpeg/kauai.mmd"
avseq_dat file orlando_mmd from mpeg "r:/samples/assets/mpeg/orlando.mmd"
avseq_dat file orlandof_mmd from mpeg "r:/samples/assets/mpeg/orlandof.mmd"
avseq_dat file russia_mmd from mpeg "r:/samples/assets/mpeg/russia.mmd"
avseq_dat file russiaof_mmd from mpeg "r:/samples/assets/mpeg/russiaof.mmd"
avseq_dat file stlucia_mmd from mpeg "r:/samples/assets/mpeg/stlucia.mmd"

seg_play_item file _malta_menu_pi_ from wb_still "H:/CDIMAGES/jamaica.mms"


!1
play_list Sequence_1
next Menu_1
previous Menu_1
return Sequence_1
play_item alaska_mmd
play_item alaskaof_mmd
play_item jamaica_mmd
play_item kauai_mmd
play_item orlando_mmd
play_item orlandof_mmd
play_item russia_mmd
play_item russiaof_mmd
play_item stlucia_mmd
!2
sel_list Menu_1 play_item _malta_menu_pi_
repeat 1 then wait forever then Menu_1
default Sequence_1 1, 0, 1, 0
next Sequence_1 1, 0, 1, 0
previous Menu_1 1, 0, 1, 0
return Menu_1 1, 0, 1, 0
none


! disc file structure definition
{
"COPYRIGH.TXT;1" protection 0x111 from _copyright_
"ABSTRACT.TXT;1" protection 0x111 from _abstract_
"BIBLIOGR.TXT;1" protection 0x111 from _biblio_

!Directory structure for the additional files defined here. This method puts the files at the root of the cd.
!See below if putting the files in their own directory is desired.

"CATS.JPG" from FILE01 !See the XA script example for information on file naming.
"MICE.JPG" from FILE02
"DOGS.JPG" from FILE03
"FLEAS.JPG" from FILE04

!End of additional files

"CDI" {
"CDI_IMAG.RTF;1" from CDI_IMAG_RTF_1
"CDI_TEXT.FNT;1" from CDI_TEXT_FNT_1
"CDI_VCD.APP;1" from CDI_VCD_APP_1
"CDI_VCD.CFG;1" from CDI_VCD_CFG_1
}

"MPEGAV" {
"AVSEQ01.DAT;1" from alaska_mmd
"AVSEQ02.DAT;1" from alaskaof_mmd
"AVSEQ03.DAT;1" from jamaica_mmd
"AVSEQ04.DAT;1" from kauai_mmd
"AVSEQ05.DAT;1" from orlando_mmd
"AVSEQ06.DAT;1" from orlandof_mmd
"AVSEQ07.DAT;1" from russia_mmd
"AVSEQ08.DAT;1" from russiaof_mmd
"AVSEQ09.DAT;1" from stlucia_mmd
}

!Or the files may be placed here. This method will place the additional files in their own directory, "FILES".
"FILES" {
"CATS.JPG" from FILE01
!See the XA script example for information on file naming.
"MICE.JPG" from FILE02
"DOGS.JPG" from FILE03
"FLEAS.JPG" from FILE04
}

!End of additional files

}


Home Page · Up 1 Level · Site Map · Send Us Mail