BioHazard Posted October 4, 2023 Share Posted October 4, 2023 Almost there - I have everything setup the way I want it, however Mame games are not quite displaying in fullscreen. There is about an inch border on the top and bottom of the game. I ran Mame in command line separately to see if the problem persists, and it does. Attached is a screenshot of a game, they all do the same thing. When running the command line, I get the following message - Warning: layout view 'Bezel Artwork' contains deprecated bezel element Is there a switch that might override this issue? When running a game without the bezel, it does stretch to the top and bottom of the screen properly. Quote Link to comment Share on other sites More sharing options...
BioHazard Posted October 4, 2023 Author Share Posted October 4, 2023 By the way, I'm running Mame 0.259. Quote Link to comment Share on other sites More sharing options...
BioHazard Posted October 4, 2023 Author Share Posted October 4, 2023 I think I post problems just so I'll work on them, lol... I figured out one way to fix this. For this example, under Mame\Artwork\Polpos I edited the default.lay file. Here's the contents: <mamelayout version="2"> <element name="bezel"> <image file="bezel.png" /> </element> <view name="Bezel Artwork"> <bezel element="bezel"> <bounds left="0" top="0" right="16" bottom="9" /> </bezel> <screen index="0"> <bounds left="2" top="0" right="14" bottom="9" /> </screen> </view> </mamelayout> I changed bottom to equal 10 and that now makes the game completely full screen. I'm sure there is a more elegant way to fix this. Any ideas? Quote Link to comment Share on other sites More sharing options...
spycat Posted October 4, 2023 Share Posted October 4, 2023 As of MAME 0.225 lay file background element instances such as for bezels are considered deprecated and that's what's triggering the warning. Things will still work ok with MAME 0.225 to the latest 0.259 but possibly not forever, and the lay file can be updated to get rid of the warning. Quote Link to comment Share on other sites More sharing options...
spycat Posted October 4, 2023 Share Posted October 4, 2023 The deprecated element warning and the black bands are two separate and unrelated issues. To get rid of the warning message, in your lay file change line 6 from <bezel element="bezel"> to <element ref="bezel"> and change line 8 from </bezel> to </element> Quote Link to comment Share on other sites More sharing options...
BioHazard Posted October 4, 2023 Author Share Posted October 4, 2023 Thanks, I'll change that over. You don't notice the issue unless you're firing off Mame from a command line, but I'll update anyway. Notepad ++ to the rescue on the layout issue; just did a find and replace in files and now all my games display full screen properly. I would not have liked doing that 5,000 times! This could be an isolated issue for larger widescreen users. I am running 1920 x 1200, so others may not experience this problem. Quote Link to comment Share on other sites More sharing options...
spycat Posted October 4, 2023 Share Posted October 4, 2023 Yes, your bezel seems to be 16:9 whereas as you say your screen is 16:10 so that may explain the top and bottom black areas. Glad that you're sorted. 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.