Jump to content
This Topic
  • Announcement

    The HyperSpin 2 early access beta is here!

    We’re starting the first public testing phase with Platinum Members to keep the scope manageable while we test the current feature set and begin to add more. In the future, we’ll provide a version for basic members as well.  On behalf of the entire HyperSpin team, we look forward to another exciting adventure with our community.

Mame lay files


timb

Recommended Posts

Posted

I was trying to do a simple bezel layout myself in mame natively. I have mk.lay and mk.png in a mk.zip in my artwork file. The .lay is as follows:

<mamelayout version="2">
    <element name="bezel">
        <image file="mk.png" />
    </element>
        <view name="Widescreen_Artwork">
            <screen index="0">
                <bounds x="240" y="0" width="1440" height="1080" />
            </screen>
            <bezel element="bezel">
                <bounds x="0" y="0" width="1920" height="1080" />
            </bezel>
    </view>
</mamelayout>

 

When I turn it on i just get diagonal lines. FYI the screen element seems to be working; if i modify the bounds the screen will move around.

What am I doing wrong?

 

Tim

Posted

Thanks for  your response. Yes, the file name is correct with the same case. Checked many times, because the diagonal lines made me think a "bad link" to the image file. Also, if i change the bounds on the bezel element the diagonal lines move around and change size as would be expected.

The png does belong in the zip correct?

I don't need some kind of full path to the png?

Are there certain types of "versions" of png that will not work?

 

Thanks,

Tim

Posted

So I tried opening in inkscape and re-exporting it as a png. It works, so it must be a version thing. For those who are really knowledgeable: anyone know what the difference is (2 is the file that does not work).

mk (2).png

mk.png

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...