| To install to HD:
| 1. Install the game from CD by running this file
| 2. Replace the contents of !TEK_1608.!Run with the contents of !ADFFS.obey.F1036501b
IF "<Obey$Dir>"="@" THEN Set Obey$Dir CDFS::TEK1608.$.!Installer

Set tekInst$Dir <Obey$Dir>
Iconsprites <tekInst$Dir>.!Sprites

RMEnsure UtilityModule 3.10 Error This application is only suitable for use with RISC OS 3.10 or later versions

IF ADFFS$OSVersion>=&50000 THEN GOARM3JIT 0
RMEnsure FilterManager 0.09 RMLoad <tekInst$Dir>.RMStore.FilterMgr
RMEnsure FilterManager 0.09 Error You Need filter manager 0.09 or later
RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17  <tekInst$Dir>.RMStore.BorderUtil

IF ADFFS$OSVersion<&50000 THEN RMEnsure TinyStubs  0.00  RMLoad <tekInst$Dir>.RMStore.TinyStubs
IF ADFFS$OSVersion<&50000 THEN RMEnsure TinyStubs  0.02  ERROR TinyStubs module was not found.
IF ADFFS$OSVersion<&50000 THEN RMEnsure Toolbox    0.00  RMLoad <tekInst$Dir>.RMStore.toolbox
IF ADFFS$OSVersion<&50000 THEN RMEnsure Toolbox    1.23  ERROR A toolbox module was not found.
IF ADFFS$OSVersion<&50000 THEN RMEnsure Window     0.00  RMLoad <tekInst$Dir>.RMStore.window
IF ADFFS$OSVersion<&50000 THEN RMEnsure Window     1.15  ERROR A toolbox module was not found.
IF ADFFS$OSVersion<&50000 THEN RMEnsure Menu       0.00  RMLoad <tekInst$Dir>.RMStore.menu
IF ADFFS$OSVersion<&50000 THEN RMEnsure Menu       0.15  ERROR A toolbox module was not found.
IF ADFFS$OSVersion<&50000 THEN RMEnsure Iconbar    0.00  RMLoad <tekInst$Dir>.RMStore.iconbar
IF ADFFS$OSVersion<&50000 THEN RMEnsure Iconbar    1.08  ERROR A toolbox module was not found.
IF ADFFS$OSVersion<&50000 THEN RMEnsure ProgInfo   0.00  RMLoad <tekInst$Dir>.RMStore.proginfo
IF ADFFS$OSVersion<&50000 THEN RMEnsure ProgInfo   0.05  ERROR A toolbox module was not found.

WimpSlot -min 512K -max 512K
Run <tekInst$Dir>.!RunImage
IF ADFFS$OSVersion>=&50000 THEN GOARM3JIT
