Build Your Own Arcade Controls Forum

Software Support => GroovyMAME => Topic started by: DaddyLongLegs on October 05, 2021, 03:09:27 pm

Title: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: DaddyLongLegs on October 05, 2021, 03:09:27 pm
Hello!

I have been using CRT Emudriver along with GroovyMAME on my genuine standard res Wells Gardner 7000k for some time now. I decided I wanted to also try some other emulators, mainly Super Nintendo.

I found a guide on adding a bunch of extra super resolutions to the setup. The guide can be found here: https://cdcruze.com/2019/03/retroarch-and-crt-emudriver-setup-guide/

Long story short, this is what my user_modes - super.ini looks like now:

Code: [Select]
## Desktop ##

 640 x 480 @ 60.000000 desktop

## Super resolutions ##

2560 x 240 @ 60.000000 super
2560 x 248 @ 60.000000 super
2560 x 256 @ 60.000000 super
2560 x 264 @ 60.000000 super
2560 x 272 @ 60.000000 super
2560 x 280 @ 60.000000 super
2560 x 288 @ 60.000000 super
2560 x 296 @ 60.000000 super
2560 x 304 @ 60.000000 super
2560 x 320 @ 60.000000 super
2560 x 336 @ 60.000000 super
2560 x 344 @ 60.000000 super
2560 x 352 @ 60.000000 super
2560 x 360 @ 60.000000 super
2560 x 368 @ 60.000000 super
2560 x 376 @ 60.000000 super
2560 x 384 @ 60.000000 super
2560 x 392 @ 60.000000 super
2560 x 400 @ 60.000000 super
2560 x 416 @ 60.000000 super
2560 x 432 @ 60.000000 super
2560 x 448 @ 60.000000 super
2560 x 464 @ 60.000000 super
2560 x 480 @ 60.000000 super
2560 x 496 @ 60.000000 super
2560 x 512 @ 59.000000 super
2560 x 544 @ 55.000000 super
2560 x 560 @ 54.000000 super
2560 x 768 @ 60.000000 super
2560 x 800 @ 60.000000 super

2560 x 192 @ 60.000000 retroarch
2560 x 200 @ 60.000000 retroarch
2560 x 240 @ 60.000000 retroarch
2560 x 224 @ 60.000000 retroarch
2560 x 237 @ 60.000000 retroarch
2560 x 256 @ 50.000000 retroarch
2560 x 254 @ 55.000000 retroarch
2560 x 448 @ 60.000000 retroarch
2560 x 480 @ 60.000000 retroarch

So I loaded that ini into CRT Emudriver (latest version, beta 15) and Video Mode Maker says "20 modelines generated".

