INTRODUCTION
------------
MCIEGI.DRV is an MCI driver for FLIC file animations that uses the EGI player
(EPLAY.DLL). It conforms to the MCI command set for an "animation" device.

MCIEGI borrows one command from the "digitalvideo" command set (Video for
Windows): setvideo. The purpose for the setvideo command is to force the FLIC
animation to adapt itself to a given palette.

For example,

        open zonya.flc alias anim
        setvideo anim palette handle 1234
        play anim wait
        close anim

You should (of course) supply a real palette handle, instead of the imaginary
value "1234".

Since MCIEGI uses the EGI player as a back end, it is compatible with extended
FLIC files. You will need the EGI compiler to create extended FLIC files
(although some of the extensions of Dave Mason's DTA program are also
supported).

Currently, password protected FLIC files are not supported. Generally
speaking, I would disadvice you to play back protected media using MCI
commands, because it is relatively easy to intercept the password (or
decryption key) from an MCI command.


INSTALLATION
------------
At this moment, you will have to install the MCI driver manually. I have not
yet added an installation script to the driver. Unfortunately, a correct
installation requires that you edit three .INI files.

1. First copy the files MCIEGI.DRV and EPLAY.DLL in a directory of your
   choice. For example, you may want to copy the files in "D:\FLIC".
   Remember the path where the .INI files are found, you will need it
   in steps 2 and 4.

2. In SYSTEM.INI, search the headnig "[mci]" and add the line:
     Animation=D:\FLIC\MCIEGI.DRV D:\FLIC
   Replace the two occurences of "D:\FLIC" by the path where you copied the
   files MCIEGI.DRV and EPLAY.DLL.

3. In WIN.INI, add beneath the caption "[mci extensions]" the lines:
     flc=animation
     fli=animation
   This makes sure that the MCI controller recognizes all files with the
   extensions .FLI and .FLC as FLIC files.

4. To display the proper caption in the "Media Player" applet, add in
   CONTROL.INI under the caption "[drivers.desc]" the line:
      D:\FLIC\MCIEGI.DRV=[MCI] EGI FLIC Animation
   Again, replace "D:\FLIC" by the correct path.


Summary of the .INI file settings
---------------------------------
SYSTEM.INI
    [mci]
    Animation=$d\mciegi.drv $d

WIN.INI
    [mci extensions]
    flc=animation
    fli=animation

CONTROL.INI
    [drivers.desc]
    $d\mciegi.drv=[MCI] EGI FLIC Animation

where $d is replaced by the drive/directory where the files MCIEGI.DRV and
EPLAY.DLL can be found.
