Jump to content
LaunchBox Community Forums

Mame bezel issue


Go to solution Solved by spycat,

Recommended Posts

Posted

Hello all, I noticed something strange after importing a full mame romset with bezels. With vertical games it seems like the bezel is not on top of the game but under it.

It only does this with the mame emulator, if i use retroarch with the bezel project everthing looks as it should. Any idea what i did wrong? 

I attached screenshots. Thanks!

retroarch.png

mame.png

Posted

Thanks for the reply, im using the lay file that was downloaded via the launchbox with the artwork and media importer, is there any setting in the file i should be looking at? Thanks

Posted

Here she is.....

 

<mamelayout version="2">
  <element name="bezel">
    <image file="bezel.png" />
  </element>
  <view name="Bezel Artwork">
    <element ref="bezel">
      <bounds left="0" top="0" right="16" bottom="9" />
    </element>
    <screen index="0">
      <bounds left="4.625" top="0" right="11.375" bottom="9" />
    </screen>
  </view>
</mamelayout>

 

Thanks

  • Solution
Posted

Edit your lay as below by placing the screen section above the element section.

<mamelayout version="2">
  <element name="bezel">
    <image file="bezel.png" />
  </element>
  <view name="Bezel Artwork">
    <screen index="0">
      <bounds left="4.625" top="0" right="11.375" bottom="9" />
    </screen>
    <element ref="bezel">
      <bounds left="0" top="0" right="16" bottom="9" />
    </element>
  </view>
</mamelayout>

Posted

Thanks again for all your help! Do you know if this issue could be fixed if I let the right people know about it? I’m guessing the lay files get downloaded somehow via the games database?

Posted
4 hours ago, spycat said:

Yes, that's the correct order for the lays.
I recall something on the forums about this issue with lays. I think it had to do with the bezel project and it was rectified by the creators.

Correct. The latest Bezel Project Windows app creates MAME lay files according to the correct instructions mentioned above. While LaunchBox uses and installs files from the Github repositories as the BP app, lay files are created by Launchbox itself via the devs here and I have no idea if their lay file logic was changed. You could always use the Report a Bug feature of the forums, which is under the Help & Support header if you find Launchbox's latest beta writes out lay files incorrectly.

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...