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)



- Metal Madness - 2010-08-22

Does the plugin have dependencies?
I just get the message that the script failed....


- wimpy - 2010-08-22

Metal Madness Wrote:Does the plugin have dependencies?
I just get the message that the script failed....

Check xbmc.log for errors. Make sure you have loglevel set to DEBUG or ERROR.


- Tomkun - 2010-08-22

Metal Madness Wrote:Does the plugin have dependencies?
I just get the message that the script failed....

If you are using nightly builds, make sure you are using one from before r32159 otherwise you will get a script failed error if you have 14 or more roms.


- ryosaeba87 - 2010-08-22

Quote:You have a fixed -0 in your cmd but %ROM% may be replaced with more than one rom file during runtime. RCB uses {} to handle multiple roms and gets an error if there are multiple rom files but no brackets.

So, you could try this:
1. Launch a game that only uses 1 rom file
2. Replace -0 "%ROM%" with: {-%I% "%ROM%"}
--> RCB will replace {%I%} with -0 romfile1 -1 romfile2, ...

Ok,
with this 2 settings work

Code:
<emulatorCmd>/Users/ryo/AMIGA/HITORO_MACOS/E-UAE-0.8.29-WIP4/E-UAE.app/Contents/MacOS/uae -f /Users/ryo/AMIGA/configurazione.uaerc {-%I% "%ROM%"}</emulatorCmd>
<useEmuSolo>False</useEmuSolo>


but if i use True setting on useEmuSolo, the game don't start and in log files i don't look for errors.

now, I think that in my UAE configuration i set full screen mode.


- malte - 2010-08-22

Solo mode will not work on a MAC with the current version. It uses batch or bash scripts to terminate xbmc and relaunch it when you close the emu. Do you know what kind of scripts are supported on MAC?

Quote:now, I think that in my UAE configuration i set full screen mode.

I don't understand. Means, that you configured it but it won't start in fullscreen?


- ryosaeba87 - 2010-08-23

malte Wrote:Solo mode will not work on a MAC with the current version. It uses batch or bash scripts to terminate xbmc and relaunch it when you close the emu. Do you know what kind of scripts are supported on MAC?

Where i can found the bash script ? on MacOS should be work bash script else should be use apple script to "hide" XBMC.
i think to trap kill signal of emulator to "re-run" xbmc.

Quote:I don't understand. Means, that you configured it but it won't start in fullscreen?

NONO Laugh this is my thought!


- bmfrosty - 2010-08-23

Back to the config.xml re-import if changed dialog.

I nuked MyGames.db. Killed the config.xml in the addon's own directory along with it's settings.xml. I then touched config.xml in the userdata directory. I deleted config.xml.backup. I started a script to watch the directory for files starting with config.x*.

Here's the output:

Code:
xbmc@NESBMC:~/.xbmc/userdata/addon_data/script.games.rom.collection.browser$ while true;  do ls -aFl config.x* ; sleep 1 ; done
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:55 config.xml.backup
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:55 config.xml.backup
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:55 config.xml.backup
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:55 config.xml.backup
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:55 config.xml.backup
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:55 config.xml.backup
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:52 config.xml
-rw-r--r-- 1 xbmc xbmc 545 2010-08-22 17:55 config.xml.backup
^C
xbmc@NESBMC:~/.xbmc/userdata/addon_data/script.games.rom.collection.browser$

Any ideas?


- bmfrosty - 2010-08-23

malte Wrote:Solo mode will not work on a MAC with the current version. It uses batch or bash scripts to terminate xbmc and relaunch it when you close the emu. Do you know what kind of scripts are supported on MAC?
Bash. MAC OS-X is a BSD with a nice GUI that works without X.


- Tomkun - 2010-08-23

Whatever I try, I can't get infoview 1 - 4 to work at all. I know the images are working, because I can put them in other places...

Quote:<fileTypeForGameInfoView1>Developer</fileTypeForGameInfoView1>
<fileTypeForGameInfoView2>System</fileTypeForGameInfoView2>
<fileTypeForGameInfoView3>Publisher</fileTypeForGameInfoView3>
<fileTypeForGameInfoView4>Box_Front</fileTypeForGameInfoView4>

