In order to spawn XfacePlayer from a different
application (or from MS-DOS Command Prompt) here are
the command line arguments.
C:\Program
Files\Xface\Bin\XfacePlayer.exe -h
spawns the application and brings the help message.
Usage:
XfacePlayer [/h] [/s] [FAP Filename] [WAV Filename]
[FDP Filename] [FDP Path]
-h or /h is help.
-s or /s is server mode where XfacePlayer starts
immediately listening to designated ports and there
are no controls and the menus are disabled. Default
listening port is 50011 and cannot be modified if
you have spawned XfacePlayer in server mode, since
the menu is disabled by default. You can also start
the application normally and use menu item (or F8)
to disable the controls. Pressing F8 when the
controls are inactive re-activates them.
Rest of the parameters are trivial enough, just note
that they are defaulted to the following values;
FAP Filename: "../Faps/joy.fap"
WAV Filename: "../Faps/sample.wav"
FDP Filename: "alice.fdp"
FDP Path: "../Faces/alice/"
Note that they should be passed in the correct
order, i.e. if you want to pass FDP Path you should
pass the other parameters as well.
Koray Balci (January 2005)
