OK, it's uploaded. I've included in my MaLa Layout -->
http://www.alvarezeninternet.com/malalayout/ Download the .zip, extract it, and just take the \random game screensaver\ folder. Delete the rest if you are no interested. I hope this works also for your layouts and your configurations. I usually do these things only for my personal use, but if you can benefit from them too, it's good to share. Anyway, if you need to do some fixes and adjustments, I'm sure they must be quite simple to do. I've included the instructions at the bottom of the file called !!READTHIS.TXT. I'll copy paste them for you here:
OPTIONAL SCREEN SAVER
In my MaLa layout I've included a very basic but practical screensaver which cycle the message in MaLa\ssaver. However, you can disable this internal screensaver (spacebar, GUI, screensaver and then disable screensaver), and use the Windows screensaver I have created with the help of AutoHotKey, an automation tool. I've included the necessary files in the folder called \random game screensaver\. What's special about this screensaver? When MaLa is idle, a random game will be launched. It will be displayed in attract mode for some minutes (hence the names of the .scr files), then MAME will quit, and a new random game will be run. The process will loop until you press any button in your control panel or some of the most usual keys in your keyboard. While a game is running, you can quit it at any moment, or start playing normally. An important advantage over other MAME screensavers is that only horizontal games will load when your monitor and layout are in horizontal orientation, and vice versa. This screensaver must be installed just as any other Windows screensaver. Copy the .scr file your wish to your \Windows\system32 folder. Right click on your desktop, and select the screensaver and the activation time. I've included a feature which launches the blank screen screensaver instead, in case MaLa is not running (for instance, when using Windows for any other purpose). For this screensaver to work, it's necessary that you configure your keyboard controls in MaLa so that right shift is set up to random game (controller, keyboard, advanced) and enter is set up for start game (controller, keyboard, basic). That should not interfere with your control panel configuration. It works perfectly for me. However, if you have any problem or need any specific configuration, don't hesitate to contact me. I'll try to modify it for you. You can also download AutoHotKey (
http://www.autohotkey.com/) and alter the code yourself. The script is pretty basic. This program includes a tool for compiling, even including a custom icon. Then, all you need to do is to rename the .exe to .scr.
I'll explain the code:
#NoTrayIcon
#SingleInstance force
IfWinExist MaLa ahk_class TfrmMain ---> checks out that the MaLa program is running
{
Loop ---> infinite cycle
{
WinActivate MaLa ahk_class TfrmMain ---> not necessary really, I think...
sleep 100 ---> short pause
send {RShift} ---> random game selection
sleep 100
send {Enter} ---> MAME runs game
sleep 60000 ---> time MAME will be displaying the game (1000 = 1 second)
IfWinExist MAME ahk_class MAME
WinClose MAME ---> quit game
IfWinExist M.U.G.E.N ---> optional. Stops the script to prevent problems.
{ ---> optional
WinActivate M.U.G.E.N ---> optional
ExitApp ---> optional
} ---> optional
}
}
IfWinNotExist MaLa ahk_class TfrmMain ---> if MaLa is not loaded, the blank screen screensaver is used
run, open scrnsave.scr
Joy1:: ExitApp ---> buttons and keys that stop the script
Joy2:: ExitApp
Joy3:: ExitApp
Joy4:: ExitApp
Joy5:: ExitApp
Joy6:: ExitApp
Joy7:: ExitApp
Joy8:: ExitApp
Joy9:: ExitApp
Joy10:: ExitApp
Enter:: ExitApp
1:: ExitApp
5:: ExitApp
Space:: ExitApp
Tab:: ExitApp
LControl:: ExitApp
Rcontrol:: ExitApp
LAlt:: ExitApp
RAlt:: ExitApp
a:: ExitApp
s:: ExitApp
d:: ExitApp
ESC:: ExitApp