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)



- mcborzu - 2011-01-27

Should be current with the new context menu with both Night and The Carmichael...


- JColks - 2011-01-27

I got this working for me for about a day. As I went to go spruce up my collection and add roms, something went horribly wrong and the script failed. Now, no matter what I do, even if I delete everything in the Appdata folder, etc., it still gives me a "script error". I am a total newbie, but I prefer RCB over ALA or Romulon so so much! Can anyone help a brother out?


- malte - 2011-01-27

JColks Wrote:Can anyone help a brother out?
If the brother provides a log fileBig Grin

And what do you mean with everything in the Appdata folder? The script itself or just the userdata?


- JColks - 2011-01-27

malte Wrote:If the brother provides a log fileBig Grin

And what do you mean with everything in the Appdata folder? The script itself or just the userdata?

Both! I'm afraid I'm still too newbish to know where the log files are, but if indicate where to find em, I'm sure I can copy/paste it. I'm very tech savvy. Thanks in advance for the help!! Smile


- malte - 2011-01-27

You'll find a file "xbmc.log" in your appdata\roaming\xbmc folder. Reproduce the problem with RCB and copy/paste the content of the file to http://pastebin.com/ and post the link here.

If your XBMC is running for a while it would be a good idea to restart it before you reproduce the error. This will start with a clean log file.


- JColks - 2011-01-27

