Attract-Mode Support Forum

Attract-Mode Support => General => Topic started by: Rupert H on January 31, 2019, 12:56:06 PM

Title: [Solved] Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on January 31, 2019, 12:56:06 PM
Hello all,

I've just recently updated my GroovyMAME cab from MAME 1.93 to 2.05 and I've hit an issue that I've never come across before. Attract Mode is only displaying the parent ROMs and none of the clone ROMs. I've checked the ROMs in raw GroovyMAME and it shows the full array of 35k+ ROMs and all of the clone ROMs load perfectly, but when I load up Attract Mode and generate a ROM list it only shows me the 11k+ parent ROMs. When I look at the mame.txt in Attract Mode it confirms that it's only read the 11k+ parent ROMs. I've got the mame.xml file for 2.05 and I've set the path in Attract Mode to read it.

I'm running Windows 7, GroovyMAME64 2.05 d3dex with Attract Mode 2.5.1 with a merged 2.05 MAME set. I've checked all the ROM paths in the mame.ini and the Attract Mode cfg and it all seems to be correct.

I'm certain that I had a full parent and clone set displaying in Attract Mode before. Can anybody help?
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: keilmillerjr on January 31, 2019, 01:24:02 PM
Share your attract.cfg file. Perhaps you have a filter for no clones?
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on January 31, 2019, 01:46:20 PM
I thought the same so I started everything from a fresh install to make sure there was no weird filter issue. I've attached it but as you can see, it's pretty bare bones.

I'm wondering if it's the xml file I downloaded (possibly it's built for parent-only sets?) but I'm fairy sure I got it from the official MAME site so I doubt that.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: progets on January 31, 2019, 01:58:05 PM
I thought the same so I started everything from a fresh install to make sure there was no weird filter issue. I've attached it but as you can see, it's pretty bare bones.

I'm wondering if it's the xml file I downloaded (possibly it's built for parent-only sets?) but I'm fairy sure I got it from the official MAME site so I doubt that.

This attract.cfg looks fine. Please post you MAME.cfg emulator file (/attract/emulators/MAME.cfg).
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on January 31, 2019, 02:09:00 PM
Thank you. It's attached below.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: progets on January 31, 2019, 02:14:31 PM
Make a copy of /attract/romlists/mame.txt then do this and if it doesn't fix your issue post your new /attract/romlists/mame.txt file.

Configure-->Emulator-->MAME-->Generate Collection/Rom list
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on January 31, 2019, 02:25:51 PM
All done. It's exactly the same issue.  :(
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: progets on January 31, 2019, 02:31:27 PM
Remove these two lines from your /attract/emulators/MAME.cfg file
Code: [Select]
system               Arcade
import_extras        c:\mame\catver.ini;c:\mame\nplayers.ini;c\mame\mame.xml

Regenerate the romlist and let us know the result.
Configure-->Emulator-->MAME-->Generate Collection/Rom list
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on January 31, 2019, 02:43:54 PM
I got rid of those and regenerated the list and it gave me the same result. Strange, as I thought that it was using the mame.xml in order to generate AM's mame.txt.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: progets on January 31, 2019, 02:59:37 PM
I thought that your mame.xml might have been the issue, that's why I had you remove those lines. Let's try this...

open a command prompt and run these commands
Code: [Select]
cd c:\mame
mame64.exe -listxml > new_mame.xml

once this is done remove this line from /attract/emulators/MAME.cfg
Code: [Select]
info_source          listxml

and add this line to /attract/emulators/MAME.cfg
Code: [Select]
import_extras        c:\mame\new_mame.xml

now we need to generate the romlist again
Configure-->Emulator-->MAME-->Generate Collection/Rom list
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on January 31, 2019, 03:09:11 PM
Thanks for all your help with this. I’m going to give that a go in the morning and update you with the result.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: progets on January 31, 2019, 03:21:42 PM
Ok, sounds good.

BTW - I just noticed your original /attract/emulators/MAME.cfg had a typo. It's missing a ":"
You had this
Code: [Select]
import_extras        c:\mame\catver.ini;c:\mame\nplayers.ini;c\mame\mame.xml

but it should have been this
Code: [Select]
import_extras        c:\mame\catver.ini;c:\mame\nplayers.ini;c:\mame\mame.xml
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: keilmillerjr on January 31, 2019, 04:31:48 PM
Never download a mame xml file, especially from hyperspin or unofficial binaries. Try generating one from official mame binary.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on February 01, 2019, 01:18:00 AM
Thanks for the notice about the typo. That's fixed now.

Okay, so I've done some more testing this morning. I followed the instructions to generate the new_mame.xml, which worked. I then used that to generate the romlist in AM and got the same result.

I then generated a new xml from within mame which it exported to the UI folder. I then used that to generate the romlist in AM and got the same result once again.

I then chose to generate a new mame.txt from within mame and exported it to the UI folder. In this case I moved the mame.txt file to AM's romlist folder and loaded AM. It displayed the full range of 35k+ games, but when I clicked on them, they don't load, or respond at all.

I'm really confused and frustrated with this as I can't see where the error could be.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: progets on February 01, 2019, 11:15:46 AM
Does the new_mame.xml have clones in it? If you're not sure post it.

Do you have some sort of filter set in MAME itself? If you just run MAME (without AM) how many games do you see?

Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on February 01, 2019, 12:48:55 PM
The new_mame.xml does have the clones, yes. I used the search function and found nslashersj (a clone of the Korean parent ROM).

I don’t have any filter set up in MAME. It’s a new build which I set up from fresh, with the exception of copying config and nvram files. As you can see from the attached photo, MAME is displaying the full 35,543/35,543 games and I can confirm that all of the clones I’ve tested are working properly.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: progets on February 01, 2019, 01:24:45 PM
How many files do you have in c:\mame\roms?
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on February 01, 2019, 01:32:26 PM
12,355, which is made up of all the zipped ROM files plus four CHD files and one text file.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: progets on February 01, 2019, 02:05:04 PM
It looks like you don't have the clone roms or you're using a merged MAME rom set. That number should be over 30,000 if you're using a split or non-merged MAME rom set.
Title: Re: Attract Mode only displaying parent ROMs and no clone ROMs.
Post by: Rupert H on February 01, 2019, 03:56:01 PM
I think you may just have solved my problem. I was sure that my old 1.93 set was merged and that AM could read merged sets. After you mentioned this I looked at my old back-up on and I was actually running a split set.   ::)

Thank you so much for going through that with me and solving my mistake. Time to get a split set.