Where do new screensavers live?
Robert Hampton (1923) 57 posts |
I’ve written a really simple screensaver, mainly to see if I can remember how to write a RISC OS WIMP app (short answer: I do! Yay!) Before I release it onto the adoring public, however, I want to clarify where new screensaver apps should be installed. On my Raspberry Pi the standard screensavers live in !Boot.RO500Hook.Res.Configure.ScrSavers. Similarly on my old RO4 install under RPCemu they live in RO400Hook. But should I install new stuff there? I was always under the impression that the various ROxxxHook directories were to be considered “read-only” and the equivalent !Boot.Choices and !Boot.Resources should be used for any user-supplied additions. I think the equivalent folder would be !Boot.Resources.Configure.ScrSavers but if i put my screensaver in there, !ScrnSetup doesn’t find it. As an aside, I note the FlowerBox screensaver at www.tinct.net has an Install file which tries to copy to ROxxxHook.Res.Configure.ScrSavers (where xxx is the content of Boot$OSVersion) This also fails on my Pi because RO520Hook doesn’t have a Configure folder. I’m using the RC12 Pi ROM and equivalent stable HardDisc4 image. Any guidance appreciated! |
David Feugey (2125) 2709 posts |
I would say in !Boot.RO500Hook.Res.Configure.ScrSavers, if made for RISC OS 5 and more. Else in !Boot.RO400Hook.Res.Configure.ScrSavers for ROS4+, etc. |
Robert Hampton (1923) 57 posts |
Thanks. Something still feels a mite unsatisfactory about this. I think I’ll just stick it in a Zip file and hope the user can follow my !ReadMe file :) |
David Pitt (102) 743 posts |
I initially also thought that The search path is :- BootResources$Path : Boot:RO520Hook.Res.,Boot:RO510Hook.Res.,Boot:RO500Hook.Res.,SDFS::RISCOSpi.$.!BOOT.Resources. The screen savers are further two down in the directory hierarchy, |