Kodi Community Forum
[RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Game Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=291)
+---- Thread: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs (/showthread.php?tid=70115)



- malte - 2011-06-04

silentbob343 Wrote:On Windows 7 I am having the same issue as your #1
Emulator launches in fullscreen, but the ROM is never loaded.
Can you show me the log file after you tried to launch the game?


- fional - 2011-06-04

malte Wrote:Just to make it sure. Did you try this?
Code:
"C:\Cage\XBMC Addons\Roms\Mame\mame.exe" -inipath "C:\Cage\XBMC Addons\Roms\Mame" "C:\Cage\XBMC Addons\Roms\Mame Roms\bucky.zip"


In your first post on Win7 you mentioned a wrong inipath (with "roms" at the end):

Thanks for your help, sadly I tried that and it doesn't work.

I'm so confused Sad I may just abandon Mame.


- DigiTech - 2011-06-04

fional Wrote:Thanks for your help, sadly I tried that and it doesn't work.

I'm so confused Sad I may just abandon Mame.

Did u already try using the mame emulator directly (without RCB)?

The only problem i had with MameUI (i dont use the version that only uses command line) is that some mame versions arent totally compatible with the roms you own thats why i asked you if the roms can be played directly from your emulator, i have a collection of all existing mame roms, the newest mameui version didnt run any of them, i tried one version back from the current available and voila! all roms worked flawessly.

Another thing, the original mame roms (at least as i have them) dont have the exact full name of the game in the rom file, example: TMNT.zip TMNT2.zip,etc, not Teenage Mutant Ninja Turtles.zip, i found some mameui versions are picky because of file naming and because of that sometimes not able to run or detect them.

When i had my mame roms scraped in RCB all of them were scraped ok to the correct games in the arcade machines, even when their name files arent exact as i indicated before, maybe i got lucky or i have a correct name batch files that match mame database.


- grassmunk - 2011-06-05

Just FYI I'm having problems in Eden running this script. Here's the error I get:

Code:
19:04:54 T:6062544 M:562135040   DEBUG: LIRC: Update - NEW at 551549:000000037ff07bdd 00 OK mceusb (OK)
19:04:54 T:6062544 M:562135040   DEBUG: OnKey: 11 (0b) pressed, action is Select
19:04:54 T:6062544 M:562135040    INFO: initializing python engine.
19:04:54 T:6062544 M:562135040   DEBUG: new python thread created. id=9
19:04:54 T:2963233648 M:562135040   DEBUG: Thread XBPyThread start, auto delete: 0
19:04:54 T:2963233648 M:562135040   DEBUG: Python thread: start processing
19:04:54 T:2963233648 M:562135040  NOTICE: -->Python Interpreter Initialized<--
19:04:54 T:2963233648 M:562135040   DEBUG: Process - The source file to load is /home/xbmc/.xbmc/addons/script.games.rom.collection.browser/default.py
19:04:54 T:2963233648 M:562135040   DEBUG: Process - Setting the Python path to /home/xbmc/.xbmc/addons/script.games.rom.collection.browser:/home/xbmc/.xbmc/addons/script.module.cryptopy/lib:/home/xbmc/.xbmc/addons/script.module.common.playback/lib:/home/xbmc/.xbmc/addons/script.module.simplejson/lib:/home/xbmc/.xbmc/addons/script.module.beautifulsoup/lib:/usr/share/xbmc/addons/script.module.pil/lib:/home/xbmc/.xbmc/addons/script.module.elementtree/lib:/usr/share/xbmc/addons/script.module.pysqlite/lib:/home/xbmc/.local/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg:/home/xbmc/.local/lib/python2.6/site-packages/Downpour-0.2-py2.6.egg:/home/xbmc/.local/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg:/usr/lib/python2.6:/usr/lib/python2.6/plat-linux2:/usr/lib/python2.6/lib-tk:/usr/lib/python2.6/lib-old:/usr/lib/python2.6/lib-dynload:/home/xbmc/.local/lib/python2.6/site-packages:/usr/lib/python2.6/dist-packages:/usr/lib/pymodules/python2.6:/usr/lib/pymodules/python2.6/gtk-2.0:/usr/local/lib/python2.6/dist-packages:
19:04:54 T:2963233648 M:562135040   DEBUG: Process - Entering source directory /home/xbmc/.xbmc/addons/script.games.rom.collection.browser
19:04:54 T:2963233648 M:562135040   DEBUG: Instantiating addon using automatically obtained id of "script.games.rom.collection.browser" dependent on version 2.0 of the xbmc.python api
19:04:54 T:2963233648 M:562135040  NOTICE: RCB_INFO: Loading sqlite3 as DB engine
19:04:54 T:2963233648 M:562135040  NOTICE: RCB: init log level
19:04:54 T:2963233648 M:562135040  NOTICE: RCB: current log level: 2
19:04:54 T:2963233648 M:562135040  NOTICE: RCB_INFO: Loading sqlite3 as DB engine
19:04:54 T:2963233648 M:562135040  NOTICE: RCB_INFO: Path to configuration file: /home/xbmc/.xbmc/userdata/addon_data/script.games.rom.collection.browser/config.xml
19:04:54 T:2963233648 M:562135040    INFO: Loading skin includes from /home/xbmc/.xbmc/addons/script.games.rom.collection.browser/resources/skins/Default/PAL/includes.xml
19:04:54 T:2963233648 M:562135040    INFO: Error loading includes.xml file (/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/resources/skins/Default/PAL/includes.xml): Failed to open file (row=0, col=0)
19:04:54 T:2963233648 M:562135040    INFO: -->Python script returned the following error<--
19:04:54 T:2963233648 M:562135040   ERROR: Error Type: <type 'exceptions.TypeError'>
19:04:54 T:2963233648 M:562135040   ERROR: Error Contents: XML File for Window is missing
19:04:54 T:2963233648 M:562135040   ERROR: Traceback (most recent call last):
                                              File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/default.py", line 58, in <module>
                                                import gui
                                              File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 2105, in <module>
                                                main()
                                              File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 2097, in main
                                                ui = UIGameDB("script-Rom_Collection_Browser-main.xml", util.getAddonInstallPath(), "Default", "PAL")
                                            TypeError: XML File for Window is missing