Does this look correct?

[Edit]Actually, scrap all this. I was making a mistake.[/Edit]

[Edit]Actually, no I wasn't. I can't get it to work.

Quote:<fileTypeForMainViewGameInfo2>System</fileTypeForMainViewGameInfo2>
Doesn't work.

Quote:<fileTypeForGameInfoView2>System</fileTypeForGameInfoView2>
Works.


- ryosaeba87 - 2010-08-23

bmfrosty Wrote:Bash. MAC OS-X is a BSD with a nice GUI that works without X.

It's true, but who write in bash script does not use the POSIX standard, then it is useless. For example the script applaunch.sh use a non standard POSIX command pidof. On new Linux system this work, but on another UNIX-Like OS doesn't.

Now, if we write a bash script exclusively for MacOSX propose to use AppleScript, else we write a POSIX standard bash script.


- colinb - 2010-08-23

I don't know if there are any scrapers under development at the moment, but it would seem that RFGeneration.com would be a good source. The database is fairly comprehensive, and there are plenty of box shots, title screens, gameplay screens, etc. There are no policy restrictions that I can see on accessing the site with a robot.


- bmfrosty - 2010-08-23

ryosaeba87 Wrote:It's true, but who write in bash script does not use the POSIX standard, then it is useless. For example the script applaunch.sh use a non standard POSIX command pidof. On new Linux system this work, but on another UNIX-Like OS doesn't.

Now, if we write a bash script exclusively for MacOSX propose to use AppleScript, else we write a POSIX standard bash script.

He wrote something that worked in one place. Maybe someone else will work on an applaunch.sh for os-x.


- malte - 2010-08-24

Tomkun Wrote:On a side note though, I have spent a long time getting artwork for the games I have and it all looks great. However, every view mode has a large blank area for text and game information, which I don't have and don't particularly want to spend hours getting. So, is there a way of getting rid of the empty textboxes, or is there a fast way of scraping game info into a usable format?

Actually no scraping but I compiled a set of game descs with a working parser config: http://romcollectionbrowser.googlecode.com/files/gamedesc.zip (descriptions coming from RX project). The files are quite large so RCB will need some time to parse them. Check the wiki how to find your games inside the desc files: http://code.google.com/p/romcollectionbrowser/wiki/Preview#Add_game_description

If you don't want to use game descs you should try the thumbs view.

For images I found this post in the "Emus in Live" thread: http://forum.xbmc.org/showpost.php?p=538173&postcount=37. As Izod517 I hope it is ok to link these files here. The links are still working and it should be easy to use these images with RCB. But the files are quite big (200-600MB).

bmfrosty Wrote:Back to the config.xml re-import if changed dialog.
...
Any ideas?

Not really. Maybe I have to add some more debug logging around this to find out what happens. I remember that I had a similar problem one time but I did not manage to reproduce it. So you still have this issue on every start?


Tomkun Wrote:Whatever I try, I can't get infoview 1 - 4 to work at all.

Can you show me your complete config.xml? Did you see that fileTypeForMainViewGameInfo2 and fileTypeForGameInfoView2 are referenced on two different pages?


ryosaeba87 Wrote:Now, if we write a bash script exclusively for MacOSX propose to use AppleScript, else we write a POSIX standard bash script.

Did not know about that. If anyone comes along with a MAC/Linux compatible bash script I will be happy to include it.

colinb Wrote:I don't know if there are any scrapers under development at the moment, but it would seem that RFGeneration.com would be a good source.

Not under development but I am still thinking about it. So thanks for the hint.


- shortync - 2010-08-24

So this is going to sound like a total noob question but... the instructions for Dharma say to "Go to XBMCs Addon Browser (System -> Add-ons -> Get Add-ons -> XBMC.org Add-ons -> Program Add-ons --> Rom Collection Browser)"

Where the hell is the XBMC Addon Browser? =)


- Flomaster - 2010-08-24

from home screen go into settings > addons

-=jason=-