Public releases of snapshots will be announced on the News Submission Board


Frontend Tech + >> progetto-SNAPS
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Pages: 1

mnmax21
MAME Fan
Reged: 03/06/13
Posts: 1
Send PM


Widescreen Question
#390406 - 03/23/21 10:30 PM


Hello, I downloaded the widescreen artwork files and I love them so far. I have one question about them. When I play games, the scores and items on top and bottom are blocked by the black bezel. Is there a recommended setting I should be changing in my mame config file to take better advantage of the space? Thanks!



SteelTigers
STRAT Fan
Reged: 12/23/17
Posts: 106
Send PM


Re: Widescreen Question new [Re: mnmax21]
#390408 - 03/24/21 12:54 PM Attachment: asteroids_v_screen.jpg 577 KB (0 downloads)


You can make horizontal and vertical screen adjustments by pressing the "TAB" key on your keyboard, this will open a configuration menu. Look for "Slider Controls", click it, then you will see both adjustments for Screen Horiz Stretch, Screen Horiz Position, Screen Vert Stretch, Screen Vert Position on the menu list and you can change these values to adjust the height and width of the viewport. Alternatively, you can go into the *.lay file of the artwork folder you want to tweak by adjusting the viewport boundaries, example:

bounds x="524" y="183" width="893" height="644"

This tells mame where to render the viewport and sets the boundaries for it. Example; x="524" tells mame to start drawing horizontal viewport 524 pixels to the right of the artwork image file being used for the bezel and 183 pixels from the top of that image (vertical) and then the 893x644 is the real estate that mame will use from within that image file being used as the backdrop/background etc to draw the viewport area.

screen index="0"
bounds x="524" y="183" width="893" height="644"
screen
bezel element="Virtual_Asteroids"
bounds x="0" y="0" width="1920" height="1080"
bezel


The bezel element tells mame the native resolution of the image artwork being used. Which, in this example is a 1920x1080 image or 1080p if you will. So now that MAME knows the image being used is 1920x1080, now mame wants to know where in that 1920x1080 area should it draw the viewport. So out of 1920x1080 pixels used in the artwork, we tell mame to use these cords: x="524" y="183" & width="893" height="644" to set the screen area within the 1920x1080 area of the image background. If you are unfamiliar with layout files, using slider adjustments from the TAB Menu will work for you...

[ATTACHED IMAGE - CLICK FOR FULL SIZE]

Attachment


Pages: 1

Frontend Tech + >> progetto-SNAPS
Previous thread Previous  View all threads Index   Next thread Next   Threaded Mode Threaded  

Extra information Permissions
Moderator:  AntoPISA 
0 registered and 1 anonymous users are browsing this forum.
You cannot start new topics
You cannot reply to topics
HTML is enabled
UBBCode is enabled
Thread views: 83