Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: A couple of screen resolution questions  (Read 2845 times)

0 Members and 1 Guest are viewing this topic.

Nodoyuna

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 02, 2021, 12:44:59 pm
  • I want to build my own arcade controls!
A couple of screen resolution questions
« on: July 21, 2017, 06:40:24 am »
Hi

I have latest GroovyMAME installed, with Calamity's CRT Emudriver on a CRT TV, using Windows 7 at 640x480x30 Desktop resolution
I know it's working because it can change resolutions and all, but now I'm in "fine-tuning" mode :)
I have some questions:

1) About 640x480: GM changes to 640x480i, with the same refresh rate as the original. I think that's correct and it does look great, but it's an interlaced mode. I've read in another forum that if you force 640x480 games to 640x240 you can get a progressive resolution, but I don't really know how to do it, but it should be related to individual .INI files... Does anybody knows something about this?

2) Most of the games are not centered on screen. I've managed to center GroovyMAME game selector itself, but when I play the games, they're not centered. Any ideas on how to resolve it? I'm using arcade_15 monitor

3) Finally, for now at least... How can I add a new modeline? I've installed 120 modelines with VMMaker, getting them from MAME.exe, and if I try to install more modelines, the old set is replaced with the new one. So, how can I add new modelines, if needed, without losing the ones already installed?

Thanks in advance
« Last Edit: July 21, 2017, 06:42:08 am by Nodoyuna »

big10p

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 698
  • Last login:May 01, 2023, 01:46:23 pm
  • Mmmm, arcade classics!
Re: A couple of screen resolution questions
« Reply #1 on: July 21, 2017, 07:18:00 am »
What monitor do you have?

Standard 15khz arcade monitors can't do progressive scan for 640x480, only interlaced. Not sure why games display off-centre, although you can centre them in the mame slider controls. I recommend using Super Resolutions instead of trying to create a specific modeline for every game.

Nodoyuna

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 02, 2021, 12:44:59 pm
  • I want to build my own arcade controls!
Re: A couple of screen resolution questions
« Reply #2 on: July 21, 2017, 07:31:02 am »
What monitor do you have?

Standard 15khz arcade monitors can't do progressive scan for 640x480, only interlaced. Not sure why games display off-centre, although you can centre them in the mame slider controls. I recommend using Super Resolutions instead of trying to create a specific modeline for every game.

Hi

I have a CRT Television, it does accept 50Hz and 60Hz and it's connected to PC via VGA-SCART cable in RGB mode.
In GroovyMAME and VMMaker, the monitor preset is "arcade_15"
The trick of forcing 640x480 games to 640x240 is about force that resolution and apply bilinear filtering to scale to 480... It's still interlaced, but forcing it to 240 first, the display is clearer because bilinear filtering does not blur the image... It does sound good in theory at least...

I'll try slider controls to center the image... Once centered, it stays centered to that game, or if I close GroovyMAME, the next time I choose the game will be off-center again?

big10p

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 698
  • Last login:May 01, 2023, 01:46:23 pm
  • Mmmm, arcade classics!
Re: A couple of screen resolution questions
« Reply #3 on: July 21, 2017, 08:05:12 am »
Actually, forget what I said about adjusting screen position in MAME. Just realized it'll cut off the edge of the image, instead of moving the whole thing. I suspect your VGA-SCART adapter is somewhat to blame for the off-centre image. See if you can find how to access your TV's service settings. You may be able to position the screen image with those.

Hmm, not sure how bilinear filtering is going to help things. No filters should be needed with a CRT.

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:December 01, 2023, 07:39:55 pm
    • Eiusdemmodi
Re: A couple of screen resolution questions
« Reply #4 on: July 21, 2017, 11:50:12 am »
The trick of forcing 640x480 games to 640x240 is about force that resolution and apply bilinear filtering to scale to 480... It's still interlaced, but forcing it to 240 first, the display is clearer because bilinear filtering does not blur the image... It does sound good in theory at least...


