Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Mala screen saver mode - Random video selection?  (Read 1520 times)

0 Members and 1 Guest are viewing this topic.

BMOC

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:October 22, 2015, 08:08:38 am
Mala screen saver mode - Random video selection?
« on: April 04, 2015, 10:11:33 pm »
I've just setup my Mala cab to randomly play videos from the video snaps folder where I have over a hundred videos.  But I have to say that it doesn't seem to be as random as I would expect.  Certain videos play with a very high frequency.  Has anyone else experienced this?

I realise of course that if it's truly random then there is a chance that certain videos will appear to be playing more frequently by chance alone, but I feel quite certain that this isn't my imagination, though I leave room for the possibility that it is.

behrmr

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 459
  • Last login:April 23, 2021, 09:17:13 am
Re: Mala screen saver mode - Random video selection?
« Reply #1 on: April 04, 2015, 10:32:52 pm »

I didn't like the way it worked either.  I set windows screen saver to the blank screen saver.  Then when Mala starts I started a background winbatch (you could do ahk) script that waited for the blank screen saver window to appear.  When that happens I sent some joystick moves to Mala.  That way Mala is always showing a different preview.


Code: [Select]
' Allow Windows to be exited with no warning
IntControl(12,1,0,0,0)
'Allow quiet termination:
IntControl(12,4,0,0,0)

cnt = 0
defaultString = "{DOWN}{UP}{DOWN}{UP}{UP}{UP}"
While @TRUE
cnt = cnt + 1
if cnt > 5 then
KeyString = DefaultString
cnt = 0
else
KeyString = "%KeyString%{DOWN}"
End If
WinWaitExist ("Blank Screen Saver", -1)
If WinExist ("MAME") <> @TRUE Then
If WinExist ("MaLa") Then
SendKeysTo ("MaLa","{DOWN}{UP}{DOWN}{UP}{UP}{UP}")
End If
End If
End While


BMOC

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:October 22, 2015, 08:08:38 am
Re: Mala screen saver mode - Random video selection?
« Reply #2 on: April 04, 2015, 11:02:58 pm »
So when you say you didn't like the way it worked, you also found it to be non-random?

So what your solution does is scroll the game list around every minute or so (however long it takes for the screensaver to initiate)?  That's clever.

However I do like having full screen video going when the cab is not in use.  I don't actually have video previews in my menu, just screen snaps, I've only downloaded the video snaps specifically for this purpose.  I want the multi-game equivalent of a normal attract mode.

behrmr

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 459
  • Last login:April 23, 2021, 09:17:13 am
Re: Mala screen saver mode - Random video selection?
« Reply #3 on: April 05, 2015, 10:35:12 am »
I just didn't like the full screen previews.  I prefer to have the machine sitting at the frontend but didn't want it to sit endlessly on the same game selection.

BMOC

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:October 22, 2015, 08:08:38 am
Re: Mala screen saver mode - Random video selection?
« Reply #4 on: April 05, 2015, 07:57:47 pm »
Ahh, I see.  Yeah they don't look fantastic on a proper arcade monitor, since they are of course not displaying the correct game resolution.  Bit blurry.

thomas_surles

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 2118
  • Last login:September 13, 2024, 06:34:49 pm
Re: Mala screen saver mode - Random video selection?
« Reply #5 on: April 07, 2015, 04:28:59 pm »
Reminds me of the shuffle on my phone. Always picks the same handful of songs.