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-05-16

micster Wrote:I created a folder called "My_Artwork" which includes folders for cabinet, title and marquee. Inside these folders I created images called Asteroids.png but when I try to import games using the nfo it does not work. I think I have a poorly formatted .nfo file and I'm not sure what I should name the images or if you support .png files.
It should work with png without problems. Easiest way is to name the artwork files same as the rom files. But using the game name (that is scraped from the online source or read from the nfo) will work also.

I think the error is still in your config file or in the nfo file. You can upload both and let me check them.

Also you could try the MAME description listed at the bottom of this wiki page: link.


- micster - 2011-05-17

@malte I replaced the <site> tag with the one below like you suggested:
Quote:<Site descFilePerGame="true" name="maws.mameworld.info" searchGameByCRC="false">
<Scraper encoding="iso-8859-1" parseInstruction="06 - maws.xml" source="http://maws.mameworld.info/maws/romset/%GAME%" />
</Site>
and the MAME online scraper seemed to get a little further, I had both revisions of asteroids added (problem for another day) and it scraped most of the information. However, it failed to download the images it found which kind of defeats a lot of the advantage of using the online scraper.

Here is a link to my log file http://pastebin.com/SpQUSdQB

I'm going to try and get the local scraping working instead since that's what I really want anyways. Thank you for the link to the MAME description and parser, I re-downloaded them. These are the files I tried before with no luck, but this time I'm determined! I'll let you know how it goes.


- malte - 2011-05-17

The problem with the artwork looks like a bug. I will have a look at it and fix it with the next version. I am very close to release the new version, so I hope it will only last 1-2 days to have it ready.

Sorry for the hassle.


- micster - 2011-05-17

@malte
No luck. I think there is a problem with selecting local file scraping.
  1. I started by deleting my userdata including the config.xml and the database file.
  2. The first time I started XBMC I ran RCB and created a new config, selecting local scrape and MAME as my emulator. I also pointed to all of my roms, the artwork, the description text file and the parser.
  3. I finished the configuration and ran "import games"
  4. It started scanning my games and then finished without doing anything
  5. I exited XBMC
To start with, because I chose the local scraping instead of online some key changes were left out of the config file...
  1. <doNotExtractZipFiles> was set to FALSE
  2. <imagePlacing> was set to gameinfobig
It would be nice if these were automatically set the same as when you choose online scraper.

Then I opened the xbmc.log to see what went wrong and this is when I noticed some oddness. The log file said it was loading my description file MAME.txt and the parserConfig.xml that goes with it and they both had the correct path information. But when it got to the part to do the scraping it said it was connecting to "maws.mameworld.info"!

When I was telling Rom Collection Browser to import my games, I chose the first option for the scraper which was titled simply "MAME" and I left the other options blank. Unfortunately I did not save the xbmc.log file this first time I tried. I made the simple changes to my config.xml noted above and tried again.

The second time running Rom Collection Browser still did not work and it appears to still be trying to use "maws.mameworld.info" instead of my local description file and parser. My log file was also different this time. Here is a link to the second log file:
http://pastebin.com/P2rwe66V
and here is the config file that I used for both attempts:
http://pastebin.com/JJYfXkV6

This is a similar problem to what I was having earlier when I was on the older version of Rom Collection Browser 0.84. If I recall correctly this only happens when choosing MAME as your emulator and selecting the option to scrape locally for descriptions and artwork. I will try playing with this some more tomorrow and see if I can't find a combination that works.


- malte - 2011-05-17

Thanks for the detailed report. I will check this before I build the new release. I hope it will be ready soon.

I am afraid that the creation of config.xml in 0.8.5 was not completely reflecting all changes that I made to the config structure. This should all work with 0.8.6 again. So, don't spend too much time with tinkering around with the settings. You may run into one or the other issue with 0.8.5.


- Batou - 2011-05-17

Hi Malte,

Just wanted to say thanks for your wonderful work! I checked out your SVN a couple of days ago and all runs really well! I couldn't get 0.8.5 to scrape artwork on mobygames for some reason (only info) but this problem has gone with 0.8.6 SVN

The only problem I can't seem to solve is when using the solo mode.

I edited the "applauch.bat" to point to the right directory (C:\Program Files (x86)\XBMC\XBMC.exe) but I get an error pop-up saying:

"CApplication:: create() failed - Check log file and that it is writeable" when the emulator has closed and XBMC tries to relaunch.

I then click OK and relaunch XBMC. I tried with a TIMEOUT /T 5 command but that has had no effect.

While I am here, here is a little list of websites to help people complete their local db with nice info and high-quality artwork. MobyGames can't always get good artwork (boxes especially) for classic games. I highly doubt all of them would accept to/can technically be scraped but some just might! Anyone up to the task?

ATARI:
http://www.atarimania.com/index.html

NES/SNES/N64/Wii
http://nesguide.com/
http://super.nesguide.com/
http://superfamicom.org/
http://n64.nesguide.com/
http://wiitdb.com
http://64dd.net

TG-16/PC-Engine
http://tg16guide.com/
http://www.pcengine.co.uk
http://www.necstasy.net/

All things SEGA:
http://www.smspower.org/
http://www.guardiana.net/

GBA:
http://www.pocketheaven.com/ph/jdb/index.php

PSX:
http://psxdata.snesorama.us/

Thanks you very much again Malte for your add-on, it is just what XBMC needed to be the complete and definitive HTPC experience!


