(last modified on 8/3/95)

QuickTime movies must be stored on a local or remote HFS disk drive in order to run; this means that a movie that resides on the remote Image server must be completely transferred to a local scratch disk before it can be played. The client does not attempt to manage the space used in this manner, so that if many movies are accessed in a single session it is possible to fill all the space available.

Typical configurations

network server/local hard disk/CD-ROM:
- set a relative path prefix ":" or "subject:", expecting the user to double-click a file
- set movie map name to ":subject:Index:movie.map" or whatever

Data on CD-ROM, app on hard disk:
- set an absolute path prefix "CD volume name:"

Index of file operations

A table I built while trying to make sense of what kinds of files are accessed by what names and mechanisms. Shorthand used in the table below:
%pathprefix is a string set by the (set-path-prefix) configuration command, and is usually a single colon to indicate that files are to be accessed relative to the "current directory", the one the startup icon is in
%index is normally "Index:", changed by modifying a STR# resource
%glossary is normally "Descriptions:", changed by modifying a STR# resource
%name, %discname are runtime strings passed in by the calling routines

FILE TYPE: frame
ACCESS MODE: readonly
SOURCE MODULE: browser.c/Open_Frame
PATH SPECIFIED: %pathprefix%index%name
ACCESS ROUTINES: HOpen( g_volRef, g_dirID, ... )
FAILOVER TO ALTERNATE: none (may be overridden by g_alt_xxx!=0 in File_to_Hand)
SUPPLIED TO NET SERVICES: %pathprefix%index%name				

FILE TYPE: image
ACCESS MODE: (test existence)
SOURCE MODULE: browser.c/Get_ImageSize
PATH SPECIFIED: %pathprefix%name
HOpen( g_volRef, g_dirID, ... )
FAILOVER TO ALTERNATE: none
SUPPLIED TO NET SERVICES: %pathprefix%name

FILE TYPE: image
ACCESS MODE: readonly
SOURCE MODULE: browser.c/Get_ImageData
PATH SPECIFIED: %pathprefix%name
ACCESS ROUTINES: HOpen( g_volRef, g_dirID, ... )
FAILOVER TO ALTERNATE: none
SUPPLIED TO NET SERVICES: %pathprefix%name

FILE TYPE: movie
ACCESS MODE: read/play
SOURCE MODULE: movies.c/generic_PlayMovie
PATH SPECIFIED: %pathprefixMovies:%name
ACCESS ROUTINES: HOpen( g_volRef, g_dirID, ... )
FAILOVER TO ALTERNATE: HOpen( 0, 0, ... )
SUPPLIED TO NET SERVICES: %pathprefixMovies:%name [then opened with HOpen( 0, 0, ":Movies:%s", ... )]

FILE TYPE: downloaded movie
ACCESS MODE: write
SOURCE MODULE: serverio.c/Net_GetMovieFile
PATH SPECIFIED: :Movies:%name
ACCESS ROUTINES: SetVol(0,0), FSOpen( name, 0 )
FAILOVER TO ALTERNATE: none

FILE TYPE: glossaries
ACCESS MODE: readonly
SOURCE MODULE: glossary.c/Glossary_Find
PATH SPECIFIED: %pathprefix%glossary%name
ACCESS ROUTINES: HOpen( g_volRef, g_dirID, ... ); (may be overridden by g_alt_xxx!=0 in File_to_Hand)
FAILOVER TO ALTERNATE: none
SUPPLIED TO NET SERVICES: %name (presence of SI server preempts local file)

FILE TYPE: core
ACCESS MODE: write
SOURCE MODULE: logging.c/Core_Dump
PATH SPECIFIED: core
ACCESS ROUTINES: SFPutFile
FAILOVER TO ALTERNATE: none

FILE TYPE: movie map
ACCESS MODE: readonly
SOURCE MODULE: movies.c/MovieControls_Reset
PATH SPECIFIED: specified in script
ACCESS ROUTINES: HOpen( g_volRef, g_dirID, ... ); (may be overridden by g_alt_xxx!=0 in File_to_Hand)
FAILOVER TO ALTERNATE: HOpen( 0, 0, ... )
SUPPLIED TO NET SERVICES: same as local

FILE TYPE: video map
ACCESS MODE: readonly
SOURCE MODULE: videodisc.c/Video_LoadMap
PATH SPECIFIED: :Video:%discname (disc name set in script)
ACCESS ROUTINES: HOpen( g_volRef, g_dirID, ... ); (may be overridden by g_alt_xxx!=0 in File_to_Hand)
FAILOVER TO ALTERNATE: HOpen( 0, 0, ... )

FILE TYPE: script file
ACCESS MODE: readonly
SOURCE MODULE: lispreader.c/Read_ScriptFile
PATH SPECIFIED: specified in script/AEvent
ACCESS ROUTINES: HOpen( g_volRef, g_dirID, ... )
FAILOVER TO ALTERNATE: none

FILE TYPE: CD test
ACCESS MODE: readonly
SOURCE MODULE: lispreader/Execute_SExpression
PATH SPECIFIED: specified in script
ACCESS ROUTINES: HOpen( g_volRef, g_dirID, ... )
FAILOVER TO ALTERNATE: none

FILE TYPE: log file
ACCESS MODE: write
SOURCE MODULE: logging.c/Open_LogFile
PATH SPECIFIED: specified in script
ACCESS ROUTINES: fopen( args, "a" )
FAILOVER TO ALTERNATE: none

FILE TYPE: log file
ACCESS MODE: read/transmit
SOURCE MODULE: logging.c/Transmit_SessionLog
PATH SPECIFIED: specified in script
ACCESS ROUTINES: HOpen( 0, 0, ... )
FAILOVER TO ALTERNATE: none

FILE TYPE: DNR
SOURCE MODULE: myUPPdnr.c
ACCESS ROUTINES: via HOpenResFile, found in system area