Miremare2025 Posted February 4 Posted February 4 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 February 4 Posted February 4 (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 February 4 by Tsik Quote
Solution Tsik Posted February 4 Solution Posted February 4 (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 February 4 by Tsik Quote
miremare Posted February 4 Posted February 4 <!-- 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 03:43 PM Posted Wednesday at 03:43 PM how did you work out the correct co-ordinates to fit everything together correctly please? Quote
Tsik Posted Wednesday at 09:02 PM Posted Wednesday at 09:02 PM (edited) I use Paint.net just because I'm familiar with it.. Take a look in the image below and if you need more info/help I'll be happy to provide 😄 If you get familiar with the idea, you can place anything in any position in your screen area just by using the selection tool (or the wand) and read the numbers in the 1,2 & 3 positions at the bottom. Edited Wednesday at 09:13 PM by Tsik Quote
miremare Posted Wednesday at 10:13 PM Posted Wednesday at 10:13 PM brill, thanks makes sense now, im working on a lot of the old vector games to make them more interesting, a bit like the old "mb vectrex" from the 80's where the overlays and backgrounds were laminate overlays. thank you 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.