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: Question about individual game resolution in GroovyMAME  (Read 1357 times)

0 Members and 1 Guest are viewing this topic.

purbeast

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 170
  • Last login:July 01, 2025, 09:29:34 pm
Question about individual game resolution in GroovyMAME
« on: April 06, 2025, 11:29:06 am »
I am running GroovyMAME on a NeoTech 25 standard resolution monitor at 320x240 desktop and everything is working great.  I have the V/H pots set so that I can see the full screen just around the edges of my screen in desktop mode and everywhere else (for the most part as explained below).

When I load up games like Area 51 or Maximum Force, they fill out my monitor perfectly since they the super res picked has 240 vertical pixels to match the real game.

However there are some games that I load up and the top/bottom are overstretched a bit and off the screen on both sides. 

And it makes sense based on the super res that is being picked to match the original resolution.

I noticed for instance with T2 it picks one that is 256 pixels vertically, so it makes sense that the top/bottom are cut off a bit.  It appears that the horizontal pixels are fine though just from eyeballing it but I am not 100% positive if it is or not.

The way it is now is very playable, but some of the meters/gauges in T2 and Revolution X are cut off a bit and you just can't see everything.  So if it's possible I would like to see what it looks like kind of letterboxed into my 320x240 res with some small borders on the left/right sides.

I was wondering if there is anyway to force the super res to always pick 240 in vertical space but keep the aspect ratio fine.  This would probably mean for games like T2 if that happened, I'd have some small black bars on the left/right side of the screen, which would be fine with me because I can see the full screen.

EDIT:

I tried creating a term2.ini and put "resolution 2560x240" and while that worked for the height, it didn't keep the original aspectratio.  So it is squished a tad but I don't even know how noticeable it is to be honest, it may be fine.  I tried setting the "keepaspect" flag to 1 too and that didn't work, so still wondering if there is anyway I can keep the original aspect ratio while having the height set to 240.
« Last Edit: April 06, 2025, 07:58:32 pm by purbeast »

purbeast

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 170
  • Last login:July 01, 2025, 09:29:34 pm
Re: Question about individual game resolution in GroovyMAME
« Reply #1 on: April 06, 2025, 08:22:55 pm »
It looks like when I mess with the "non scaling integer" values in the video mode options in the game, it may be doing what I want it to do, but I am not sure.

It is "on" by default where it fills out the full width of the screen, however if I turn it to "off" or "y-only" the screen gets a bit narrower with black bars on the side.

However, regardless of me setting the res to 2560x240 or I just let it render with switch res in 2560x258, it appears that the size of the black bars are the same

Not knowing mucha bout what this is actually doing, I'm not sure if this is what I am looking for.

If I wanted to just turn this setting to "off" by default, or "y only", which value in mame.ini is it that I want to change?

I did also notice that the non integer scaling options did absolutely nothing on 320x240 games like Area 51, so I am thinking maybe setting this in the mame.ini as well as resolution to 2560x240 may be what I want to do, if I want it to fit to my screen and be in right aspect ratio.

Anyone with more knowledge able to comment more on this if it's the right thing I'm looking for or not?

purbeast

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 170
  • Last login:July 01, 2025, 09:29:34 pm
Re: Question about individual game resolution in GroovyMAME
« Reply #2 on: April 07, 2025, 12:37:05 am »
Okay I played around a little bit more and it looks like if I have the "keep aspect ratio" set to ON and then the "non-integer scaling" to y only that everything appears to be fine without having to set any specific resolution.

However I don't know how to set non-integer scaling to default to y only, and also, I don't know why but when I set "keepaspect 1" in my mame.ini, it does not turn that value to "on" in the actual game. 

And if I set it in term2.ini, it does actually set it to on in the game in the menu.  I also renamed the ini/presets folder so I know it's not taking anything from there in raster.ini or anything else.

I know there is some order that it loads up ini files, however I have no clue what is being loaded to turn it off between mame. ini and term2.ini.

So I have 2 questions I think:

1. How do I default the non integer scaling to y only.

2. How can I figure out why keepaspect being set in mame.ini is not being taken into consideration but in term2.ini it is? 

purbeast

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 170
  • Last login:July 01, 2025, 09:29:34 pm
Re: Question about individual game resolution in GroovyMAME
« Reply #3 on: April 07, 2025, 12:58:28 pm »
Okay so I figured out the problem.

It turns out that after mame.ini gets loaded, Switchres is setting some stuff that is overriding my mame.ini stuff.  This includes Switchres setting -unevenstretchx or something that turned the "Non-integer scaling" to be on or X only, depending on the other settings that it picks up.

Then after that, term2.ini gets loaded up but it wasn't taking my unevenstretchy setting of 1 I guess because it already found the one from Switchres and ignored it.

What I had to do was basically add all the unevenstretch options to my term2.ini and set them to 0, except unevenstretchy.

Once I did that, and had keepaspect set to 1 in there, it now defaults to the settings that I am wanting.

So I guess my question now is, is there anyway that I can tell Switchres to always set these values, or to ignore them so that it takes my mame.ini files?

There are a few games that are like this that I've found already (term2 and revx) and it seems to have no effect on actual 320x240 resolution games, like Area 51, so I think just setting it in mame.ini would be easiest for me instead of creating individual files.

Thanks.