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)



- bmfrosty - 2010-08-05

malte Wrote:But does XBMC minimize and later maximize with this code? People in the thread that I linked above had the same problem with the input but they could solve it with this "xbmc.executehttpapi("Action(199)")". I am not sure if this code still works with Dharma.

About your sound problems: In the first post of the above thread they say something about sound problems with zsnes and have a work around. Maybe it will work for you, too.


Yes, injecting xfce should work.

At least with Camelot there have been users that got this running on Live without the need to do this, but maybe things have changed with Dharma. I started to setup a Camelot and Dharma Live environment with VirtualBox but it is running very slow so I am not sure I will be able to reproduce these issuesSmile

It may also be an issue with me running the XBMCfreak version of Dharma. Official live may work differently. I'll find out when official live is released.


- pseudoheld - 2010-08-08

newest version working for me with dharma! good job.
now all this needs is some kind of scraper...i have hundreds of mame and snes roms and adding them all by hand would be quite a lot of work. i created entries for 5 roms but then got tired...so a scraper would be a BIG BIG BIGGGG plus!!
there is a mame rom index site wich has all the artwork etc:
http://maws.mameworld.info/maws/
there probably is sth like that for snes, nes, whatever aswell...would be great to get this working!
keep up the good work


- bmfrosty - 2010-08-08

What does 0.5.4 add?


- malte - 2010-08-08

Oh, forgot to update the thread:

* minimize XBMC before launching emulator
* maximize XBMC after exiting emulator
* using PAL as default resolution (addon could not find window xml file for 720p)
* new icon (thanks to freezy)
* hungarian translation (thanks to alanwww1)

New version should already be available via XBMC repo.

You should remove the 720p folder again (if you have created one). XBMC will now recognize the PAL skin and scales the window properly.

If this version works for most people it will be the last 0.5 that is going to the repo.


If anyone is willing to try an untested and undocumented newer version you could have a look at 0.6.0 at the download page (You have to change the filter to "All downloads" because it is marked as "Deprecated"). I am working on the documentation and testing of 0.6 right now. You can check the latest doc here: http://code.google.com/p/romcollectionbrowser/wiki/Preview. But I think I have to rewrite large parts of it. The zip file also contains a commented config file.


- loktar - 2010-08-09

im using the last xbmcfreak livecd release and rcb 0.5.4, first time tryng that addon and got this error log.


Quote:20:24:06 T:2275056496 M:742350848 INFO: Default 4:3 resolution directory is PAL
20:24:06 T:2275056496 M:742350848 INFO: Default 16:9 resolution directory is PAL
20:24:06 T:2275056496 M:742350848 INFO: Loading skin includes from /PAL/includes.xml
20:24:06 T:2275056496 M:742350848 INFO: Error loading includes.xml file (/PAL/includes.xml): Failed to open file (row=0, col=0)
20:24:06 T:2275056496 M:742350848 NOTICE: RCB_INFO: Init Rom Collection Browser: /home/xbmc/.xbmc/addons/script.games.rom.collection.browser
20:24:06 T:2275056496 M:742350848 INFO: -->Python script returned the following error<--
20:24:06 T:2275056496 M:742350848 ERROR: Error Type: exceptions.ValueError
20:24:06 T:2275056496 M:742350848 ERROR: Error Contents: database parameter must be string or APSW Connection object
20:24:06 T:2275056496 M:742350848 ERROR: Traceback (most recent call last):
File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/default.py", line 30, in ?
import gui
File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 1024, in ?
main()
File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 1020, in main
ui = UIGameDB("script-Rom_Collection_Browser-main.xml", os.getcwd(), "Default", "PAL")
File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 135, in __init__
self.gdb.connect()
File "/home/xbmc/.xbmc/addons/script.games.rom.collection.browser/resources/lib/gamedatabase.py", line 19, in connect
self.connection = sqlite.connect(self.dataBasePath)
ValueError: database parameter must be string or APSW Connection object
20:24:06 T:2275056496 M:742350848 INFO: -->End of Python script error report<--



- malte - 2010-08-09

Same error was reported by a user in the issues list at my projects page. He picked up the wrong pysqlite version (from python 2.6 instead of 2.4).

I think with xbmcfreak you had to get the libs on your own, too?

Maybe you could try this one: http://packages.ubuntu.com/intrepid/python-pysqlite2 (not tested myself)

If this does not work, you could download an older version of RCB and get the libraries that I shipped with it.


- bmfrosty - 2010-08-09

The ones from 0.5.0 work if put in the correct directory on XBMCFREAK and XBMC regular. Probably with XBMC Live as well.


- loktar - 2010-08-09

i have success in execute the addon now and could configure test data, but the zsnes could not launch. if i set to false the useemusolo option the emulator launches but not in full screen.

and have no sound.


- bmfrosty - 2010-08-09

loktar Wrote:i have success in execute the addon now and could configure test data, but the zsnes could not launch. if i set to false the useemusolo option the emulator launches but not in full screen.

and have no sound.

Turn useemusolo back on and change applaunch.sh to +x.


- loktar - 2010-08-10

now when i try to load a rom the xbmc restarts. if useemusolo is false the emu runs but no sound.


- bmfrosty - 2010-08-10

loktar Wrote:now when i try to load a rom the xbmc restarts. if useemusolo is false the emu runs but no sound.

What variation of XBMC are you running?


- loktar - 2010-08-10

xbmcfreak live latest release


- bmfrosty - 2010-08-10

loktar Wrote:xbmcfreak live latest release

Ok. Here's what happens. When it's using useemusolo it kills xbmc, and because it does that, it causes X to restart XBMC and cancel the start of ZSNES. If you turn it off it can launch ZSNES, but since XBMC is already running, it prevents ZSNES from taking over the sound hardware. It's a bit of a conundrum. There is a solution to it. I just don't know exactly what it is. I suspect that there is a to get ZSNES SDL to take over XBMC SDL, but I have no idea how to accomplish it.


- malte - 2010-08-10

As I have read from various posts the solo mode does not work with XBMC Live if you do not use a separate Window manager (as bmfrosty explained above). I don't use Live myself so I can't test it here.

At least with Camelot some users got it working in non-solo mode (with the code changes that are included in 0.5.4)

I think this is more XBMC Live related and I have no idea how I could support this from my script. Anyone tried the hints from the "EMUs in LIVE" thread?


- loktar - 2010-08-10

i have got it work here, im using -ad oss in zsnes and using useemusolo false. sound is working im gona test with other games and emus.