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: second video in mala/  (Read 4794 times)

0 Members and 1 Guest are viewing this topic.

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
second video in mala/
« on: January 27, 2015, 12:34:58 am »
hi guys,

when designing a layout in mala, it is possible to have multiple video boxes, video 1, video 2, etc.

but i see no where within the mala options how to assign the directory for video 2.

any ideas?

thanks

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:Yesterday at 07:02:58 am
    • My personal forum
Re: second video in mala/
« Reply #1 on: January 27, 2015, 02:22:22 am »
I never have used it, but you could try with definable objects.

Greetings

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
Re: second video in mala/
« Reply #2 on: January 27, 2015, 03:07:29 am »
thanks for the reply but that seems to be for pics only.  and, only for pics that are named like the rom (secondary snapshot, box art, etc.).

i'm looking to play a second video that is completely random and not associated with the rom.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:Yesterday at 07:02:58 am
    • My personal forum
Re: second video in mala/
« Reply #3 on: January 27, 2015, 05:52:00 am »
I don't understand where nor when you want to play a second video.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:July 01, 2025, 07:12:10 am
  • ...
Re: second video in mala/
« Reply #4 on: January 27, 2015, 09:11:26 am »
Video 2 doesn't change when you scroll through the list.  It only loops one single video.
You can also use it for animated .gif 

The path to the one video it plays is set in Mala layout.

It's been a while, but I think you just add Video 2 from the drop down menu, then double click on the video 2 box to set the path.
(similar to how you set the background image)


I tinkered with having an animated GIF on each one of my layouts.  It worked well for that, except for not being able to have transparency.
I vaguely remember trying to have the entire background as a video, but I don't think it worked.

« Last Edit: January 27, 2015, 10:35:44 am by BadMouth »

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
Re: second video in mala/
« Reply #5 on: January 27, 2015, 02:03:49 pm »
Video 2 doesn't change when you scroll through the list.  It only loops one single video.
You can also use it for animated .gif 

The path to the one video it plays is set in Mala layout.

It's been a while, but I think you just add Video 2 from the drop down menu, then double click on the video 2 box to set the path.
(similar to how you set the background image)


I tinkered with having an animated GIF on each one of my layouts.  It worked well for that, except for not being able to have transparency.
I vaguely remember trying to have the entire background as a video, but I don't think it worked.

thanks, i will dig a bit more when i get home.

as for why a second video, i am having a menu layout designed for me and for mame, it will look like my arcade machine.  my machine has a flip down screen between the speakers and i thought it'd be cool if this second screen within the menu was playing random video game commercials.

UPDATE:  thanks for the tip on video 2, it worked just as you said.  Now who do I have to pay to get the ability for video 2 to randomly pick videos from a folder instead of one static video (the way that screen saver works in Mala)?  :)
« Last Edit: January 27, 2015, 09:56:34 pm by tony.silveira »

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:Yesterday at 07:02:58 am
    • My personal forum
Re: second video in mala/
« Reply #6 on: January 28, 2015, 12:56:49 am »
@tony.silveira, perhaps you could make a script using Autohotkey to play a random video in that second window.
Perhaps.

BadMouth

  • Trade Count: (+6)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 9269
  • Last login:July 01, 2025, 07:12:10 am
  • ...
Re: second video in mala/
« Reply #7 on: January 28, 2015, 10:11:39 am »
The problem is that the path is probably stored in the .lyt file which isn't as accessible, instead of mala.ini.
At least I think so.  Check the mala.ini.
If it were in the .ini file, you could have an ahk script that writes a different video name to the path each time.

If that isn't an option, your best bet is probably to have a script that renames random files to the name specified in the path set in layout.

I only provide the concept, can't help with the script.  :lol

tony.silveira

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 697
  • Last login:September 27, 2024, 03:04:35 pm
    • my baby
Re: second video in mala/
« Reply #8 on: February 05, 2015, 11:08:59 pm »
i posted a video of my new mala layout with the second video playing.  i only have one commercial looping unfortunately but this shows the layout mirroring what my machine looks like (and you can see the new keys to the left all lit up pretty like.  its pretty much mounted with the hinge that works, just need to figure out the automatic retraction when not in use.

http://forum.arcadecontrols.com/index.php/topic,136713.msg1492409.html#msg1492409