Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: OldSkoolGamer on October 02, 2021, 10:55:23 pm
-
Hi everyone,
I've been able to create my lay file to display the marquee image on the 2nd monitor. But I'm curious - is it possible to display the marquee on the 2nd monitor and the bezel/overlay image around the gameplay monitor as well in the same single .lay file?
I've been trying to research and create a lay file that can display both marquee and bezel in the same .lay file for my dual monitor cabinet but I've come up short in my attempts. Has anyone done this before and could provide me with their .lay file so I could see how its done and/or just update it to work with my cabinet setup?
I hope everyone is doing well :)
-
You can put as many views as you want into a single file. Just tell MAME which view to use with -view0 and -view1
(This is an older file version, as there are marquee elements now, but it still works)
<!-- puckman.lay -->
<mamelayout version="2">
<element name="bezel_pacman">
<image file="pacman.png" />
</element>
<element name="marquee_pacman">
<image file="pacman_artmarquee.png" />
</element>
<view name="Pacman Bezel">
<screen index="0">
<bounds left="987.5" top="850" right="3012.5" bottom="3550" />
</screen>
<bezel element="bezel_pacman">
<bounds left="0" top="0" right="4000" bottom="3659" />
</bezel>
</view>
<view name="Marquee Only">
<bezel element="marquee_pacman">
<bounds left="0" top="0" right="4000" bottom="1473" />
</bezel>
</view>
</mamelayout>
<!--
- Original Vector Artwork (Bezels) by Zorg, BYOAC
- Original Vector Artwork (Cocktail) by tbombaci
- HI-RES Raster Artwork for MAME 0.107 by Ad_Enuff, MAME COVERS
- Lay file adjusted by Mr. Do
-->
-
Thank you so much for the time and help! My views I had setup weren't correct looking at this one you posted. I really appreciate this a great deal!
:cheers: