Jump to content
LaunchBox Community Forums

MAME - Bezel and Backdrop Issues


Drakkorcia

Recommended Posts

Hi, I downloaded a backdop for Space Invaders from the LB downloads with the following lay file. And it works, but has no bezel. I have a bezel for it but it doesn't show, even after adding a bezel element. Can anyone help? Would be appreciated.  (My added code is in bold)

<!-- invaders.lay -->

<mamelayout version="2">

<element name="bezel">
        <image file="Bezel.png" />
    </element>

    <element name="backdrop_m">
        <image file="backdrop_moon_midway.png" />
    </element>
    <element name="overlay_m">
        <rect>
            <bounds left="0" top="0" right="224" bottom="260" />
            <color red="1" green="1" blue="1" />
        </rect>
        <rect>
            <bounds left="0" top="184" right="224" bottom="240" />
            <color red="0.125" green="1" blue="0.125" />
        </rect>
        <rect>
            <bounds left="16" top="240" right="134" bottom="260" />
            <color red="0.125" green="1" blue="0.125" />
        </rect>
        <rect>
            <bounds left="0" top="32" right="224" bottom="64" />
            <color red="1" green="0.125" blue="0.125" />
        </rect>
    </element>
    
    <view name="Upright_Artwork">        
        <screen index="0">
            <bounds x="0" y="0" width="195" height="260" />
            <color alpha="0.8" />
        </screen>
        <element ref="overlay_m" blend="multiply">
            <bounds x="0" y="0" width="195" height="260" />
        </element>
        <element ref="backdrop_m" blend="add">
            <bounds x="0" y="0" width="195" height="260" />
            <color alpha="0.3" />
        </element>
    </view>
</mamelayout>

Edited by Drakkorcia
Link to comment
Share on other sites

shouldn't the element name 'bezel' also be referenced somewhere in your view name.
Like for instance....

<!-- invaders.lay -->

<mamelayout version="2">

<element name="bezel">
        <image file="Bezel.png" />
    </element>

    <element name="backdrop_m">
        <image file="backdrop_moon_midway.png" />
    </element>
    <element name="overlay_m">
        <rect>
            <bounds left="0" top="0" right="224" bottom="260" />
            <color red="1" green="1" blue="1" />
        </rect>
        <rect>
            <bounds left="0" top="184" right="224" bottom="240" />
            <color red="0.125" green="1" blue="0.125" />
        </rect>
        <rect>
            <bounds left="16" top="240" right="134" bottom="260" />
            <color red="0.125" green="1" blue="0.125" />
        </rect>
        <rect>
            <bounds left="0" top="32" right="224" bottom="64" />
            <color red="1" green="0.125" blue="0.125" />
        </rect>
    </element>
    
    <view name="Upright_Artwork">        
        <screen index="0">
            <bounds x="0" y="0" width="195" height="260" />
            <color alpha="0.8" />
        </screen>
   <element ref="bezel">
      <bounds x="0" y="0" width="xxx" height="xxx"/>   <-- fill in your desired height and width
    </element>

        <element ref="overlay_m" blend="multiply">
            <bounds x="0" y="0" width="195" height="260" />
        </element>
        <element ref="backdrop_m" blend="add">
            <bounds x="0" y="0" width="195" height="260" />
            <color alpha="0.3" />
        </element>
    </view>
</mamelayout>

Edited by launchretrogirl2562
  • Like 1
Link to comment
Share on other sites

  • 2 weeks later...

I have a new request. So I found the artworks over at Progetto Snaps to be quite good with Mr. Do doing a lot (or most) of the lay files. I just picked up a really nice pack for Discs Of Tron with all the bezels and backdrops/overlays, and it works 100%. However, it is not fitting my 1920x1080 screen, filling about half of the screen (4:3). Zoom to screen area stretches too much and cuts off the art. Since there are multiple images for this awesome games backdrop, I am having difficulty knowing what to change in the lay file, or even image resizing if necessary. Can anyone with a spare moment take a look and see how this could fit on a 1920x1080 screen? I would really appreciate it. (Zip contains no roms - artwork only).

dotron.zip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...