ulao, on 13 March 2011 - 08:42 PM, said:
huh? confused whats that got to do with anything? This data is triggered based on the rom name. You set it up just like you do screen shots ( the many options to choose from ), so how would it not work?
Sorry Ulao yes this my fault I can see why you're confused, I'm getting lost in threads here, and I have been 'moaning' to Tempest separately (well, trying to advise but not being able to, basically)
The two problems we are having with merged sets are 1) Parentheses on many sets i.e.: (1998) (Atari) and 2) finding the merge logic/set names
So this post should indeed be resolved, thanks for the modding.
However, I've got one observation and one thing to ask, so apologies for posting them here but I can't think of a more suitable place atm:
1) I think that for arcade games QP seems to do this:
* it looks first in field three of the Romdata to find a match to a screenshot/asset IF you have turned on 'for MAME clones use parent ROM for scan'
* it then looks in field two of the ROMdata to find a match
* if it still can't find a match there, it will then default to looking for the romname ie ROMFILENAMENOEXT to find a match
So if this is the same for console sets, and if you had an unmerged set, my suspicion is that populating field two and three would break the link to any existing screenshots/titles, since your Screenshot would have parenthesised info to match the romname. Not sure how much of a problem that is in practise as its only the smaller sets that people will generally have UN-merged, so would be quite quick to rename, or in fact (thinking out loud here) using 'filename must start with ROM filename' would work in precicely this situation, wouldn't it, because the image name would only have ADDED parentheses on the end?
2) So assuming we can ignore the paretheses entirely on all entries: To make the entries for the historydat
we will need to know every merged set name for every goodmerged set. We have have lists for the good name and the goodmerge XMDB as our only input files. However in neither of these can we find the actual merging instructions themselves. Here is my example of a problem ROM from the Good2600 merge set:
Space Battle (2006) (Homebrew)
Space Battle - BossTest010 (Dave Neuman)
Space Battle - BossTest100 (Dave Neuman)
Space Battle - BossTest101 (Dave Neuman)
Space Battle - BossTest110 (Dave Neuman)
Space Battle 1.0 (2006) (Dave Neuman)
Space Battle 1.0a (2006) (Dave Neuman)
Space Battle 2006-12-15 (Dave Neuman)
Space Battle 2006-12-15 (Dave Neuman) (PAL)
Space Battle 2006-12-15_fixed (Dave Neuman)
Space Battle 2006-12-15_fixed (Dave Neuman) (PAL)
Space Battle 2006-12-15_fixed2 (Dave Neuman)
Space Battle 2006-12-15_fixed2 (Dave Neuman) (PAL)
Space Battle 2006-12-15_fixed3 (Dave Neuman)
Space Battle 2006-12-15_fixed4 (Dave Neuman)
Space Battle Beta3 (Dave Neuman)
Space Battle Beta3 (Dave Neuman) [a1]
Space Battle Beta3 (Dave Neuman) [a2]
Space Battle Beta3 (Dave Neuman) [a3]
Space Battle Beta3 (Dave Neuman) [a4]
Space Battle Beta3 (Dave Neuman) [a5]
Space Battle Beta3 (Dave Neuman) [a6]
Space Battle Beta3 (Dave Neuman) [a7]
Space Battle Beta3 (Dave Neuman) [a8]
Space Battle Beta3 (Dave Neuman) [a9]
Space Battle Beta3 (Dave Neuman) [aa]
Space Battle Final (Dave Neuman)
Space Battle Final (Dave Neuman) (PAL)
Space Battle Final 1211 (Dave Neuman)
Space Battle Final 1211PM (Dave Neuman)
Space Battle Final 1211PM1 (Dave Neuman)
Space Battle Final 1212PM (Dave Neuman)
Space Battle Final 1213EX (Dave Neuman)
Space Battle Final 1213PM (Dave Neuman)
Space Battle Final 1214 (Dave Neuman)
Space Battle Final 1214PMBoss (Dave Neuman)
Space Battle Final 129PM (Dave Neuman)
Space Battle Final 2 (Dave Neuman)
the XMDB has only this entry in it related to space battle:
<parent name="Space Battle (2006) (Homebrew)"><group reg="^Space Battle"/></parent>
Which is NOT a merging instruction. Its merely an instruction to change the set name which has already been created by goodmerge: Space Battle (2006) (Homebrew) to an unparenthesised version Space Battle
So Ulao I was wondering: Do you happen to know: Where is the instruction/logic in goodmerge that will know that Space Battle Final 2 (Dave Neuman) gets merged into a set called Space Battle (2006) (Homebrew)?