Miremare2025 Posted Wednesday at 03:24 PM Posted Wednesday at 03:24 PM This is driving me nuts so help would be appreciated. can’t get rid of the diagonal lines from asteroids in mame. I’ll post photos of the pngs and lay file can’t see what I’ve missed , sure it’s obvious . Quote
Tsik Posted Wednesday at 03:59 PM Posted Wednesday at 03:59 PM (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. 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 Wednesday at 05:52 PM by Tsik Quote
Solution Tsik Posted Wednesday at 05:23 PM Solution Posted Wednesday at 05:23 PM (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 Edited Wednesday at 05:52 PM by Tsik Quote
miremare Posted Wednesday at 06:50 PM Posted Wednesday at 06:50 PM <!-- 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> Quote
miremare Posted Wednesday at 07:18 PM Posted Wednesday at 07:18 PM just got it working thanks for your help 1 Quote
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.