timb Posted November 27, 2016 Posted November 27, 2016 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
phulshof Posted November 27, 2016 Posted November 27, 2016 Is the filename of the image correct, case sensitivity taken into account?Sent from my SM-G920F using Tapatalk
timb Posted November 27, 2016 Author Posted November 27, 2016 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
timb Posted November 27, 2016 Author Posted November 27, 2016 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).
timb Posted November 27, 2016 Author Posted November 27, 2016 That is, mk (2).png doesn't work, it is on top).
phulshof Posted November 27, 2016 Posted November 27, 2016 I've had similar issues with png images in the past; I never did figure out what caused it.Sent from my SM-G920F using Tapatalk
Recommended Posts
Archived
This topic is now archived and is closed to further replies.