ericg384 Posted January 31, 2023 Share Posted January 31, 2023 How to make a overlay file for this ? Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
C-Beats Posted January 31, 2023 Share Posted January 31, 2023 You can open an existing .lay file in your MAME artwork folder and see how the file syntax is and then play around with it. I've added comments to one I have in my collection to help describe what each line is. <!-- bezel.lay --> <mamelayout version="2"> <!-- This is the version the layout syntax uses, mine all have 2 as the value --> <element name="bezel"> <!-- This is how you identify what images you want to use, typically will only have one. --> <image file="bezel.png" /> <!-- Points to the image you want to use --> </element> <view name="Bezel Artwork"> <!-- This is the name of the view that will appear in MAME options --> <bezel element="bezel"> <!-- This tells MAME that you want to render artwork using the element of the same name --> <bounds left="0" top="0" right="16" bottom="9" /> <!-- This says where you want the artwork (numbers are in px format) --> </bezel> <screen index="0"> <!-- This tells MAME where you want the game screen rendered --> <bounds left="2" top="0" right="14" bottom="9" /> <!-- This is where the screen should be placed (numbers are in px format) --> </screen> </view> </mamelayout> Quote Link to comment Share on other sites More sharing options...
spycat Posted January 31, 2023 Share Posted January 31, 2023 By the way, layouts with view element instances such as for bezels have been deprecated since MAME 0.225 and now trigger a warning. While those lays still work with MAME 0.251 they may not always do so. If you're on MAME 0.225 or later then you can update the above lay by replacing the line <bezel element="bezel"> with <element ref="bezel"> and the line </bezel> with </element> Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.