Crazy idea - ScummVM screensaver

General chat related to ScummVM, adventure gaming, and so on.

Moderator: ScummVM Team

Post Reply
fabio
Posts: 18
Joined: Sat May 13, 2006 8:33 am

Crazy idea - ScummVM screensaver

Post by fabio »

It would be nice if ScummVM could be used as a screensaver :D .

First, adding recording and replaying support to ScummVM. Then writing a screensaver script which call a replay of a ScummVM game, eventually with some options (e.g. using a 2x speed, disabling music and sound and enabling subtitles). You could just use a video for your screensaver obliviously, but this looks original and funnier!

Then your colleagues could enjoy Guybrush adventures during your lunch time (but you probably won't enjoy too much getting fired by your boss :P ).
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

Well, screensavers are basically executable files. Thus, once our event recorder is functional, it could be used to replay games, thus you could just set up ScummVM as a screensaver (by renaming the exe to .scr), together with an event recording of the games you played. So yes, this could be possible at some point in the future, once the event recorder is functional :)
User avatar
clone2727
Retired
Posts: 1611
Joined: Fri Jun 09, 2006 8:23 pm
Location: NJ, USA

Post by clone2727 »

md5 wrote:Well, screensavers are basically executable files. Thus, once our event recorder is functional, it could be used to replay games, thus you could just set up ScummVM as a screensaver (by renaming the exe to .scr), together with an event recording of the games you played. So yes, this could be possible at some point in the future, once the event recorder is functional :)
I don't see where he said he used Windows.
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

clone2727 wrote:I don't see where he said he used Windows.
He didn't, I assumed as such. And I am not familiar with how screensavers work in *nix and MacOS operating systems - I use xscreensaver there. But my answer covers Windows users. Happy now? :roll: Do you have any proposals on how to do this on non-Windows systems?
fabio
Posts: 18
Joined: Sat May 13, 2006 8:33 am

Post by fabio »

Great, is an event recorder already planned? Is this: http://wiki.scummvm.org/index.php/TODO#Event_recorder ? The inside link to the patch is probably wrong, however.

(I am using Linux anyway).
User avatar
clone2727
Retired
Posts: 1611
Joined: Fri Jun 09, 2006 8:23 pm
Location: NJ, USA

Post by clone2727 »

md5 wrote:He didn't, I assumed as such. And I am not familiar with how screensavers work in *nix and MacOS operating systems - I use xscreensaver there. But my answer covers Windows users. Happy now? :roll: Do you have any proposals on how to do this on non-Windows systems?
No, I was just pointing how horrible your assumption was :) Especially since he isn't using Windows in the end.
User avatar
clone2727
Retired
Posts: 1611
Joined: Fri Jun 09, 2006 8:23 pm
Location: NJ, USA

Post by clone2727 »

fabio wrote:Great, is an event recorder already planned? Is this: http://wiki.scummvm.org/index.php/TODO#Event_recorder ? The inside link to the patch is probably wrong, however.

(I am using Linux anyway).
The code is in the master now, but it's not really working at all atm.
User avatar
md5
ScummVM Developer
Posts: 2250
Joined: Thu Nov 03, 2005 9:31 pm
Location: Athens, Greece

Post by md5 »

clone2727 wrote:
md5 wrote:He didn't, I assumed as such. And I am not familiar with how screensavers work in *nix and MacOS operating systems - I use xscreensaver there. But my answer covers Windows users. Happy now? :roll: Do you have any proposals on how to do this on non-Windows systems?
No, I was just pointing how horrible your assumption was :) Especially since he isn't using Windows in the end.
Horrible or not, in Windows it's a simple file rename. I don't know how hard it'll be in *nix.
User avatar
eriktorbjorn
ScummVM Developer
Posts: 3560
Joined: Mon Oct 31, 2005 7:39 am

Post by eriktorbjorn »

md5 wrote: Horrible or not, in Windows it's a simple file rename. I don't know how hard it'll be in *nix.
The documentation for XScreenSaver says that "Any program that can be made to render on an X window created by another process can be used as a screen saver. Just get the window ID out of $XSCREENSAVER_WINDOW, draw on that, and you're done."
Post Reply