2016-04-07, 01:33
I didn't want to fix the scrapers in the script. It's too hard to manage metadata within xbmc anyways so...
I created a tool that converts a LaunchBox xml into a RCB sqlite database!
It also copies LaunchBox scraped images into filenames compatible with RCB.
It is very rough so don't get too excited but it runs through my 5122 roms and it works.
* I have not tried mame roms. They will not likely work.
Rough instructions.
Notes
Hope this is useful for others out there to get images and metadata into RCB
https://github.com/Loafdude/launchbox_to_RCB
I created a tool that converts a LaunchBox xml into a RCB sqlite database!
It also copies LaunchBox scraped images into filenames compatible with RCB.
It is very rough so don't get too excited but it runs through my 5122 roms and it works.
* I have not tried mame roms. They will not likely work.
Rough instructions.
- Get roms imported into LaunchBox with the metadata like you want it.
- Ensure RCB is configured with all your emulators (Don't bother importing roms. I configure my emulators manually through the config.xml file. Ensure the id field is different for all emulators)
- Edit the paths in the top portion of my script. These need to point to various config files for both launchbox and RCB. Its pretty self explanatory
- Run the script with python or paste the code into an open python interpreter.
- Image structure will be generated in the output directory. Edit your RCB config.xml or rename the folder in the output directory to match
- Run RCB. Your games should be there with metadata. There will be no images.
- Go through each emulator type. Open the context menu. Select "Rescrape Selection"
- Enable "change scrapers for this run". Set all three scrapers to "local artwork"
- Repeat for each emulator type (sorry havn't found a faster way to do this)
- Now all your images are there! Done!
Notes
- This script deletes your entire RCB database! Backup everything before using it.
- There is no error checking in this script. If you configure it wrong it will fail poorly an give you ugly errors and incomplete copied data.
- It can't delete your launchbox data but it WILL nuke your RCB game database each time you run it. RCB emulator settings will not be deleted.
- Because of the way I wrote paths this script will likely only work on windows platforms. Launchbox is windows only anyways...
Hope this is useful for others out there to get images and metadata into RCB
https://github.com/Loafdude/launchbox_to_RCB