- DigiTech - 2011-05-17

Batou Wrote:Hi Malte,

Just wanted to say thanks for your wonderful work! I checked out your SVN a couple of days ago and all runs really well! I couldn't get 0.8.5 to scrape artwork on mobygames for some reason (only info) but this problem has gone with 0.8.6 SVN

The only problem I can't seem to solve is when using the solo mode.

I edited the "applauch.bat" to point to the right directory (C:\Program Files (x86)\XBMC\XBMC.exe) but I get an error pop-up saying:

"CApplication:: create() failed - Check log file and that it is writeable" when the emulator has closed and XBMC tries to relaunch.

I then click OK and relaunch XBMC. I tried with a TIMEOUT /T 5 command but that has had no effect.

Maybe this can help you batou?
Digitech Wrote:Thanks to Schorsches and you Malte, had to edit applaunch.bat and add -explorer- before the XBMC path,

explorer "C:\Program Files (x86)\XBMC\XBMC.exe"

Then everything is ok, XBMC launches then it goes to RCB.
Awesome!



- Invincer - 2011-05-18

Looks like this could be a great add-on; but am I correct in guessing it only works on Dharma? Tried it on a pre-eden nightly build from earlier this month and also a PVR build. Both give me script failed errors and no config window... Is there another add-on that could work for launching MAME and emulators on the nightly builds if this one doesn't?


- Batou - 2011-05-18

DigiTech Wrote:Maybe this can help you batou?

Hi DigiTech,

That did the trick! And sorry for asking something that was already answered Sad. I did a search for the error message but found nothing conclusive.

Thanks for your help!


- Captain_C - 2011-05-18

Sorry, been a few days since i posted, but wanted to come in and say thank you. The advise given fixed my issue. Program is working great now.


- malte - 2011-05-18

@Batou:
No problem. This thread has become quite long. And thank you for the links. Most are system specific, that is a bit more difficult to implement than general sites like mobygames. But I will check them when I enter the next scraper round (next on my list is full support for emumovies download service).

@Invincer:
I just downloaded a nightly build some days ago and it worked for me out of the box (Windows 7). What does it say in xbmc.log?

But I did not really look deep into this. Just started the addon and did some navigation tests (mainly wanted to check that fullscreen video works again with Eden - and it doesSmile). There are some things that should be changed with Eden and I want to do this when I am done with the next release.

In the meantime you could check Advanced Launcher. AFAIK it is already converted to fully work with Eden.


Solo mode problem - cewlout - 2011-05-18

My Configuration: Ubuntu 10.04
XBMC: Xbmc Live/Standalone (no gnome etc present)

Hello,

When I set the plugin to launch an emulator in solo mode and start a game xbmc seems to be killed, then I see a black screen and after about 1 second it immediately returns into XBMC and right then after in the RCB script again. But the game (and emulator?) is not launched at all.

applaunch.sh is executable (modded 755).

When solo mode is disabled everything works as expected (emau launches the game). I would leave it that way since I dont care if xbmc is still running or not the problem which occurs then is that if I use the joypad I can hear the rcb script klicking in the background since when I steer the game in the background the rom-selection takes place.

Is there a way to fix this issue somehow?


- malte - 2011-05-18

@cewlout:
Launching games in solo mode won't work without an additional window manager. XBMC acts as a window manager, so if you close XBMC and you don't have another wm, it won't work anymore.

To get it working with XBMC and emulator side-by-side, you could try to use a script that disables LIRC while the emu is running (a user provided this script, I did not test it myself):

Code:
#Stop XBMC from listening to LIRC
xbmc-send -a "LIRC.Stop"

#Change LIRC mode
lirc_mode ~/.lircrc set emus

#Start emulator
snex9x-gtk "$1"

#Change LIRC mode back
lirc_mode ~/.lircrc set default

#resume LIRC on XBMC
xbmc-send -a "LIRC.Start"

I am not sure if you really need the lirc_mode commands. I just copy/pasted the script as is.


- cewlout - 2011-05-18

malte Wrote:@cewlout:
Launching games in solo mode won't work without an additional window manager. XBMC acts as a window manager, so if you close XBMC and you don't have another wm, it won't work anymore.

To get it working with XBMC and emulator side-by-side, you could try to use a script that disables LIRC while the emu is running (a user provided this script, I did not test it myself):

Code:
#Stop XBMC from listening to LIRC
xbmc-send -a "LIRC.Stop"

#Change LIRC mode
lirc_mode ~/.lircrc set emus

#Start emulator
snex9x-gtk "$1"

#Change LIRC mode back
lirc_mode ~/.lircrc set default

#resume LIRC on XBMC
xbmc-send -a "LIRC.Start"

I am not sure if you really need the lirc_mode commands. I just copy/pasted the script as is.

Thanks malte for the tip. It does not work for me since not my remote is disturbing the backend but the joypad and I can't switch it off :-)

Well, no really I tried the script; doe not work for me I steer both, RCB and the game simultaneously. Since this is very important for me I plan switch to Windows 7 instead Ubuntu :-( - very annoying.


- malte - 2011-05-18

cewlout Wrote:Well, no really I tried the script; doe not work for me I steer both, RCB and the game simultaneously. Since this is very important for me I plan switch to Windows 7 instead Ubuntu :-( - very annoying.

You could also just try to install a window manager instead of moving to windows.