| > !Run
| Note this file is not needed for use with MPEGfs/Replay
| It is only needed to be run if the MovieMagic module is not present

%Set MCode20$Dir <Obey$Dir>.MCode21
IF "<MPEGResources$Path>"="" THEN SetMacro MPEGResources$Path <MCode20$Dir>.
%If "<File$Type_BF8>"="" Then %Set File$Type_BF8 MPEG

%RMEnsure MPEGVideo   0.62 RMLoad <MCode20$Dir>.MPEGVideoM
%RMEnsure MPEGVideo   0.62 Error "Need MPEGVideo 0.62 or later."

%RMEnsure MPEGAudio   0.53 RMLoad <MCode20$Dir>.MPEGAudioM
%RMEnsure MPEGAudio   0.53 Error "Need MPEGAudio 0.53 or later."

%RMEnsure MPEGControl 0.35 RMLoad <MCode20$Dir>.MPEGCtrl
%RMEnsure MPEGControl 0.35 Error "Need MPEGCtrl 0.35 or later."

Set TVOn ""

| Currently can only put switches into $ExtraArgs
Set MPEGPlayer$ExtraArgs -leave -checktrans -nointerlace -nopalettechange -nomode -nocls -noautocentre

%SetMacro Alias$@RunType_BF8 Run |<MCode20$Dir>.!RunImage %%0 -uilib |<MCode20$Dir>.^.MMagicUI <Extras> %%*1
%SetMacro Alias$@RunType_FFD <Alias$@RunType_BF8>
