I have a working Unity-based screensaver running on Windows, complete with a proper preview window and config dialog. It may not currently work on 64-bit windows, I still have some testing to do to get rid of some issues there.
The example I’m showing is just a simple rotating cube with a texture. It’s really just a placeholder to show that it works. You can download the zip here:
http://www.mediafire.com/?d5ody1kg5n1u9rs
You can open the zip as part of or after the download, and you can launch the exe from within winzip or from wherever you saved it.
The exe is an automatic installer as well as a screensaver. If it detects it is not installed fully yet it will auto-install when launched. For the end-user they see a single file for the whole screensaver.
Just double-click the exe run it and it’ll install into the C:\Windows\System32 folder as ScreensaverFramework.scr - it will auto-launch a fullscreen demo right away and create some temporary files in C:\Windows\System32\ScreensaverFramework_Files\ which you may want to also delete later.
The app is about 7.5 megabytes but is mostly compressed data internally using LZMA compression. The basic framework is under 4 megabytes before adding media ![]()
To set it as the default screensaver you currently will have to bring up your screensaver preferences and choose it from the dropdown list. I will make it automatically select itself as the current screensaver, soon.
The preview window should work and you should see the Unity graphics inside the dialog window. Config does work, internally, but this particular screensaver has no settings yet so it won’t do anything. The preview button in the screensaver dialog window should work also.
Moving the mouse or pressing a key in fullscreen will exit the saver. There is one special key, Ctrl, which will be used to enter into a special mode in the screensaver. It currently lets you enter the special mode (press Esc to exit) and offers screen grabbing - press G to grab a PNG or J to grab a jpeg. If you hold the key down it will grab a sequence of images at a fixed framerate. Holding a SHIFT modifier grabs to a folder inside your pictures folder, and holding CTRL grabs a half-sized image instead.
Let me know if you get any problems, and on what hardware/operating system.
Feedback is appreciated
The actual screensaver effect is nothing amazing, I just wanted something simple with minimal file size to show that it’s working. ![]()
