Main > Software Forum

Windows ScreenSaver Goes On While Using A Game Controller

<< < (2/8) > >>

DaveMMR:

--- Quote from: Organic Jerk on December 01, 2007, 08:54:11 pm ---
--- Quote from: DaveMMR on December 01, 2007, 07:46:31 pm ---Screensavers are nothing more than decorations nowadays as monitors don't have the same burn-in problems they used to. 

--- End quote ---
Well isn't an arcade cabinet itself nothing more than decoration seeing as its just a PC encased?  Home consoles are smaller and can do more work...The controls aren't really ergonomic... etc...etc..

Personally, I think having MAME vids running in a screensaver (as an "attract mode" of sorts) is really cool and adds to the atmospere of the cabinet itself..

In this hobby I would say Decorations are generally a positive thing if done well...

--- End quote ---

You're comparing arcade cabinets to screensavers? 

Besides, based on the information given in the original post, I was guessing that he was talking about a desktop PC.   Yeah, an arcade cabinet would be a different story I suppose if you wanted to leave it on for extended periods (though I just generally let a random game run in attact mode).  More information is needed methinks.

SGT:

--- Quote from: DaveMMR on December 01, 2007, 07:46:31 pm ---Screensavers are nothing more than decorations nowadays as monitors don't have the same burn-in problems they used to. 

--- End quote ---

I still see a ton of screen burn in industrial environments even with newer monitors.

loadman:

--- Quote from: SGT on December 01, 2007, 09:13:20 pm ---
--- Quote from: efjayel on December 01, 2007, 07:27:29 pm ---I need a fix! :hissy:

--- End quote ---
If you still use Mala, you could whip up a tiny plugin that programatically turns off the screen saver when playing a game and turning it back on when you're through.  Here is a link to some Dephi code to do that.  See the second post from netmaestro:
http://blitzmax.com/Community/posts.php?topic=48372
If you don't do plugins, you may have to request it from one of the Mala experts in this forum.

--- End quote ---

Well done James Bond.  Plug-in is attached to this post.

Unzip and place into your mala plugins directory.

Enjoy.


--- Code: ---library SSToggle;

uses
  Windows;  // Required for this Plug-in

function ToggleSaverActive(z:double):double; cdecl;
begin
if z=1 then
SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, 1, nil, SPIF_SENDWININICHANGE)
else
SystemParametersInfo(SPI_SETSCREENSAVEACTIVE, 0, nil, SPIF_SENDWININICHANGE);
Result := 0;
end;

{*******************************************************************************
*
*******************************************************************************}
procedure MaLaGameStart(); cdecl;
begin
 ToggleSaverActive(0);
end;

{*******************************************************************************
*
*******************************************************************************}
procedure MaLaGameQuit(); cdecl;

begin
  ToggleSaverActive(1);
end;

{*******************************************************************************
*
*******************************************************************************}
function PluginName(): PChar; cdecl;
begin
     result := PChar('Windows Screen Saver Toggle');
end;

{*******************************************************************************
*
*******************************************************************************}
function PluginCopyright(): PChar; cdecl;
begin
     result := PChar('2007 by Loadman & SGT');
end;

exports
  MaLaGameStart,
  MaLaGameQuit;

{$R *.RES}

begin
end.
--- End code ---

SGT:
Does loadman deliver or what?  Issue with Windows screensaver reported....3 hours later.....loadman AKA the "Aussie Assassin" provides a Mala plugin that effectively resolves issue.   :notworthy:   And if that wasn't enough, gives me plugin copyright credit for my tremendous google searching skills.  Thanks loadman.  :cheers: 

Organic Jerk:
Holy Christ.

Wow, loadman..

And the Mala plugins list grows!

 :applaud:

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version