19:04:54 T:2963233648 M:562135040    INFO: -->End of Python script error report<--
19:04:54 T:2963233648 M:562135040    INFO: Python script stopped
19:04:54 T:2963233648 M:562135040   DEBUG: Thread Python Thread 2963233648 terminating
19:04:54 T:6062544 M:562135040   DEBUG: waiting for python thread 9 to stop
19:04:54 T:6062544 M:562135040   DEBUG: python thread 9 destructed
19:04:54 T:6062544 M:562135040   DEBUG: ------ Window Init (DialogKaiToast.xml) ------
19:04:54 T:6062544 M:562135040   DEBUG: Alloc resources: 0.01ms (0.01 ms skin load)
19:05:00 T:6062544 M:562012160   DEBUG: ------ Window Deinit (DialogKaiToast.xml) ------
19:05:04 T:6062544 M:562274304    INFO: Python, unloading python shared library because no scripts are running anymore
19:05:04 T:6062544 M:562274304   DEBUG: UnloadExtensionLibs, clearing python extension libraries

When I checked that folder for an includes.xml I couldn't see one.


- hikaricore - 2011-06-05

Code:
00:51:21 T:2945432432 M:2346958848   ERROR: Traceback (most recent call last):
                                              File "/home/hikaricore/.xbmc/addons/script.games.rom.collection.browser/default.py", line 46, in <module>
                                                env2 = platform.machine()
                                              File "/usr/lib/python2.7/platform.py", line 1342, in machine
                                                return uname()[4]
                                              File "/usr/lib/python2.7/platform.py", line 1272, in uname
                                                processor = _syscmd_uname('-p','')
                                              File "/usr/lib/python2.7/platform.py", line 1029, in _syscmd_uname
                                                rc = f.close()
                                            IOError: (10, 'No child processes')

Quote:]$ uname -a
Linux devistate 2.6.38-9-generic-pae #43-Ubuntu SMP Thu Apr 28 17:12:11 UTC 2011 i686 athlon i386 GNU/Linux

I suspect this error has something to do with the fact that I'm using a pae build and uname isn't returning the info exactly as the script expects? I had another python program I had to modify to get around this issue, but I wasn't able to test what the cause was. As a simple solution I commented out the whole 64bit section in default.py.


- malte - 2011-06-05

grassmunk Wrote:Just FYI I'm having problems in Eden running this script. Here's the error I get:
...
When I checked that folder for an includes.xml I couldn't see one.
Strange. I don't use any includes in the skin. Did you try to create a dummy includes.xml file?

Maybe you need some dummy content like this:
Code:
<includes></includes>
I have to ask if this file is obligatory in the new release. But I don't have this issue here on Win7 with latest nightly.

hikaricore Wrote:I suspect this error has something to do with the fact that I'm using a pae build and uname isn't returning the info exactly as the script expects? I had another python program I had to modify to get around this issue, but I wasn't able to test what the cause was. As a simple solution I commented out the whole 64bit section in default.py.
I don't expect the uname result myself. It is used inside the platform.machine() function and it seems to raise an error there. This issue is already on my list but I forgot again to implement a fix for it. It will be my next task.

