Jump to content
LaunchBox Community Forums

Asteroids mame bezel and overlay diagonal lines


Go to solution Solved by Tsik,

Recommended Posts

Posted (edited)

Hello there, its probably some image that the lay file does not find so it represent it with diagonal lines.
In situations like this do the following...

Go to the directory where your Mame.exe is and in the explorer path type cmd and press enter then in the command window type mame.exe
This will start MAME with a console window open in which when you run the game in question it will tell you whats exactly is wrong..

Something like the below pic.

Mamescreen.thumb.png.37ba29d993ab54b7e7fe0deeb8e1993e.png

PS.
I hope you are using windows and let MAME run in window mode using Alt+Enter so you can see the console.

Edit: Look inside your artwork folder inside that asteroid.zip for that .lay file and change that  <backdrop element=xxx.png> and <bezel element=xxx.xxx> in your lay file because these are deprecated tags (It seems you have an old artwork file), they should be written as <element ref=xxx.xxx>

Hope that helps! 😅

Edited by Tsik
  • Solution
Posted (edited)

The simplest way for the lay file should be like this:

(assuming your numbers and pngs are there and correct)

<!-- asteroid.lay -->

<mamelayout version="2">


<!-- Elements sector -->

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

	<element name="Overlay">
		<image file="Overlay.png"/>
	</element>


<!-- View sector -->
<!-- View 1 -->

	<view name="Bezel">
		
		<screen index="0">
			<bounds x="360" y="96" width="1208" height="890"/>
		</screen>

		<element ref="Overlay" blend="add"><!-- This should make the Background blend with the graphics-->
			<bounds x="173" y="48" width="1574" height="984"/>
		</element>

		<element ref="Bezel">
			<bounds x="0" y="0" width="1920" height="1080"/>
		</element>
	</view>

</mamelayout>

you should try and implement the above code to your artwork

This is how my artwork\asteriods.zip is

Sceenshot.thumb.png.dc8ce1985effeb2e5ab63f8108e2fb91.png

 

Edited by Tsik
Posted

<!-- Bezel.lay -->

<mamelayout version="2">
 <element name="Background">
    <image file="..\DefaultBezelH.png"/>
  </element>
 <element name="Bezel">
    <image file="Bezel.png"/>
  </element>
 <element name="Overlay">
    <image file="Overlay.png" />
 </element>

  <view name="Bezel">
    <screen index="0">
      <bounds x="360" y="96" width="1208" height="890"/>
    <color red = "0.1" green = "0.9" blue = "1.0"/>
    </screen>

   <bezel element="Background">
      <bounds x="86" y="78" width="1797" height="926"/>
    </bezel>

    <backdrop element="Overlay">
      <bounds x="173" y="48" width="1574" height="984" />
      <color alpha=".2" />
    </backdrop>

    <bezel element="Bezel">
      <bounds x="0" y="0" width="1920" height="1080"/>
    </bezel>

  </view>
</mamelayout>
 

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