|
Hello, Now that I've gotten the header filter created, I notice that I've got some dupes in the DATs I've generated. Does anyone know of a tool, or method in clrMAME to remove duplicate 'rom' tags from a single 'game' tag?
Also, Roman, thanks for implementing this feature. It will save me a lot of time renaming files with slightly different headers. I found that to load the filters, I had to open a DAT and set up the 'Headers' for that profile with the header xml file I want to use. Then when running Dir2DAT, it would properly generate the DAT File. Clearing the cache will keep it loaded, but loading another DAT (that doesn't have the 'Headers' set in it's profile) will cause Dir2DAT to generate CRCs without using the header filter.
Here are the steps to take to replicate what I am describing:
- Open a new instance of clrMAME Pro - Generate a DAT for some files that should return a true response for the header detector's rule(s) - Examine the generated DAT in a text editor, making a note of a couple of the CRC values - Load any DAT file - In the settings, choose the Header you intended to use above - Repeat the Dir2DAT procedure above. - You should see that the CRC values have changed, and are the correct, headerless values. - Return to the Profiler and clear the cache - Repeat the Dir2DAT procedure. The CRCs are still the correct ones. - Return to the Profiler, and load a DAT that does not have the Headers set - Return to the Profiler from the 5 button 'menu' - Repeat the Dir2DAT, and notice that the initial (header included) CRCs return.
That should show you what I am describing. In any case, if you get some time, I would love to see a section in Dir2DAT to choose a header detector to apply during DAT creation. I cannot find a way to load a detector without modifying a (potentially) unrelated DAT profile.
Thanks again.
|