Quote: 3:39:04 T:708 M:351006720 NOTICE: RCB_INFO: Init Rom Collection Browser: C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser
13:39:04 T:708 M:351006720 NOTICE: XBMC Revision: 35647
13:39:04 T:708 M:350994432 NOTICE: XBMC Revision: 35647
13:39:04 T:708 M:350990336 NOTICE: C:\Documents and Settings\The Colkys\Application Data\XBMC\userdata\addon_data\script.games.rom.collection.browser\MyGames.db
13:39:04 T:708 M:350928896 NOTICE: Create Tables
13:39:05 T:708 M:351514624 NOTICE: XBMC Revision: 35647
13:39:05 T:708 M:351514624 NOTICE: RCB_INFO: Reading configuration file: C:\Documents and Settings\The Colkys\Application Data\XBMC\userdata\addon_data\script.games.rom.collection.browser\config.xml
13:39:59 T:4656 M:370061312 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 22
13:39:59 T:4656 M:370057216 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
13:39:59 T:4656 M:370057216 ERROR: ADDON::CScraper::Run: Unable to parse web site
13:40:33 T:4656 M:383365120 ERROR: XFILE::CDirectory::GetDirectory - Error getting rar://E%3a%5cColkys%5cSony%20Playstation%201%20Emulator%20with%20Castlevania%20SOTN%20Image%20File%5cPlaystation%201%2erar/
13:43:56 T:2848 M:383561728 WARNING: XFILE::CFileCurl::CReadState::FillBuffer: curl failed with code 28
13:43:56 T:2848 M:383561728 ERROR: CFileCurl::CReadState::Open, didn't get any data from stream.
13:44:09 T:708 M:384450560 NOTICE: XBMC Revision: 35647
13:44:09 T:708 M:384450560 NOTICE: RCB_INFO: Reading configuration file: C:\Documents and Settings\The Colkys\Application Data\XBMC\userdata\addon_data\script.games.rom.collection.browser\config.xml
13:44:09 T:708 M:384421888 NOTICE: XBMC Revision: 35647
13:44:09 T:708 M:384421888 NOTICE: RCB_INFO: Reading configuration file: C:\Documents and Settings\The Colkys\Application Data\XBMC\userdata\addon_data\script.games.rom.collection.browser\config.xml
13:44:11 T:708 M:384532480 NOTICE: XBMC Revision: 35647
13:44:11 T:708 M:384532480 NOTICE: RCB_INFO: Reading configuration file: C:\Documents and Settings\The Colkys\Application Data\XBMC\userdata\addon_data\script.games.rom.collection.browser\config.xml
13:44:11 T:708 M:384516096 NOTICE: XBMC Revision: 35647
13:44:11 T:708 M:384516096 NOTICE: XBMC Revision: 35647
13:44:11 T:708 M:384507904 NOTICE: XBMC Revision: 35647
13:44:11 T:708 M:384503808 NOTICE: RCB_INFO: Start Update DB
13:44:11 T:708 M:384503808 NOTICE: RCB_INFO: Iterating Rom Collections
13:44:11 T:708 M:384503808 NOTICE: RCB_INFO: current Rom Collection: Game Boy Advance
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: ignoreOnScan: False
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: using one description file per game: True
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: update is allowed for current rom collection: True
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: search game by CRC: True
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: ignore rom filename when searching game by CRC: False
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: use foldername as CRC: False
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: use filename as CRC: False
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: max folder depth: 99
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: Rom path: ['C:\\Documents and Settings\\The Colkys\\My Documents\\epsxe170\\epsxe\\Roms\\*.gba']
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: Reading rom files
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: walkDownPath romPath: C:\Documents and Settings\The Colkys\My Documents\epsxe170\epsxe\Roms\*.gba
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: dirname: C:\Documents and Settings\The Colkys\My Documents\epsxe170\epsxe\Roms
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: basename: *.gba
13:44:11 T:708 M:384491520 NOTICE: RCB_INFO: checking sub directories
13:44:11 T:708 M:383545344 ERROR: Error Type: sre_constants.error
13:44:11 T:708 M:383545344 ERROR: Error Contents: bad character range
13:44:11 T:708 M:383475712 ERROR: Traceback (most recent call last):
File "C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser\default.py", line 52, in ?
import gui
File "C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 1642, in ?
main()
File "C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 1636, in main
ui = UIGameDB("script-Rom_Collection_Browser-main.xml", util.getAddonInstallPath(), "Default", "PAL")
File "C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 207, in __init__
self.checkImport(doImport)
File "C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 1234, in checkImport
dbupdate.DBUpdate().updateDB(self.gdb, progressDialog)
File "C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser\resources\lib\dbupdate.py", line 78, in updateDB
files = self.getRomFilesByRomCollection(romCollection.romPaths, romCollection.maxFolderDepth)
File "C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser\resources\lib\dbupdate.py", line 301, in getRomFilesByRomCollection
files = self.walkDownPath(files, romPath, maxFolderDepth)
File "C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser\resources\lib\dbupdate.py", line 329, in walkDownPath
allFiles = [f.decode(sys.getfilesystemencoding()).encode('utf-8') for f in glob.glob(newRomPath)]
File "special://xbmc/system/python/Lib\glob.py", line 24, in glob
list = glob(dirname)
File "special://xbmc/system/python/Lib\glob.py", line 37, in glob
sublist = glob1(dirname, basename)
File "special://xbmc/system/python/Lib\glob.py", line 50, in glob1
return fnmatch.filter(names,pattern)
File "special://xbmc/system/python/Lib\fnmatch.py", line 47, in filter
_cache[pat] = re.compile(res)
File "special://xbmc/system/python/Lib\sre.py", line 180, in compile
return _compile(pattern, flags)
File "special://xbmc/system/python/Lib\sre.py", line 227, in _compile
raise error, v # invalid expression
error: bad character range
13:44:11 T:3440 M:383500288 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Documents and Settings\The Colkys\Application Data\XBMC\addons\script.games.rom.collection.browser
13:44:19 T:4656 M:384880640 ERROR: XFILE::CDirectory::GetDirectory - Error getting zip://E%3a%5cColkys%5cSuper%20PS1%20Emulation%20Starter%20Pack%5cplugins%5cgpupeteogl206%2ezip/
13:44:26 T:4656 M:367964160 NOTICE: VideoInfoScanner: Finished scan. Scanning for video info took 07:52
13:46:19 T:3528 M:324513792 NOTICE: -->Python Interpreter Initialized<--

Thats what I Got!


- malte - 2011-01-28

