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: Creating custom monitor preset with super resolutions  (Read 2397 times)

0 Members and 1 Guest are viewing this topic.

Elbaid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:February 28, 2017, 12:46:00 pm
Creating custom monitor preset with super resolutions
« on: March 08, 2016, 11:46:31 am »
I'm loving 2.0 in Windows 10 x64 so far, but have a few questions.

I'd like to create a custom crt_range to avoid centring the modelines after each use of vmmaker and would like to avoid using the Sony PVM's geometry settings as much as possible.

vmmaker creates 51hz modelines instead of 50hz when using dynamic modelines so I opened 720x288 (amiga) in arcade_osd, lowered the dotclock to get as close to 50hz refresh as possible, centred the image and copied the modeline to clipboard giving me this:

modeline "720x288_51 15.40KHz 50.01Hz" 14.54 720 760 832 944 288 290 293 308 -hsync -vsync
crt_range 15392.54-15412.54, 50.00-51.00, 2.751, 4.952, 7.703, 0.130, 0.195, 0.974, 0, 0, 288, 288, 576, 577

I did the same with 2560x288 (highest progressive vertical res):
modeline "2560x288_51 15.40KHz 50.01Hz" 51.26 2560 2704 2952 3328 288 291 294 308 -hsync -vsync
crt_range 15392.64-15412.64, 50.00-51.00, 2.809, 4.838, 7.335, 0.195, 0.195, 0.909, 0, 0, 288, 288, 576, 577

And centred 2560x240 (lowest progressive vertical res):
modeline "2560x240_60 15.66KHz 60.00Hz" 52.12 2560 2712 2960 3328 240 245 248 261 -hsync -vsync
crt_range 15651.06-15671.06, 50.00-60.00, 2.916, 4.758, 7.061, 0.319, 0.192, 0.830, 0, 0, 240, 292, 480, 585

Can I create an optimal crt_range using the above numbers and if so what will it be?

Also, if I add 2560x225 to the superuser.ini for SNES games in MAME so they aren't stretching to 2560x240, will I acually see any benefit? I have no way of testing this side by side.

Thanks
« Last Edit: March 08, 2016, 12:02:36 pm by Calamity »

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7463
  • Last login:July 19, 2025, 04:03:33 am
  • Quote me with care
Re: Creating custom monitor preset with super resolutions
« Reply #1 on: March 08, 2016, 12:10:59 pm »
What you need to do is to take the crt_range you're currently using, say arcade_15, edit it in notepad and *only* replace the 3 horizontal geometry values with these ones:

modeline "2560x240_60 15.66KHz 60.00Hz" 52.12 2560 2712 2960 3328 240 245 248 261 -hsync -vsync
crt_range 15651.06-15671.06, 50.00-60.00, 2.916, 4.758, 7.061, 0.319, 0.192, 0.830, 0, 0, 240, 292, 480, 585

I'm taking the ones from the 2560x mode because they'll be more accurate than the lower resolution's values. Also, because that one's using 15.66 kHz, which is probably closer to the horizontal frequency GM will end up using. When you modified the other modes in Arcade OSD to make them 50 Hz their hfreq went down too much at the same time. When hfreq goes down, the picture also gets wider, so you needed bigger horizontal borders for those. But GM will probably create those 50 Hz modes at 15.6 kHz, so using the other values would get the picture too narrow.

Hope it made sense.
Important note: posts reporting GM issues without a log will be IGNORED.
Steps to create a log:
 - From command line, run: groovymame.exe -v romname >romname.txt
 - Attach resulting romname.txt file to your post, instead of pasting it.

CRT Emudriver, VMMaker & Arcade OSD downloads, documentation and discussion:  Eiusdemmodi

Elbaid

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 42
  • Last login:February 28, 2017, 12:46:00 pm
Re: Creating custom monitor preset with super resolutions
« Reply #2 on: March 09, 2016, 05:11:17 am »
It makes sense, and improved the geometry somewhat. The 2560x225 modeline I added for SNES games was off centre, but after centring, the crt_range showed the exact same numbers I'd already added to the arcade_15 crt_range. So this modeline was ignored?
Anyway, not a huge issue as most of the 2560x modelines are improved.

When playing Zelda without the x225 modeline MAME uses x240 and still fills the screen. I can't see any difference between these two resolutions. Is MAME overscanning the x240 modeline?

Thanks for the help

*edit*
Just re-applied vmmaker modelines, checked 2560x225 again and found that before centring the details were:

modeline "2560x225_60 15.66KHz 60.00Hz" 52.12 2560 2712 2960 3328 225 234 237 261 -hsync -vsync
crt_range 15651.06-15671.06, 50.00-60.00, 2.916, 4.758, 7.061, 0.575, 0.192, 1.532, 0, 0, 225, 277, 450, 555

And after centring:
modeline "2560x225_60 15.66KHz 60.00Hz" 52.12 2560 2712 2960 3328 225 238 241 261 -hsync -vsync
crt_range 15651.06-15671.06, 50.00-60.00, 2.916, 4.758, 7.061, 0.830, 0.192, 1.277, 0, 0, 225, 277, 450, 555

So my edit was being applied, but there are other numbers within the crt_range affecting geometry? Slightly confused, but don't want to edit the monitor.ini without understanding exactly what changes I'm making

Thanks
« Last Edit: March 09, 2016, 06:28:07 am by Elbaid »