Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: Acpowell on July 10, 2017, 09:35:04 pm

Title: CRT EMU 2.0 With GroovyMAME 186 on M3129DS-LG not displaying correctly
Post by: Acpowell on July 10, 2017, 09:35:04 pm
I have been using the CRT Emu driver on my 5770 GPU for a while now and was told I should switch to GroovyMAMA to get the best picture.  I believe I have it setup properly in the CRT driver and the mame.ini file.  Vert games play just fine but HORZ games are cut off slightly on the right and the screen kind of rolls around to the back.  It does not do this if I use regular mame.  I have some pics and a short video for an example. I also have the log file from GroovyMAME.

https://youtu.be/2ZGDmV1CLYU (https://youtu.be/2ZGDmV1CLYU)
https://youtu.be/avEr0QrWt3Y (https://youtu.be/avEr0QrWt3Y)

Title: Re: CRT EMU 2.0 With GroovyMAME 186 on M3129DS-LG not displaying correctly
Post by: Acpowell on July 12, 2017, 08:36:36 am
Any suggestions would really help me here.  I like the way the games look short of the right edge being messed up.  I did see a post mentioning a slightly similar issue but I don't believe it is quite the same as mine.  That one mentioned adjusting the "front porch" but I am not really sure what that means as I don't see "front porch" listed in the ini.
Title: Re: CRT EMU 2.0 With GroovyMAME 186 on M3129DS-LG not displaying correctly
Post by: haynor666 on July 12, 2017, 01:26:36 pm
Front/back porch You have to adjust in ArcadeOSD not in groovymame. This 56 Hz mode so picture shift is expected but this can be adjusted to fill nicely whole screen.

http://forum.arcadecontrols.com/index.php?topic=144484.0 (http://forum.arcadecontrols.com/index.php?topic=144484.0)
http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=46 (http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=46)
(https://thumb.ibb.co/fPfq2v/DSC05972.png) (https://ibb.co/fPfq2v)
Please ignore some geometry problems with my Sony TV.
Title: Re: CRT EMU 2.0 With GroovyMAME 186 on M3129DS-LG not displaying correctly
Post by: Acpowell on July 12, 2017, 01:57:18 pm
Front/back porch You have to adjust in ArcadeOSD not in groovymame. This 56 Hz mode so picture shift is expected but this can be adjusted to fill nicely whole screen.

http://forum.arcadecontrols.com/index.php?topic=144484.0 (http://forum.arcadecontrols.com/index.php?topic=144484.0)
http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=46 (http://geedorah.com/eiusdemmodi/forum/viewtopic.php?id=46)
(https://thumb.ibb.co/fPfq2v/DSC05972.png) (https://ibb.co/fPfq2v)
Please ignore some geometry problems with my Sony TV.

Yours says 256x240 not 2560x240.  Is that because of the CRT you are using?
Title: Re: CRT EMU 2.0 With GroovyMAME 186 on M3129DS-LG not displaying correctly
Post by: buttersoft on July 13, 2017, 12:42:00 am
He may actually have a 256x240 modeline he's using - you'll notice his refresh is slightly incorrect, where yours is perfect. Or he might be on XP...? Not specifically monitor related though, no.

Also, I don't think he's right about ArcadeOSD. You can adjust the timings there, and it's a good idea to do it so your modelines are correct for everything else, but GM gives not a ---steaming pile of meadow muffin--- whether you adjust your modes or don't. You have to specify a monitor in GM, and thus a range line. And that's where your horizontal size and position come from when using GM.

What you want to do is set up your super resolutions in VMM like you have, then go into ArcadeOSD and adjust each super resolution horizontally, then note down the timings of the modelines. You then add these timings to the crt_range0,1,2,3 lines in your mame.ini file, and set the monitor line to "monitor custom". You can either average the timings and use one range line (crt_range0) with broader values to do everything, or use several lines to try and catch everything. I'd recommend starting with the former.

The monitor presets sticky shows the preset range line for the "monitor arcade_15" setting to be thus (it's not shown in mame.ini in this case because arcade_15 is a preset with it's own values) - http://forum.arcadecontrols.com/index.php/topic,116023.0.html (http://forum.arcadecontrols.com/index.php/topic,116023.0.html)

   // Arcade 15.7 kHz - standard resolution
   arcade_15
   
      crt_range0  "15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576"

Values in bold are the horizontal size/position options - Front Porch, Sync Width & Back Porch respectively (right side, ~h-center & left side, in that order.) And then the min and max number of lines allowed in a progressive mode. You set "monitor custom" in mame.ini, copy the above range in, or possibly the "generic_15" one, and then adjust the values and test them.

Note that some of the VMM information in the thread linked above is out of date, IIRC. Go into the newer VMM and look at the monitor.ini file, then try adjusting the bolded values, then playing with the sliders so the graphs change. You can set all this in VMM by having it write to the mame.ini for you, sure, but in my experience nothing beats going into ArcadeOSD afterward and then adding exactly what you want to the mame.ini file.

(I prefer the quotation marks around the range values; I think I once had trouble somehow. I believe you can leave them out, however.)
Title: Re: CRT EMU 2.0 With GroovyMAME 186 on M3129DS-LG not displaying correctly
Post by: haynor666 on July 14, 2017, 03:44:28 pm
Yeah, I forgot to mention that I'm using native resolutions not super resolutions. In fact super resolution will be probably easier to set proper horizontal wight and shift since 8 lines is minimum step (at least looks like every change stretches pictures or move about 8 lines) so center nicely 256x240 is not always possible but for vertical situation will be identical - You can shift vertically by single line.

Still You will have to use either Slope option or vertical size option in Your TV/Arcade monitor.