| User editable fields
| --------------------

Set Enigma$Undo   40
Set Enigma$Buffer 4096
Set Enigma$Sound  2

| Sound systems: 0=NoSound, 1=AudioManager (not 32-bit), 2=PlayIt, 3=DataPlayer

| Don't change anything below this line
| -------------------------------------

Set Enigma$Dir <Obey$Dir>
Set Dummy$Path <Run$Path>,<Enigma$Dir>.Resources.
Run Dummy:Resfind Enigma
Unset Dummy$Path

Set File$Type_A92 Enigma
Set Alias$RunType_A92 <Obey$Dir>.!Run %%0

| /<Enigma$Dir>.IconTheme XAT.Enigma
| /<Enigma$Dir>.IconTheme XAT.Enigma Sprites
| /<Enigma$Dir>.IconTheme XAT.Enigma Pointers

IconSprites <Enigma$Dir>.Theme.Default.!Sprites
IconSprites <Enigma$Dir>.Theme.Default.Sprites
IconSprites <Enigma$Dir>.Theme.Default.Pointers
IconSprites <Enigma$Dir>.Theme.RO5.!Sprites

Set EnigmaImages$Path <Enigma$Dir>.Images.

RMEnsure VideoUtils 2.20 RMLoad <Enigma$Dir>.RMStore.Video

| Ensure the ABCLib module

Set ABCLib 1
RMEnsure ABCLibrary 0.00 Set ABCLib 0
If ABCLib = 0 Then IfThere System:modules.ABCLib THEN RMLoad System:modules.ABClib
If ABCLib = 0 Then RMEnsure ABClibrary 0.00 Copy <Obey$Dir>.RMStore.ABCLib <System$Dir>.310.Modules.ABCLib ~C~VFR
If ABCLib = 0 Then RMEnsure ABClibrary 0.00 RMLoad System:modules.ABClib
RMEnsure ABCLibrary 4.17 Copy <Obey$Dir>.RMStore.ABCLib <System$Dir>.310.Modules.ABCLib ~C~VFR
RMEnsure ABCLibrary 4.17 Error Your version of ABCLib is too old. A newer version has just been installed, but you need to restart the computer before it can be used.
Unset ABCLib

WimpSlot -min 274K -max 274K
Run <Enigma$Dir>.!RunImage %*0
