Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: dekar24k on April 23, 2019, 04:44:18 pm

Title: GroovyMAME + LCD - Not filling screen space
Post by: dekar24k on April 23, 2019, 04:44:18 pm
Hey all. I'm currently doing a heavy Arcade1UP mod (basically making new CP and replacing everything including the monitor, the guts, speakers etc.). For this project I am using a 21" 4:3 LCD that is natively running 1600x1200@60Hz. I have a .198 romset, so I went with GM .197 as standard MAME does not syncrefresh properly (I notice small, occasional jitter when scrolling).

Anyways, I am extremely happy with my setup now, the scrolling is ultra-smooth, there's no input lag to speak of and my HLSL settings fools me into believing I'm playing on my Makvision CRT. The only thing that bothers me is that the screen is not entirely stretched (full). It looks to me like GM is using integer scaling, but shouldn't that only be enabled by setting unevenstretch 0 in mame.ini?

Any advice is greatly appreciated. Thanks to Calamity for this amazing MAME fork. I've been using it on all my previous builds, LCD or CRT. :)

PS. You can see by the attached file that there is plenty of screenspace left on each side.
Title: Re: GroovyMAME + LCD - Not filling screen space
Post by: schmerzkaufen on April 24, 2019, 05:02:38 am
For all-stretched you should have:
unevenstretch    1
intoverscan        0

However in my experience it works better to have unvevenstretch set within two specific .ini files called vertical.ini and horizont.ini, that you put in the dedicated ini folder.
Title: Re: GroovyMAME + LCD - Not filling screen space
Post by: dekar24k on April 24, 2019, 10:26:21 am
For all-stretched you should have:
unevenstretch    1
intoverscan        0

However in my experience it works better to have unvevenstretch set within two specific .ini files called vertical.ini and horizont.ini, that you put in the dedicated ini folder.

The weird thing is that I have already set unevenstretch 1 and intoverscan to 0. I have no interfering other .ini files either (only raster/vector.inis with HLSL related settings only).
Title: Re: GroovyMAME + LCD - Not filling screen space
Post by: schmerzkaufen on April 24, 2019, 11:17:58 am
Sorry if I wasn't clear, I mean you still need to have unevenstretch 1 written in the vertical and horizont ini's (create both yourself as they don't exist by default), and have them in your ini folder, no matter what.

It's a matter of (messed up I think) priorities, some things don't work well if set directly from the mame.ini

Same for control of filter for instance, if you want to enable/disable it (disabling it is required for HLSL) it's better done from vertical/horizont ini's or higher.

vertical.ini
Code: [Select]
unevenstretch             1
filter                    0

horizont.ini
Code: [Select]
unevenstretch             1
filter                    0


NB: in any case the ini system was broken at the time (since 0.174 iirc), some specific ini settings will be retained and overlap when you quit a game and start another.
This was fixed only from 0.203
But if you have only vertical.ini and horizont.ini it should be okay.

Title: Re: GroovyMAME + LCD - Not filling screen space
Post by: dekar24k on April 24, 2019, 03:28:41 pm
Sorry if I wasn't clear, I mean you still need to have unevenstretch 1 written in the vertical and horizont ini's (create both yourself as they don't exist by default), and have them in your ini folder, no matter what.

It's a matter of (messed up I think) priorities, some things don't work well if set directly from the mame.ini

Same for control of filter for instance, if you want to enable/disable it (disabling it is required for HLSL) it's better done from vertical/horizont ini's or higher.

vertical.ini
Code: [Select]
unevenstretch             1
filter                    0

horizont.ini
Code: [Select]
unevenstretch             1
filter                    0


NB: in any case the ini system was broken at the time (since 0.174 iirc), some specific ini settings will be retained and overlap when you quit a game and start another.
This was fixed only from 0.203
But if you have only vertical.ini and horizont.ini it should be okay.

This fixed it. All is beautiful now. Perfect scrolling, no (noticable) input lag, no sound issues.. Aahh.. Only love. Thanks! :)
Title: Re: GroovyMAME + LCD - Not filling screen space
Post by: schmerzkaufen on April 24, 2019, 03:45:14 pm
 :cheers: