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: Issues with GroovyMAME roms and gfx artifacts  (Read 4742 times)

0 Members and 1 Guest are viewing this topic.

MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Issues with GroovyMAME roms and gfx artifacts
« on: February 04, 2021, 10:54:12 am »
Hi,

I'm using GroovyMAME with crt_emudriver on a JAMMA cab with a CRT and Hantarex 900E chassis.  I have 2 issues I'd like to resolve.

I have MAME 0.222 setup on a laptop, and GroovyMAME 0.222 setup on the arcade cab.  I downloaded a MAME 0.222 merged romset and copied the same roms I wanted to both the laptop and arcade rom folders.  On the laptop the games all start fine, on GroovyMAME they say "One or more ROMs/CHD for this machine are incorrect".  I tried some other MAME222 roms and used RomCentre to fix any roms with issues but it was the same result, all games are fine on MAME but have that error message in GroovyMAME.

The 2nd issue is I have some graphics artefacting on Robocop.  When the game starts, the green writing on the screen looks like it is missing a line of pixels.  When Robocop walks his mask visor glitches so it looks like it is opening and closing.  This doesn't happen when I test the game on MAME222 on a laptop.  This may be happening on other games too but I've only noticed it on Robocop so far.

I believe my GM and CRT_emu are setup correctly but maybe I'm missing something which means it doesn't work correctly with Robocop's resolution.  If anyone could help me audit my setup maybe we could find out why I'm getting this gfx glitch.

Thank you in advance.

MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #1 on: February 05, 2021, 05:54:09 pm »
Does anyone have any idea how to fix either of these issues?

Thanks.

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: Issues with GroovyMAME roms and gfx artifacts
« Reply #2 on: February 06, 2021, 04:52:27 am »
Hi MrMatt,

MAME and GroovyMAME are 100% the same regarding roms, so double check your rom files because there's something wrong for sure.

With regards to Robocop's mask visor glitch, your description somewhat sounds like tearing but I can't tell. I'd need a log to be able to help.
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

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3428
  • Last login:Today at 02:42:13 pm
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #3 on: February 06, 2021, 07:46:20 am »
 :pics

You can run Groovymame and vanilla mame from same directory, and that way they use the same mame.ini file and other resources like roms, art, snaps etc., generally the simpler way to do it.

Check your mame.ini for rom directories
Check out my completed projects!


schmerzkaufen

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 792
  • Last login:April 16, 2025, 09:46:43 am
  • Multiple Electronic Machine Emulator
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #4 on: February 06, 2021, 11:43:44 am »
FYGI most people hardly get their roms from reliable sources anymore.
There's like only two places remaining on the interwebs that dispense clean complete up-to-date romsets, AFAIK, maybe one or two more that I don't know. *shrug*
And so, the often older sets they find 'elsewhere' sometimes might miss something, either a proper game rom, or the whole BIOS and/or 'devices' roms that are essential to run many of the games.
MAME tells what binary file is missing, not the name of the zipped rom that file is expected to be found in, and it can be any of the three types.

(ps: that's why I like to stay up to date with the roms and builds, so I don't have to search for little bits and parts, nor read old whatnew/mameinfo to find what change nuked my setup)

MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #5 on: February 06, 2021, 08:27:08 pm »
Hi MrMatt,

MAME and GroovyMAME are 100% the same regarding roms, so double check your rom files because there's something wrong for sure.

With regards to Robocop's mask visor glitch, your description somewhat sounds like tearing but I can't tell. I'd need a log to be able to help.

Hi.

I'm using the exact same roms on my laptop and my cab, I even have GM running on my laptop and it doesn't report the error that there are missing CHD/files with the same roms I use on my cab.  Could it be an xml is different on my cab than my laptop?

I'll get a vid of the Robocop artefacting, I don't think it is screen tearing, on one of the frames when walking his mask looks like it is closed.  It's very consistent.

MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #6 on: February 07, 2021, 11:47:07 am »
Hi MrMatt,

MAME and GroovyMAME are 100% the same regarding roms, so double check your rom files because there's something wrong for sure.

With regards to Robocop's mask visor glitch, your description somewhat sounds like tearing but I can't tell. I'd need a log to be able to help.

Hi.

This is the log.  I had to run mame64.exe -v, I don't know where or what groovymame.exe is.  I hope this is correct.

I recorded some footage using MAME's inbuilt avi recorder and I could see the artefacting on the CRT screen but it didn't capture it in the recorded video.  I guess this means it's something to do with my CRT resolution?

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3428
  • Last login:Today at 02:42:13 pm
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #7 on: February 07, 2021, 03:45:14 pm »
Hi MrMatt,

MAME and GroovyMAME are 100% the same regarding roms, so double check your rom files because there's something wrong for sure.

This is the key issue. You need to sort out your roms directory in mame.ini, which is in whatever folder you run mame (or groovymame) from. You can also select roms directory from the standard mame/groovymame GUI options very easy stuff  :cheers:

This is the log.  I had to run mame64.exe -v, I don't know where or what groovymame.exe is.  I hope this is correct.

This is the other part of your problem. How do you even run groovymame when you don't know where the executable is? Given that you don't know where groovymame.exe is, why/how can you even comment about it screen tearing in Robocop? Another thing... how do you even run Robocop if you can't locate your roms? This make no sense  :dunno

Just put groovymameXX.exe into your mame folder and BAM! they are using the same config for roms and everything else. Then you'll also know where the groovymame.exe is  ^-^

Quote
I recorded some footage using MAME's inbuilt avi recorder and I could see the artefacting on the CRT screen but it didn't capture it in the recorded video.  I guess this means it's something to do with my CRT resolution?

Let's deal with the other issues first, then we can help you deal with your groovymame setup.
Check out my completed projects!


MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #8 on: February 07, 2021, 04:40:08 pm »
Hi MrMatt,

MAME and GroovyMAME are 100% the same regarding roms, so double check your rom files because there's something wrong for sure.

This is the key issue. You need to sort out your roms directory in mame.ini, which is in whatever folder you run mame (or groovymame) from. You can also select roms directory from the standard mame/groovymame GUI options very easy stuff  :cheers:

This is the log.  I had to run mame64.exe -v, I don't know where or what groovymame.exe is.  I hope this is correct.

This is the other part of your problem. How do you even run groovymame when you don't know where the executable is? Given that you don't know where groovymame.exe is, why/how can you even comment about it screen tearing in Robocop? Another thing... how do you even run Robocop if you can't locate your roms? This make no sense  :dunno

Just put groovymameXX.exe into your mame folder and BAM! they are using the same config for roms and everything else. Then you'll also know where the groovymame.exe is  ^-^

Quote
I recorded some footage using MAME's inbuilt avi recorder and I could see the artefacting on the CRT screen but it didn't capture it in the recorded video.  I guess this means it's something to do with my CRT resolution?

Let's deal with the other issues first, then we can help you deal with your groovymame setup.

OK, maybe I've missed a step but my GM directory only has mame64.exe.  I just re-downloaded the GroovyMAME0.222 017q zip folder and there isn't a groovymame.exe inside it.

MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #9 on: February 07, 2021, 05:00:50 pm »
Also, all of my ROMs work in GM on the cab, they just all have the warning that there are missing or incorrect CHDs/ROMs.

This is the resolution info screen for Robocop, so I thought that switchres and GM was working OK because it is in 15kHz.  I've always launched them using the mame64.exe inside the GM directory.


« Last Edit: February 07, 2021, 05:03:52 pm by MrMatt »

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3428
  • Last login:Today at 02:42:13 pm
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #10 on: February 07, 2021, 05:43:28 pm »
OK, maybe I've missed a step but my GM directory only has mame64.exe.  I just re-downloaded the GroovyMAME0.222 017q zip folder and there isn't a groovymame.exe inside it.

Ah I see sorry yes the filename is different depending on how you download it. If you get the whole folder set then it'll just be mame64.exe or whatever, but when downloading the groovymame build separately it will have a different filename. So, you could rename your groovymame executable to "Groovymame.exe" or whatever, and pop that in a standard MAME directory of same version and run both mame and groovymame from same directory concurrently.

I'm wondering... Try going into VMMaker on cab and go to "Edit Settings/MAME" (last tab). Do you have "Generate XML from MAME executable" ticked? If so that might cause your issues perhaps with mame and groovymame using different xml file versions. Generally you should leave it unticked. It should look more like in attached pic.

If that's the issue you can restore/download the xml separately, or generate your own xml from the executable via command line with "groovymame64.exe -listxml > mame.xml"
« Last Edit: February 07, 2021, 05:44:59 pm by Zebidee »
Check out my completed projects!


MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #11 on: February 07, 2021, 06:18:40 pm »
OK, maybe I've missed a step but my GM directory only has mame64.exe.  I just re-downloaded the GroovyMAME0.222 017q zip folder and there isn't a groovymame.exe inside it.

Ah I see sorry yes the filename is different depending on how you download it. If you get the whole folder set then it'll just be mame64.exe or whatever, but when downloading the groovymame build separately it will have a different filename. So, you could rename your groovymame executable to "Groovymame.exe" or whatever, and pop that in a standard MAME directory of same version and run both mame and groovymame from same directory concurrently.

I'm wondering... Try going into VMMaker on cab and go to "Edit Settings/MAME" (last tab). Do you have "Generate XML from MAME executable" ticked? If so that might cause your issues perhaps with mame and groovymame using different xml file versions. Generally you should leave it unticked. It should look more like in attached pic.

If that's the issue you can restore/download the xml separately, or generate your own xml from the executable via command line with "groovymame64.exe -listxml > mame.xml"

Thanks.

I didn't have that option checked, but I also didn't have "Generate video modes from MAME XML" checked.  Can that cause any issues?

Also, my MAME executable path has changed since I set this up last July.  Do I need to update it?

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3428
  • Last login:Today at 02:42:13 pm
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #12 on: February 07, 2021, 09:10:50 pm »
I didn't have that option checked, but I also didn't have "Generate video modes from MAME XML" checked.  Can that cause any issues?

Check to box that says "Get video modes from mame xml". Then make sure you actually have a proper xml file.

Quote from: Zebidee
restore/download the xml separately, or generate your own xml from the executable via command line with "groovymame64.exe -listxml > mame.xml"

Also, my MAME executable path has changed since I set this up last July.  Do I need to update it?

Yes!
 
You have to do this otherwise CRTEMU doesn't know where you groovymame installation is, won't be able to find your mame.ini or mame.xml files. The checked box that says "Export settings to groovymame" allows VMMaker to update mame.ini with your monitor presets and other settings - this is how GM knows what your monitor is capable of.

Then click "OK" and you'll see a message in the command window "Exporting settings to mame.ini...", which means VMMaker has updated your mame.ini for you
Check out my completed projects!


MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #13 on: February 08, 2021, 04:49:29 am »
I didn't have that option checked, but I also didn't have "Generate video modes from MAME XML" checked.  Can that cause any issues?

Check to box that says "Get video modes from mame xml". Then make sure you actually have a proper xml file.

Quote from: Zebidee
restore/download the xml separately, or generate your own xml from the executable via command line with "groovymame64.exe -listxml > mame.xml"

Also, my MAME executable path has changed since I set this up last July.  Do I need to update it?

Yes!
 
You have to do this otherwise CRTEMU doesn't know where you groovymame installation is, won't be able to find your mame.ini or mame.xml files. The checked box that says "Export settings to groovymame" allows VMMaker to update mame.ini with your monitor presets and other settings - this is how GM knows what your monitor is capable of.

