EMULAB Forum

clrmamepro [English] => clrmame Discussion => Topic started by: mickagame on 02 March 2021, 12:59

Title: Mame 0.229 merget set : Missing but fixable
Post by: mickagame on 02 March 2021, 12:59
I have very popular Mame 0.229 merget set but when i scan it with clrmamepro i have this message on almost all sets :
" Missing but fixable"
This is like the rom is not in the expected place but another file with corresponding hash is found somewhere else.

I have this message with merged set from another place too.
Title: Re: Mame 0.229 merget set : Missing but fixable
Post by: Roman on 02 March 2021, 13:08
If cmpro says you're missing a file, then you're missing a file. If cmpro says that it is fixable, then you already got the file somewhere and it can be fixed. ;)
Sounds a bit like you didn't enable Profiler -> Options -> Parse ROM 'merge' tags, which would mean that you need some dupes. So double check if you've enabled the option and rescan.

If that option is enabled and you still get problems, you should give a detailed example.
Title: Re: Mame 0.229 merget set : Missing but fixable
Post by: mickagame on 02 March 2021, 14:11
This is what i get.
This is popular set so i don't understand why i have this error.
(https://i.ibb.co/28qhtMX/Mssingbutfixable.png) (https://ibb.co/7gvCWp7)
Title: Re: Mame 0.229 merget set : Missing but fixable
Post by: AntoPISA on 02 March 2021, 14:48
You have it because you don't follow Roman's directions... :(

The roms are there, and ClrMAME also tells you where they are.
Title: Re: Mame 0.229 merget set : Missing but fixable
Post by: mickagame on 02 March 2021, 15:00
But why they are not in the right place in this popular set?
I guess some rom are not duplicated in different clone to save space.
The message is to inform that mame will find it even if they are not in the right place?
The question i have is if i need to fix this before i can play in mame or mame will find this rom even if they are not in the right place.
Title: Re: Mame 0.229 merget set : Missing but fixable
Post by: Roman on 02 March 2021, 15:38
Let me show you where your assumptions are wrong:
- You've downloaded a set from the internet and think that it's right.
- You've downloaded a set and think that playability has something to do with auditing sets.
- You've downloaded a set and think that it matches the default cmpro settings out of the box.

So your part would be:
Learn about parent/clone relationships, how datfiles describe sets, ensure you know what type of set you've downloaded (so e.g. not checking romsets for MAME version .216 with a datfile for MAME .213), adjust the needed settings and scan.


Now to your concrete example:

After looking at your example (vs10yard sets) you could for example double check the MAME listxml output to see what's wrong:

Let's take for example the file with checksum 7d1b4d93

it's used by: 10yard85, vs10yard, vs10yardj, vs10yardu (all clones of 10yard) and in 3/4 sets it uses a different name and you don't have any merge attribute specified:

      <rom name="yf-a-3d-h-vs.3d" size="8192" crc="7d1b4d93" sha1="9389de1230b93f529c492af6fb911c00280cae8a" region="gfx1" offset="4000"/>
      <rom name="yf-a-3d-h.3d" size="8192" crc="7d1b4d93" sha1="9389de1230b93f529c492af6fb911c00280cae8a" region="gfx1" offset="4000"/>
      <rom name="vyf-a.3d" size="8192" crc="7d1b4d93" sha1="9389de1230b93f529c492af6fb911c00280cae8a" region="gfx1" offset="4000"/>
      <rom name="vyf-a.3d" size="8192" crc="7d1b4d93" sha1="9389de1230b93f529c492af6fb911c00280cae8a" region="gfx1" offset="4000"/>


Conclusion: You need it 3 times to make a correct auditing (in a merged set, in a split merged setup, you'd need it 4 times). That's the way it is, you can ask MAME devs if they update their source code so that they use merge attributes, but it won't happen since the file isn't part of the parent.

Now why does MAME work? Because MAME doesn't care about names. MAME loads files by searching your rompaths for checksum matches. It doesn't care if you got a file correctly named. And if a file is used multiple times, it doesn't care if you only have it once with a wrong name.

Welcome to the world of auditing. In the auditing world, you need the file several times because the datfile tells you so.

What you can do: Well, cmpro tells you, turning on fix missing would simply fix it for you automatically. It's one click away...



Title: Re: Mame 0.229 merget set : Missing but fixable
Post by: mickagame on 02 March 2021, 17:16
Thank you very much for all this informations.
Managing arcade roms is very compilcated comparing to console roms  :D
Title: Re: Mame 0.229 merget set : Missing but fixable
Post by: Roman on 02 March 2021, 17:47
nah...it's not.... ;-)

a set = collection of roms and/or chds and/or samples

doesn't really matter if a set consist of one rom (like a console cart dump) or 10 roms, samples and chds ;)