(https://i.imgur.com/KUgOMs4.png)

Unfortunately it's a lot more than 20, and a ton do not show up in ArcadeOSD. Here are the ones that do not show up in ArcadeOSD after installation:

Code: [Select]
2560 x 296 @ 60.000000 super
2560 x 304 @ 60.000000 super
2560 x 320 @ 60.000000 super
2560 x 336 @ 60.000000 super
2560 x 344 @ 60.000000 super
2560 x 352 @ 60.000000 super
2560 x 360 @ 60.000000 super
2560 x 368 @ 60.000000 super
2560 x 376 @ 60.000000 super
2560 x 384 @ 60.000000 super
2560 x 392 @ 60.000000 super
2560 x 400 @ 60.000000 super
2560 x 416 @ 60.000000 super
2560 x 432 @ 60.000000 super
2560 x 768 @ 60.000000 super
2560 x 800 @ 60.000000 super

Does anybody know why this might be the case? Even with the unmodified ini file it does not seem to load or install all the resolutions listed.

I would really appreciate any insight into this. Thank you so much!

edit: Here is what my settings looks like if it helps

(https://i.imgur.com/69EBpGD.png)
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: MK3FANATIC on October 05, 2021, 07:47:23 pm
These resolutions that are not installed are 25khz and 31khz resolutions, probably your monitor does not support or is not configured for such.
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: buttersoft on October 06, 2021, 01:27:03 am
These resolutions that are not installed are 25khz and 31khz resolutions, probably your monitor does not support or is not configured for such.

Hey, well spotted! DDL, you're setting the Arcade15 preset? I'm actually surprised that can get near 288@60p, even...
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: B2K24 on October 06, 2021, 02:06:55 am
You can run Super Nintendo with GroovyMAME if you have the appropriate files and software lists make it super simple. I know RA has features that some people like, but GM can already do natively what you're after :D
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: DaddyLongLegs on October 06, 2021, 08:26:29 am
Oops, sorry I'm a dummy! I should have posted pics of all my settings:

(https://i.imgur.com/frkbECO.png)

(https://i.imgur.com/11g1QCD.png)

(https://i.imgur.com/UXyz5Im.png)

Do those all look okay?

Also I was able to get a bunch of new modelines installed (120, which is the max). The way I was able to do that was by changing the settings to this:

(https://i.imgur.com/aTtrMQC.png)

This installed 120 modelines. However, since that's the max, I am a bit worried that there might be some important ones it might have "dropped". Is there any way to know that? Is there a way for the program to "favor" certain resolutions towards that 120 limit so it's not wasted on ones that will never be used in a million years?

Also why do all the guides I read not recommend this setting?

(https://i.imgur.com/0VHWb8e.png)

All the guides I see show to leave those unchecked. But with them unchecked, I only get 15 modelines generated.

Also a side question but why isn't "2560 x 254" included in "user_modes - super.ini" when Ultimate Mortal Kombat 3 is a game that runs in 254?
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: MK3FANATIC on October 06, 2021, 01:43:15 pm
the super resolutions were created with the objective of reducing the number of resolutions that need to be installed and even then it will support all games, as only the vertical resolution will vary. That way you don't need 120 resolutions. And actually in the official download file of crt emudriver it is missing a few resolutions, but you can easily add it in user-modes-super.ini file. I'll attach the resolutions I use, if you want to copy them. It covers pretty much every game I've tried. Remembering that if your monitor is only 15khz, progressive resolutions above 288p will not be installed as they are 25khz and 31khz. Interlaced 15khz resolutions will also be installed in the range from 448i to 576i, which will be used in place of 25 and 31 kHz resolutions.
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: DaddyLongLegs on October 06, 2021, 01:50:51 pm
the super resolutions were created with the objective of reducing the number of resolutions that need to be installed and even then it will support all games, as only the vertical resolution will vary. That way you don't need 120 resolutions. And actually in the official download file of crt emudriver it is missing a few resolutions, but you can easily add it in user-modes-super.ini file. I'll attach the resolutions I use, if you want to copy them. It covers pretty much every game I've tried. Remembering that if your monitor is only 15khz, progressive resolutions above 288p will not be installed as they are 25khz and 31khz. Interlaced 15khz resolutions will also be installed in the range from 448i to 576i, which will be used in place of 25 and 31 kHz resolutions.

Thank you so much.

It seems like in mame.ini I used to be able to have "resolution auto" and switchres would still work.  But now all of a sudden I need to put in "resolution 2560x0" in mame.ini.

Did I screw something up that is causing me to need that line in mame.ini in order for it to work?

I am trying to figure out if it's also the reason my OSD (like where you enable cheats and stuff) looks so crappy now; it looked flawless a week ago:

(https://i.imgur.com/GanxFQ2.png)

Now that same OSD in the same exact game looks all blocky and crappy. What could have caused that all of a sudden? It's making me paranoid that other things are set wrong too.

Also am I supposed to be messing with the crt_range0 setting in mame.ini after installing new modelines?

Edit: I tried your ini; thank you! However I noticed switchres didn't work when I tried Killer Instinct and VS Super Mario Bros. but it does work for games like UMK3 and Street Fighter 2. Any ideas why?
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: MK3FANATIC on October 06, 2021, 03:05:14 pm


Quote
It seems like in mame.ini I used to be able to have "resolution auto" and switchres would still work.  But now all of a sudden I need to put in "resolution 2560x0" in mame.ini.
This is necessary so that when you have 320x240, MAME prefers to set 2560x240

Quote
Did I screw something up that is causing me to need that line in mame.ini in order for it to work?
No.

Quote
I am trying to figure out if it's also the reason my OSD (like where you enable cheats and stuff) looks so crappy now; it looked flawless a week ago:

Now that same OSD in the same exact game looks all blocky and crappy. What could have caused that all of a sudden? It's making me paranoid that other things are set wrong too.
The OSD will be at the same resolution quality as the game was set, but generally when set to 2560 it's pretty readable.

Quote
Also am I supposed to be messing with the crt_range0 setting in mame.ini after installing new modelines?
No.

Quote
Edit: I tried your ini; thank you! However I noticed switchres didn't work when I tried Killer Instinct and VS Super Mario Bros. but it does work for games like UMK3 and Street Fighter 2. Any ideas why?
Check if you don't have an individual ini file of the games in the MAME folder, if so, delete them. Or install the resolutions again and do not add 320x240.
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: DaddyLongLegs on October 06, 2021, 03:46:21 pm
Thank you so much for the reply. I wish there was a way I could mail you a six pack of beer or something.

I noticed with your ini file, I am getting a lot of worbly audio in games like UMK3 and SF2, like it's out of sync or the refresh rate is screwed up or something. When I use the default super resolutions ini, the issue goes away. Any ideas why that would be the case?
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: MK3FANATIC on October 06, 2021, 04:29:11 pm

Quote
Thank you so much for the reply. I wish there was a way I could mail you a six pack of beer or something.
:)

Quote
I noticed with your ini file, I am getting a lot of worbly audio in games like UMK3 and SF2, like it's out of sync or the refresh rate is screwed up or something. When I use the default super resolutions ini, the issue goes away. Any ideas why that would be the case?
I think this has no connection, you just copied some resolutions and added them to your file. Try checking the v-sync or frame delay options, if your CPU is not strong enough it may cause some audio sluggishness or distortion. What is your machine's config?
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: DaddyLongLegs on October 06, 2021, 04:56:08 pm

Quote
Thank you so much for the reply. I wish there was a way I could mail you a six pack of beer or something.
:)

Quote
I noticed with your ini file, I am getting a lot of worbly audio in games like UMK3 and SF2, like it's out of sync or the refresh rate is screwed up or something. When I use the default super resolutions ini, the issue goes away. Any ideas why that would be the case?
I think this has no connection, you just copied some resolutions and added them to your file. Try checking the v-sync or frame delay options, if your CPU is not strong enough it may cause some audio sluggishness or distortion. What is your machine's config?

The weird thing is that I didn't have the worbly audio two days ago, so I definitely messed something up. It's a Core i7 930 overclocked to 4.0 ghz with 24gb of RAM. It definitely should be able to handle Super Mario Bros without the audio worble :)

What mame.ini settings should I adjust to mess with the vsync and frame delay as you described?
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: MK3FANATIC on October 06, 2021, 05:49:03 pm
your config is really good for MAME. You can try the following; make a backup of the mame ini and delete it from the mame folder and make a new config. The default is already to work without any bugs.
Title: Re: I can only get about 15 to 20 video modes generated with CRT Emudriver (pics!)
Post by: DaddyLongLegs on October 07, 2021, 07:46:00 am
your config is really good for MAME. You can try the following; make a backup of the mame ini and delete it from the mame folder and make a new config. The default is already to work without any bugs.

Can I please buy you a beer or something? lol I'm being serious.

I'm a bit scared to just replace my mame.ini with the one in the groovymame.zip. Unless you meant "creating" the mame.ini by running groovymame.exe -cc? Is there a difference between doing that and using the one that's already in the groovymame.zip download?

Also I got a text comparison program and am looking at my current mame.ini and the one in the groovymame.zip and here's the only differences I see:

in CORE PERFORMANCE OPTIONS, my current ini has "autosync 1". This line is not in the mame.ini from the groovymame.zip at all

In my current ini, OSD OUTPUT OPTIONS has "output windows" and the mame.ini in the groovymame.zip has "output auto".

In my current ini, OSD PER-WINDOW VIDEO OPTIONS has "aspect 4:3" and the mame.ini in the groovymame.zip has "aspect auto".

In my current ini, OSD FULL SCREEN OPTIONS has "monitor custom" and the mame.ini in the groovymame.zip has "monitor generic_15"

In my current ini, crt_range0 has "15625-16200, 49.50-65.00, 2.000, 4.700, 8.000, 0.064, 0.192, 1.024, 0, 0, 192, 288, 448, 576" and the mame.ini in the groovymame.zip has "auto"

I also have "video" set to "d3d" instead of "auto".

And finally, in  my current ini, under  FRONTEND COMMAND OPTIONS, it has "orientation horizontal" and the mame.ini in the groovymame.zip does not have this line at all.


Could any of these be causing my issue?

edit: for testing I removed "autosync 1" from CORE PERFORMANCE OPTIONS since "autosync 1" was already somewhere else in the ini file. I also changed OSD OUTPUT OPTIONS from "output windows" to  "output auto" and neither of those made a difference.  I even put in "-priority 1" as part of the command line in LaunchBox because it's supposed to make MAME use more of the CPU.  I am still getting audio that's all warped all over the place, even in something as basic as VS Super Mario Bros. :(

This literally was not happening a week ago. The only things I've done since then was update from 0.235 to 0.236, and messed with CRT Emudriver a bit. I have absolutely no idea why this is happening after those two things. :(