Then click "OK" and you'll see a message in the command window "Exporting settings to mame.ini...", which means VMMaker has updated your mame.ini for you

Thank you.

I re-generated a mame.xml file and I have updated VMMaker but I still have the same 2 issues.  Please see everything here including the artefacting on Robocop.

https://imgur.com/a/fTrXgX1

I've run the initialisation log for Robocop again this morning and attached the log.  Do I have all of the correct resolutions setup?  I've only ever setup GM one time ages ago, there's a good chance a setting is wrong somewhere.


Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3428
  • Last login:Today at 02:42:13 pm
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #14 on: February 08, 2021, 05:50:50 am »
lol, it occurred to me that maybe the roms for original game haven't been dumped correctly, and that seems to be the case. It is just an information box FYI. I just ran robocop on my win7 mame 0.219 and got the same roms error message as you. So no error as such. If you are actually missing rom files from the official 0.222 set then you get a different message specifying which are missing.

Your vanilla mame .exe might be a nonag version?

Couldn't replicate your "closed visor" issue though. Looks a little like 1 or more lines are missing (as in removed) from the raster display - almost like you have "screen vert stretch" set to something less than 1.000 (you can check this by pressing TAB in game and selecting slider controls).
Check out my completed projects!


MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #15 on: February 08, 2021, 06:47:20 am »
lol, it occurred to me that maybe the roms for original game haven't been dumped correctly, and that seems to be the case. It is just an information box FYI. I just ran robocop on my win7 mame 0.219 and got the same roms error message as you. So no error as such. If you are actually missing rom files from the official 0.222 set then you get a different message specifying which are missing.

Your vanilla mame .exe might be a nonag version?

Couldn't replicate your "closed visor" issue though. Looks a little like 1 or more lines are missing (as in removed) from the raster display - almost like you have "screen vert stretch" set to something less than 1.000 (you can check this by pressing TAB in game and selecting slider controls).

Yeah, you were right about the slider settings, for some reason my Vertical and Horizontals were at about 0.970.  Now that artifact has gone.  Great, thank you.

I have the "skip info" turned on on all MAME and GM installs but this skips the resolution info box at startup.  I have the same GM version installed on my laptop and it also doesn't show that missing CHDs/ROMs message.
« Last Edit: February 08, 2021, 07:22:25 am by MrMatt »

Zebidee

  • Trade Count: (+9)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3428
  • Last login:Today at 02:42:13 pm
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #16 on: February 08, 2021, 07:52:20 am »
Cool, glad you got the "visor" issue sorted.

The rom warnings are actually there for a reason - it is not a problem. They are there to tell you to not expect perfection. Ironically they are there to stop people incorrectly reporting a problem. There are ways to compile mame without them appearing, but by default they should. Weird thing is that your laptop doesn't report them.
Check out my completed projects!


MrMatt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:February 26, 2023, 09:00:57 am
  • I want to build my own arcade controls!
Re: Issues with GroovyMAME roms and gfx artifacts
« Reply #17 on: February 08, 2021, 09:33:04 am »
Cool, glad you got the "visor" issue sorted.

The rom warnings are actually there for a reason - it is not a problem. They are there to tell you to not expect perfection. Ironically they are there to stop people incorrectly reporting a problem. There are ways to compile mame without them appearing, but by default they should. Weird thing is that your laptop doesn't report them.

Thanks again for your time and help.  I'll see if I can find what is different between the two installs on laptop and cab to see what is causing this info message on the cab.

I'm glad it appears my GM and CRTEMU is setup correctly now.

Cheers.

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: Issues with GroovyMAME roms and gfx artifacts
« Reply #18 on: February 08, 2021, 09:35:57 am »
Just for the record, the suggested step where you checked "Get video modes from XML" wasn't really required, since you were using super resolutions just fine. The wrong slider setting was actually the problem, well spotted.
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