| run file for PlayKISS
|
IconSprites <Obey$Dir>.!Sprites
Set PlayKISS$Dir <Obey$Dir>

| Set KISS$LoadMonitor 1
Unset KISS$LoadMonitor

|
| Set up the correct sound system - either PlaySample or (preferably) PlayIt
|
SetEval KISS$SoundSystem 0

If "<SoundCon$Dir>"<>"" Then SetEval KISS$SoundSystem 1
If "<PlayIt$Path>"<>"" OR "<PlayIt$Dir>"<>"" Then SetEval KISS$SoundSystem 2

If <KISS$SoundSystem> = 1 Then RMLoad <SoundCon$Dir>.Resources.PlaySample

| We don't have to take any action if it's PlayIt, as the app ensures
| the module

Unset KISS$SoundSystem

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

RMENSURE FilterManager 0.09 RMLoad System:modules.FilterMgr
RMENSURE FilterManager 0.09 Error You Need filter manager 0.09 or later

RMEnsure BorderUtils 0.02 RMEnsure WindowManager 3.17  RMLoad System:modules.BorderUtil

RMENSURE Toolbox    0.00  RMLOAD System:modules.toolbox.toolbox
RMENSURE Toolbox    1.23  ERROR You need toolbox 1.23 or later to run !PlayKISS
RMENSURE Window     0.00  RMLOAD System:modules.toolbox.window
RMENSURE Window     1.15  ERROR You need window 1.15 or later to run !PlayKISS
RMENSURE Menu       0.00  RMLOAD System:modules.toolbox.menu
RMENSURE Menu       0.15  ERROR You need menu 0.15 or later to run !PlayKISS
RMENSURE Iconbar    0.00  RMLOAD System:modules.toolbox.iconbar
RMENSURE Iconbar    1.08  ERROR You need iconbar 1.08 or later to run !PlayKISS
RMENSURE ProgInfo   0.00  RMLOAD System:modules.toolbox.proginfo
RMENSURE ProgInfo   0.05  ERROR You need proginfo 0.05 or later to run !PlayKISS
RMENSURE SaveAs     0.00  RMLOAD System:modules.toolbox.saveas
RMENSURE SaveAs     0.03  ERROR You need saveas 0.03 or later to run !PlayKISS

WimpSlot -min 180k -max 180k
Run <Obey$Dir>.!RunImage 2><PlayKiss$Dir>.stderr %*0
|Run <Obey$Dir>.!RunImage %*0
