2014-06-10, 12:37
Tomkun Wrote:Malte, is it possible for RCB to parse information from multiple synopsis files?RCBs import is implemented like this (pseudo-code):
I would like to create a new scraper for MAME as MAWS doesn't show any sign of being revived. There are two main sources of information for MAME roms, which are history.dat and mameinfo.dat (there are others too). At first I thought about merging the two files, but if it's possible for RCB to import one file and then append the info from another that would help a lot.
Code:
if desc file contains multiple game descriptions:
- parse file game by game and seacrh for corresponding rom file on disk
- write each found game/rom-combination to db
else:
- iterate all rom files
- iterate all scrapers and merge information
- write merged information to db
What would be possible:
- Have one "multi game scraper" and x "per game scrapers". This would merge the data of the per game scraper with the game specific data of the multi game scraper
- Have x "per game scrapers". This would just work as mixing several online scrapers (online scrapers are always "per game")
- Use x "mult game scraper" in different runs. Enable "Rescrape already imported games" in Addon Settings and make sure that "Allow update" is enabled for this specific Rom Collection. Optional: Disable "Allow overwrite with null values" in Addon Settings. With these settings it should be possible to execute multiple "multi game scrapers" in multiple runs and let them merge all data in the database.
I hope this makes sense to you. Just ask if anything in not clear enough.
Solid One Wrote:To reproduce the steps needed for this log, I simply edited custom command line of game "Punch-Out". Filled text field with this: -b "%ROM%". Then I opened the game. My custom command-line wasn't used.Ok, I forgot to mention how to use game cmd properly: You can mix game cmd with the normal Emulator Params. That is why you have to use a placeholder in Emulator params to make it work. In your case you could use it like this:
Emu Params: %GAMECMD% "%ROM%"
Game cmd: -b
This way all "default" roms will just be launched with "%ROM%" and only the beta roms will be launched with -b "%ROM%". You need to edit your bat file and just check if the -b option is set. In this case use the beta version, all other roms should be launched with the default version.