This is nuts. You can halve the vertical resolution with GM indeed (or force whatever resolution, for that matter, but type unevenstretch 1 in machinename.ini if you're subscaling since integer subscaling is not supported), but what you suggest there goes nowhere. You force a particular resolution in order to display that resolution, not to modify MAME's code in regards to the driver's internal resolution. But anyway, taking off half the graphics can never be a good idea, unless it's originally a game with line-doubled/upscaled visuals.
« Last Edit: July 21, 2017, 11:53:51 am by Recapnation »

Nodoyuna

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 02, 2021, 12:44:59 pm
  • I want to build my own arcade controls!
Re: A couple of screen resolution questions
« Reply #5 on: July 21, 2017, 12:10:44 pm »
The trick of forcing 640x480 games to 640x240 is about force that resolution and apply bilinear filtering to scale to 480... It's still interlaced, but forcing it to 240 first, the display is clearer because bilinear filtering does not blur the image... It does sound good in theory at least...


This is nuts. You can halve the vertical resolution with GM indeed (or force whatever resolution, for that matter, but type unevenstretch 1 in machinename.ini if you're subscaling since integer subscaling is not supported), but what you suggest there goes nowhere. You force a particular resolution in order to display that resolution, not to modify MAME's code in regards to the driver's internal resolution. But anyway, taking off half the graphics can never be a good idea, unless it's originally a game with line-doubled/upscaled visuals.

OK, things are clearer now...

About centering the screen, i've tried slider controls but, is there any more automated way? I've centered the main mame screen by changing some values in the monitor preset... Can this be done in a game-per-game basis?

Thanks

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:December 01, 2023, 07:39:55 pm
    • Eiusdemmodi
Re: A couple of screen resolution questions
« Reply #6 on: July 21, 2017, 12:52:44 pm »
What Big said. Use the slider controls only to solve very minor overscan issues, if anything. Gaining access to your TV's service controls first and foremost is mandatory. Once your TV's better accommodated to your system's demands, you can try the steps in F.2 here:

http://geedorah.com/eiusdemmodi/forum/viewtopic.php?pid=987#p987


Nodoyuna

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 02, 2021, 12:44:59 pm
  • I want to build my own arcade controls!
Re: A couple of screen resolution questions
« Reply #7 on: July 21, 2017, 05:58:01 pm »
So, do I need to go to Arcade OSD and configure the centering, for EVERY game, one by one?

Recapnation

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 332
  • Last login:December 01, 2023, 07:39:55 pm
    • Eiusdemmodi
Re: A couple of screen resolution questions
« Reply #8 on: July 22, 2017, 07:58:34 am »
You didn't read the whole guide, did you? As Big pointed, with super resolutions you'll have a big part solved, since normally you'll only have to worry about the vertical centering and amplitude. For those games you're not happy with super resolutions for whatever reason, the machinename.ini approach may be necessary, yeah. But it all depends on your tolerance to over/underscan and your will to modify your monitor's own settings much like you had to do with the original hardware, in the end. In the worst-case scenario, games sharing a video mode originally will share the concerning configuration in machinename.ini, and many even are already grouped by drivername.ini if you create it.

Start with super resolutions, get your monitor accommodated to a 224-lines, 60-Hz game since it's the most used overall and try all the more advanced things when you're more confident with how it all works.
« Last Edit: July 22, 2017, 08:12:37 am by Recapnation »

Nodoyuna

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 28
  • Last login:June 02, 2021, 12:44:59 pm
  • I want to build my own arcade controls!
Re: A couple of screen resolution questions
« Reply #9 on: July 22, 2017, 08:27:07 am »
Hi
Thanks for the tips...
I've centered the image with TV's service mode and GM is more centered now by default
One thing I've checked is to disable interlaced modes (interlace = 0) and now everything that's 240p is centered by default
Is OK to have interlaced modes disabled in mame.ini? Games seems to work 100% anyway
Thanks in advance
« Last Edit: July 22, 2017, 11:26:34 am by Nodoyuna »