Run <Obey$Dir>.SetVars

RmEnsure UtilityModule 3.10 Error You need RISC OS 3.10 or later to run !Avalanche.
RmEnsure WindowManager 3.98 Error You need the nested Window Manager to run !Avalanche.

RMEnsure UtilityModule 5.00 RMEnsure CallASWI 0.03 RMLoad System:Modules.CallASWI
RMENsure UtilityModule 5.00 RMEnsure CallASWI 0.03 Error You need CallASWI 0.03 or later to run !Avalanche. This can be downloaded from http://www.iyonix.com/32bit

RMEnsure FPEmulator 4.03 RMLoad System:Modules.FPEmulator
RMEnsure FPEmulator 4.03 Error You need FPEmulator 4.03 or later to run !Avalanche. This can be downloaded from http://www.iyonix.com/32bit

RmEnsure SharedCLibrary 5.17 RMLoad System:Modules.CLib
RmEnsure SharedCLibrary 5.53 Error You need SharedCLibrary 5.53 or later to run !Avalanche. This can be downloaded from http://www.iyonix.com/32bit 

RmEnsure Toolbox    0.00  RMLoad System:Modules.Toolbox.Toolbox
RmEnsure Toolbox    1.23  Error You need Toolbox 1.23 or later to run !Avalanche. This can be downloaded from http://www.riscos.com

RmEnsure Window     0.00  RMLoad System:Modules.Toolbox.Window
RmEnsure Window     1.15  Error You need Toolbox Window 1.15 or later to run !Avalanche. This can be downloaded from http://www.riscos.com

RmEnsure Menu       0.00  RMLoad System:Modules.Toolbox.Menu
RmEnsure Menu       0.15  Error You need Toolbox Menu 0.15 or later to run !Avalanche. This can be downloaded from http://www.riscos.com

RmEnsure Iconbar    0.00  RMLoad System:Modules.Toolbox.Iconbar
RmEnsure Iconbar    1.08  Error You need Toolbox Iconbar 1.08 or later to run !Avalanche. This can be downloaded from http://www.riscos.com

RmEnsure ProgInfo   0.00  RMLoad System:Modules.Toolbox.ProgInfo
RmEnsure ProgInfo   0.05  Error You need Toolbox ProgInfo 0.05 or later to run !Avalanche. This can be downloaded from http://www.riscos.com

RmEnsure Scale      0.00  RMLoad System:Modules.Toolbox.Scale
RmEnsure Scale      0.15  Error You need Toolbox Scale 0.15 or later to run !Avalanche. This can be downloaded from http://www.riscos.com

RmEnsure TextGadgets 0.00  RMLoad System:Modules.Toolbox.TextGadget
RmEnsure TextGadgets 0.29  Error You need Toolbox TextGadgets 0.29 or later to run !Avalanche. This can be downloaded from http://www.riscos.com

RmEnsure SaveAs 0.00  RMLoad System:Modules.Toolbox.SaveAs
RmEnsure SaveAs 0.19  Error You need Toolbox SaveAs 0.19 or later to run !Avalanche. This can be downloaded from http://www.riscos.com

RmEnsure BypassAlt 0.00 X RMLoad System:Modules.BypassAlt
RmEnsure SysLogDevice 0.00 X RMLoad System:Modules.SysLogDev
RmEnsure SocketWatch 0.00 X RMLoad System:Modules.Network.SockWatch

Set Avalanche$ErrorLog Devices#Log=Avalanche:$.SysLog
RMEnsure SysLogDevice 0.00 Set Avalanche$ErrorLog null:

WimpSlot -min 160k -max 160k
Run Avalanche:!RunImage 2><Avalanche$ErrorLog>