Your post also reminds me that I still did not include the favorites functionBig Grin. But the configuration part becomes more and more usable and I am feeling that it will be the time for it soon.


- malte - 2011-06-05

I just uploaded a new video on youtube showing some old and new browsing features:

http://www.youtube.com/watch?v=NRTg3HmIuqU

This video shows features like filtering, video playback and use of image placing options. It is made with RCB 0.8.9 running on XBMC Eden (nightly from 11-06-02).

Two notes on using the video playback features:
1. Fullscreen video browser does not work with XBMC Dharma. You will need Eden to enable fullscreen video playback. Dharma will freeze when you try to start a video in fullscreen.
2. Videos are not scraped automatically with the online scrapers. You have to get the video files by yourself and import them manually into RCB. E.g. emumovies.com is a good source for gameplay videos (but requires a paid subscription to download videos). They also provide a download utility that will get all video files for your rom collection and renames the downloaded files so that they are already matching your rom names.


- wimpy - 2011-06-05

Malte.. Wow Smile

Just had the time to sit down and try the 0.8.7 version and it's working "flawlessly" compared to my earlier attempts around 0.5.0-0.6.0!

Now all I wish is to get the time to create skinmods for this for Aeon MQ2 and more skins. Lets hope someone with skills beats me to it Smile

Not sure if this is needed on your part, but since I'm somewhat against online scraping for games (read: atm due to poor selection in scrapable sites and/or information on these sites), I've created an RCB export page in our EmuXtras synopsis page. This will export nfo files pr game in the style your local nfo scraper parses. This made it possible for me to add my entire Sega Master System collection in mere seconds instead of online scraping Smile


- malte - 2011-06-06

wimpy Wrote:Not sure if this is needed on your part, but since I'm somewhat against online scraping for games (read: atm due to poor selection in scrapable sites and/or information on these sites), I've created an RCB export page in our EmuXtras synopsis page. This will export nfo files pr game in the style your local nfo scraper parses. This made it possible for me to add my entire Sega Master System collection in mere seconds instead of online scraping
Cool! I also thought about providing the descriptions as separate files because it is easier to parse. But the downside I see is that matching of nfo file and game is done via filename. So atm this solution will only work if the user has his games named like emuxtras.

One solution could be to use the crc value as filename for the description but you will a) need a new file for every different crc value and b) never find the descriptions manually if you search for a certain game description.

But we still have the large txt descriptions that can be parsed by RCB. They take a little bit longer than the separate files but still are much faster than online scraping.


- malte - 2011-06-06

wimpy Wrote:Now all I wish is to get the time to create skinmods for this for Aeon MQ2 and more skins. Lets hope someone with skills beats me to it
Oh, yes. An Aeon style skin would be awsome. When my coding todo list will become smaller and nobody else does it, I will sit down and try to create one on my own. But you know, my skinning skills are limited...

BTW: igotdvds just made some views for Simplicity and they look really great. I will upload some screenshots tonight.


RCB Solo Mode Not Available - DigiTech - 2011-06-06

Hi Malte, i've noticed that in RCB Configuration options the emulator solo mode that i used to had my psx roms to work smooth with isnt available anymore (doesnt appear in menu only the escape emu option alone), what happened to that maybe im lost here BTW im using the latest RCB version available (the one that automatically updates in XBMC)..
Thanks!


- malte - 2011-06-06

It was moved to the Rom Collection properties: wiki.

Now you can use psx in solo mode and other emulators side-by-side.


- DigiTech - 2011-06-07

malte Wrote:It was moved to the Rom Collection properties: wiki.

Now you can use psx in solo mode and other emulators side-by-side.

Great! Now i can choose which emulators runs in solo mode and which not, very good idea.. Thanks again Malte!


- malte - 2011-06-08

New version available: 0.8.10

General:
  • platform.machine() caused errors on some Linux systems
Game Import:
  • updated scraper: thegamesdb.net

Just a quick update that reflects recent changes on http://thegamesdb.net. There have been a lot of chnages to the site and the API. It now supports platform specific search for games. This made it possible for me to enable the artwork download from this site again (I had to disable it in the past because it happened that you got artwork for the wrong platform). Additionally there are more different artwork types and game infos available. Please check out the new site, register and contribute! Would be really great to make this a growing community project.


- malte - 2011-06-10

Some Simplicity screenshots. Not sure when this will be available with the skin. But I am also working on a separate download package of all available skins atm.

Image Image
Image