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
Site News

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


  

Author Topic: Forcing vertical aspect ratio  (Read 333 times)

0 Members and 1 Guest are viewing this topic.

bjt42

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • I want to build my own arcade controls!
Forcing vertical aspect ratio
« on: December 09, 2018, 03:50:57 pm »
Under Groovy arcade, there is a menu option for forcing aspect ratio for vertical games on a horizontal monitor. Does anyone know which config file/option this controls?

Zebidee

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1126
Re: Forcing vertical aspect ratio
« Reply #1 on: December 10, 2018, 04:39:35 am »
Set the monitor orientation in VMMaker under monitor settings (you should have both desktop as horizontal, and then the rotated screen as vertical).

Click "export settings to mame" and your groovymame executable in the last tab.

Click OK. Mame.ini will be auto-updated.

Groovymame should now auto-rotate your vertical games when you choose them.

If that doesn't work, then delete mame.ini in your Groovymame folder and everything in the /ini and /cfg folders and try again with VMMaker (you may have to manually re-enter rom directories etc to mame.ini if you don't use the default). If deleting things makes you nervous, then backup first if you like.
Check out my completed projects!


bjt42

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • I want to build my own arcade controls!
Re: Forcing vertical aspect ratio
« Reply #2 on: December 10, 2018, 05:26:11 am »
To clarify this is under Linux using auto modeline generation via Switchres, not Windows.

Does this groovy arcade menu option modify the switchres config or some other config? Cheers

Calamity

  • Moderator
  • Trade Count: (0)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6426
Re: Forcing vertical aspect ratio
« Reply #3 on: December 10, 2018, 07:51:04 am »
The vertical aspect ratio option modifies the -aspect option inside the vertical.ini file.

To put this in context, back when GroovyArcade was released, most of us were used to the ArcadeVGA standard for vertical resolutions. The ArcadeVGA has several resolutions that are intended for their use with vertical games. These are all 384 pixels horizontally, eg. 384x256 and 384x288. The result of rendering vertical games with the correct 1x1 pixel scale on these resolutions is incorrect aspect-wise, resulting in a visible area that is wider than it should, but in a way it's also nicer because it covers a bigger portion of the screen.

When I coded the modeline algorithm, I made it so vertical games were shown in their correct aspect ratio. In other words, if you take a ruler and measure the visible width and height on the actual screen it should result in 3/4. However, many people complained the games looked too thin, probably just because they were used to the ArcadeVGA way.

So this option was provided, to allow forcing the vertical aspect ratio and make it more similar to the other (incorrect) way. It works by "cheating" about the physical aspect of target monitor. This makes GroovyMAME apply a correction factor that in the end achieves the (incorrect) desired aspect ratio.

E.g., if you tell GM your monitor aspect is 3:4, it will render vertical games full screen. This is the edge case.

Setting monitor aspect to 3:3 will cause games to look square on a 4:3 monitor.

A value in the middle like 5:4 achieves somewhat similiar results those of the ArcadeVGA.

etc.
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 or pasting it.

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

bjt42

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 22
  • I want to build my own arcade controls!
Re: Forcing vertical aspect ratio
« Reply #4 on: December 10, 2018, 10:57:17 am »
Thank you, this makes sense. I was indeed looking for a way to make them slightly wider than at the default 4:3 setting.

The "wider" option in the GroovyArcade menu appears to be incorrect as it sets the ratio to 7/5 (same as the "normal" 4/3 setting). I assume it's a typo.

  
 

Sitemap 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31