| RISC OS Loader for !Commander
| Written by Paul Vigay 2000
|
If "<System$Path>" = "" then Error 0 !System has not been seen yet.
Set Commander$Path <obey$dir>
Set Commander$Dir <obey$dir>
IconSprites <Commander$Dir>.!Sprites
RMEnsure MessageTrans 0.04 RMLoad System:Modules.MsgTrans
RMEnsure MessageTrans 0.04 Error !Commander needs MessageTrans version 0.04 or later
RMEnsure FPEmulator 2.70 RMLoad System:modules.FPEmulator
RMEnsure FPEmulator 2.70 Error !Commander needs FPEmulator 2.70 or later in your !System.modules directory.
RMEnsure ABCLibrary 2.00 RMLoad System:modules.ABCLib
RMEnsure ABCLibrary 2.00 Error !Commander needs ABCLibrary 2.00 or later in your !System.modules directory.
| Check for RISC OS 3 and load correct iconsprites
Set Commander$RISCOS3 yes
RMEnsure UtilityModule 2.02 Set Commander$RISCOS3 no
IF Commander$RISCOS3="no"  THEN IconSprites <Commander$Dir>.Resources.RO2sprites
UnSet Commander$RISCOS3
WimpSlot -min 440k -max 440k
Run "<Commander$Dir>.!RunImage" %*0
