I’ve been working on a screensaver project that I invented on my own (not for a class or anything) that uses Java3D. I’d like to turn it into a real Windows screensaver, but I can’t seem to find any utilities that will convert the files into a .scr file. My screensaver is a lava lamp with bubbles inside, the camera rotates around it and the bubbles kind of go with the music playing in the background.
A screensaver is nothing but a regular program with the .scr extension instead of .exe. Windows uses command line arguments to communicate with the screen saver:
http://support.microsoft.com/kb/q182383/
You can use launch4j to create a Windows executable. It still requires Java to run, but it looks like a native program.
http://launch4j.sourceforge.net/
I haven’t tried this myself but it ought to work.
- Make sure your program handles the command line arguments correctly
- Make an exe with launch4j
- rename it to *.scr
Martin