Looks like an encoding issue. Could you check if there are files with "unusual" characters under this path: "C:\\Documents and Settings\\The Colkys\\My Documents\\epsxe170\\epsxe\\Roms" ?


- JColks - 2011-01-28

malte Wrote:Looks like an encoding issue. Could you check if there are files with "unusual" characters under this path: "C:\\Documents and Settings\\The Colkys\\My Documents\\epsxe170\\epsxe\\Roms" ?

Unusual like weird lettering?
like ! and brackets? or like crazy letters and symbols?


- malte - 2011-01-28

No, "!" and brackets will be ok. What sometimes causes problems are characters that only occur in certain languages like "äöü`´°^". If you say it worked before you should double check the roms that you added after it was working.


- malte - 2011-01-29

mcborzu Wrote:Should be current with the new context menu with both Night and The Carmichael...

Tested both skins and it works great! Thanks a lot!

I noticed that there is already video support in Carmichael. Is this also available in Night? Could not find it.

One issue that I noticed in the Night skin: If I change to the Slide view there is no way out. I can't change filter settings or switch to another view.


- cyberdad - 2011-01-29

I accidentally entered the wrong path to my roms during RCB first run. Now RCB starts and is completely empty.
The problem is I can not find a way to fix the wrong path. I can not find config.xml anywhere. I tried reinstalling, deleting the install dir, importing games... nothing works.
Is there a way to force RCB to reinitialize itself?

PS: I am running dharma on win7 32bit


- mcborzu - 2011-01-29

malte Wrote:Tested both skins and it works great! Thanks a lot!

I noticed that there is already video support in Carmichael. Is this also available in Night? Could not find it.

One issue that I noticed in the Night skin: If I change to the Slide view there is no way out. I can't change filter settings or switch to another view.

Carmichael must just be how I have things coded by default as I didnt specifically code it, Night I havent really decided how i want to handle video...

Slide view - I put it in, checked that it looked good and positioning of the labels but actually didn't click the options, lol. Just assumed those were fine. Ah, as I type I know what happen, I still have the <onup>/<ondown> coded for Video library...


Solution - Thrasher666 - 2011-01-29

cyberdad Wrote:I accidentally entered the wrong path to my roms during RCB first run. Now RCB starts and is completely empty.
The problem is I can not find a way to fix the wrong path. I can not find config.xml anywhere. I tried reinstalling, deleting the install dir, importing games... nothing works.
Is there a way to force RCB to reinitialize itself?

PS: I am running dharma on win7 32bit

Delete the config.xml in \XBMCportable\XBMC\portable_data\userdata

for Portable version...

or if you installed dharma C:\Users\WhateverYourNameIs\AppData\Roaming\XBMC\userdata\addon_data\script.games.rom.collection.browser

Note that you have in Windows "File and Folder Options" show protected files and show hidden folders marked


- cyberdad - 2011-01-29

Thrasher666 Wrote:Delete the config.xml in \XBMCportable\XBMC\portable_data\userdata

for Portable version...

or if you installed dharma C:\Users\WhateverYourNameIs\AppData\Roaming\XBMC\userdata\addon_data\script.games.rom.collection.browser

Note that you have in Windows "File and Folder Options" show protected files and show hidden folders marked

Actually, config.xml was inside the active profile folder in addon_data folder. That is why I missed it. Thank you.
Now it doesn't import any of my roms, but that is another story, I ll figure it out soon enough.


- cyberdad - 2011-01-30

ok, I figured it out. Just in case anyone has a similar problem, this is what was wrong with my setup:

My roms collection resides in my windows home server. To access my files from xbmc I have setup various sources.

During the RCB wizard I used these sources as the paths for the various settings that need a path. After running the RCB wizard, the configuration was saved in config.xml.
The paths in config xml were in the form:
smb://UsernameTongueassword@FILESERVER/WhateverPath
This path form is not working. The correct path form is
//FILESERVER/WhateverPath

I hope this saves someone the trouble.

Very nice addon, thank you. I suppose it is already mentioned but anyway, you should really try to make the scraping a background process. It is a terribly long process
.