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)



- User 112893 - 2012-01-16

Thanks!


- Domina - 2012-01-16

Malte, have a question:
How can I add link to (search) for RCB directly from the Home Menu skin?

Image
Image

I ask this because I want to add a link to go straight to search for RCB in my skin to stay in the pattern of other library, see an example of this with music:

PHP Code:
<item id="50005">
                        <
label>pesquisar</label>
                        <
onclick>ActivateWindow(Musiclibrary)</onclick>
                        <
onclick>SendClick(8)</onclick>
                        <
icon>Home\music_search_focus.png</icon>
                        <
thumb>Home\image_search_nofocus.png</thumb>
                        <
visible allowhiddenfocus="true">Container(9000).HasFocus(3)</visible>
                    </
item


Image
Image

This also applies tvshows, concerts, movies and videos.

edit:
I was trying:

[HTML]<item id="50031">
<label>pesquisar</label>
<onclick>RunScript(script.games.rom.collection.browser)</onclick>
<onclick>SendClick(1100)</onclick>
<icon>Home\games_search_focus.png</icon>
<thumb>Home\games_search_nofocus.png</thumb>
<visible allowhiddenfocus="true">Container(9000).HasFocus(14)</visible>
</item>[/HTML]

but without success


Thanks!


Log file - DarkStranger - 2012-01-16

malte Wrote:Usually the reference to ElementTree should be resolved automatically by XBMC as this is a common module that many addons use. No idea why this is not working for you.

You could try it with the version that I provide on RCBs homepage: link. This already includes the required libraries.


Should be no problem to import 7z-files. Can you show me your log file? Maybe I can see what happens during import.

Note that launching .7z games may not work on Eden-pre. There is still a problem with uncompatible 7z-libraries that I have to fix.

I have sent you a message


- flipped cracker - 2012-01-17

Has anyone gotten this to work on XBMC Live? When I try to add a rom collection, it won't let me find an emulator to use. The only folder I can browse is one network share. It won't let me brose for the emulator file anywhere else. help?


- beefystripper - 2012-01-17

Hello, maybe a strange question, but has anyone manage to import commondore 64 roms using the Rom Collections Browser. I have tried without succes, it would be a neat thing to wathc classic C64 demos on the ATV2.

Thanks!


- Darkcloud - 2012-01-17

Did you use the right mask for the roms and do the roms have the actual names of the games? If this isn't the case it won't work. If you set RCB to scrap files even if no atwork or anything is found it will show the games with the filename and without artwork.


- cleaner450 - 2012-01-18

I am having an issue... new to XBMC...

Here is my problem... it seems for some reason it will not recognize my roms..?

Right now they are in a .zip as 3 Ninjas Kick Back # SNES

I can unzip them and they will be 3 Ninjas Kick Back # SNES.SMC

This is how I DL'd them... do I have to go in and change every file name?
I have like over 70 roms

whats wrong here? Do I need to change the path so that RCB can pick them up. After I run it keeps says failed after 10 attempts..

Not sure how to fix this.. Thanks for the help


- flipped cracker - 2012-01-18

flipped cracker Wrote:Has anyone gotten this to work on XBMC Live? When I try to add a rom collection, it won't let me find an emulator to use. The only folder I can browse is one network share. It won't let me brose for the emulator file anywhere else. help?

Ok, I figured how to browse for the emulator file. I had to add a source in the file manager to my home directory, and then I could browse everything else.

Now, I'm having trouble actually importing roms. I'm trying to MAME files, but once it starts imported I get an error saying something about "not being able to import the 10 previous roms, do you want to continue". Any idea what I'm doing wrong?


- cleaner450 - 2012-01-18

Having issues as well... I think my files need to be renamed but I am a noob to XBMC so?

just wait for help from the experts...:-))


- malte - 2012-01-19

Domina Wrote:How can I add link to (search) for RCB directly from the Home Menu skin?

edit:
I was trying:
Code:
<onclick>RunScript(script.games.rom.collection.browser)</onclick>
<onclick>SendClick(1100)</onclick>
but without success
Not sure what you want it to do. Should it just start RCB with a search mask? Or do you just want to get back search results without starting RCB? I am not sure if something like this is possible from a script. I will check when I have time again.

What happens when you try your onClick-events?

beefystripper Wrote:Hello, maybe a strange question, but has anyone manage to import commondore 64 roms using the Rom Collections Browser. I have tried without succes, it would be a neat thing to wathc classic C64 demos on the ATV2.
It should work to import them and watch the videos. Not sure if you can run emulators on ATV2 and how to address them from RCB. If you have trouble with the game import please show me the xbmc.log after you tried to import the games.

cleaner450 Wrote:Here is my problem... it seems for some reason it will not recognize my roms..?

Right now they are in a .zip as 3 Ninjas Kick Back # SNES

I can unzip them and they will be 3 Ninjas Kick Back # SNES.SMC
So, the zip as no ending (like 3 Ninjas Kick Back # SNES.zip)? Not sure if this works but you could try to use *.* or just * as file mask.

flipped cracker Wrote:Now, I'm having trouble actually importing roms. I'm trying to MAME files, but once it starts imported I get an error saying something about "not being able to import the 10 previous roms, do you want to continue". Any idea what I'm doing wrong?
MAME import from online sources does not work atm as MAWS site is down since some weeks. Only chance to import MAME roms is to use offline game descriptions from here. Artwork for MAME roms can be found on emumovies.com. Usage with RCB is explained here (just getting artwork does not need paid subscription).


- Domina - 2012-01-19

malte Wrote:Not sure what you want it to do. Should it just start RCB with a search mask? Or do you just want to get back search results without starting RCB? I am not sure if something like this is possible from a script. I will check when I have time again.

What happens when you try your onClick-events?


What I want is that it opens rcb and open the search.
Just as, music, movies, concerts, videos and tvshows.
This makes it possible to put a shortcut on the main menu without having to enter in rcb and search the search option inside rcb.

When I try the onclick event, open rcb, but without search.


- cleaner450 - 2012-01-19

Here is how the file looks exactly..

3 Ninjas Kick Back # SNES.SMC

why is RBC not opening these roms? Is it becuase there is a # SNES in the title?


- beefystripper - 2012-01-19

malte Wrote:It should work to import them and watch the videos. Not sure if you can run emulators on ATV2 and how to address them from RCB. If you have trouble with the game import please show me the xbmc.log after you tried to import the games.

Here you go. I am now trying to import the C64 games as well as demos (*.d64 files). The screen will stuck with message "Import Games..."

13:48:21 T:85520384 DEBUG: Activating window ID: 13000
13:48:21 T:85520384 DEBUG: Error: Requested setting (pvrmanager.enabled) was not found. It must be case-sensitive
13:48:22 T:85520384 DEBUG: Previous line repeats 13 times.
13:48:22 T:85520384 DEBUG: ------ Window Deinit (Home.xml) ------
13:48:22 T:85520384 DEBUG: ------ Window Init (/var/mobile/Library/Preferences/XBMC/addons/skin.aeonmq.3/720p/script-Rom_Collection_Browser-main.xml) ------
13:48:22 T:85520384 INFO: Loading skin file: /var/mobile/Library/Preferences/XBMC/addons/skin.aeonmq.3/720p/script-Rom_Collection_Browser-main.xml
13:48:22 T:85520384 DEBUG: unable to load /var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/language/Swedish/strings.xml: Failed to open file at line 0
13:48:22 T:85520384 WARNING: Trying to add unsupported control type 1
13:48:22 T:85520384 WARNING: Previous line repeats 2 times.
13:48:22 T:85520384 ERROR: Control 52 in window 13000 has been asked to focus, but it can't
13:48:22 T:149688320 NOTICE: RCB_INFO: Begin onInit
13:48:23 T:149688320 NOTICE: RCB_INFO: Begin loadViewState
13:48:23 T:149688320 NOTICE: RCB_INFO: Begin showConsoles
13:48:23 T:149688320 NOTICE: RCB_INFO: begin showFilterControl: 500
13:48:23 T:149688320 NOTICE: RCB_INFO: End showConsoles
13:48:23 T:149688320 NOTICE: RCB_INFO: Begin showGenre
13:48:23 T:149688320 NOTICE: RCB_INFO: Selected Console: 0
13:48:23 T:149688320 NOTICE: RCB_INFO: begin showFilterControl: 600
13:48:23 T:149688320 NOTICE: RCB_INFO: End showGenre
13:48:23 T:149688320 NOTICE: RCB_INFO: Begin showYear
13:48:23 T:149688320 NOTICE: RCB_INFO: Selected Console: 0
13:48:23 T:149688320 NOTICE: RCB_INFO: begin showFilterControl: 700
13:48:23 T:149688320 NOTICE: RCB_INFO: End showYear
13:48:23 T:149688320 NOTICE: RCB_INFO: Begin showPublisher
13:48:23 T:149688320 NOTICE: RCB_INFO: Selected Console: 0
13:48:23 T:149688320 NOTICE: RCB_INFO: begin showFilterControl: 800
13:48:23 T:149688320 NOTICE: RCB_INFO: End showPublisher
13:48:23 T:149688320 NOTICE: RCB_INFO: Begin showCharacterFilter
13:48:23 T:149688320 NOTICE: RCB_INFO: End showCharacterFilter
13:48:23 T:149688320 NOTICE: RCB_INFO: Begin showGames
13:48:23 T:149688320 NOTICE: RCB_INFO: helper.buildLikeStatement
13:48:23 T:149688320 NOTICE: RCB_INFO: searching games with args: romCollectionId = 0, genreId = 0, yearId = 0, publisherId = 0, isFavorite = 0, characterFilter = 0 = 0
13:48:23 T:149688320 NOTICE: showGames: load games from db in 7 ms
13:48:23 T:149688320 NOTICE: showGames: load 0 games to list in 0 ms
13:48:23 T:149688320 NOTICE: RCB_INFO: End showGames
13:48:23 T:149688320 NOTICE: RCB_INFO: Begin showGameInfo
13:48:23 T:149688320 NOTICE: RCB_WARNING: ListSize == 0 in showGameInfo
13:48:23 T:149688320 NOTICE: RCB_INFO: End loadViewState
13:48:23 T:149688320 NOTICE: RCB_INFO: End onInit
13:48:23 T:85520384 ERROR: Control 52 in window 13000 has been asked to focus, but it can't
13:48:25 T:149688320 ERROR: Previous line repeats 1 times.
13:48:25 T:149688320 NOTICE: RCB_INFO: onAction: 117
13:48:25 T:149688320 NOTICE: RCB_INFO: init ContextMenu
13:48:25 T:85520384 DEBUG: ------ Window Init (/var/mobile/Library/Preferences/XBMC/addons/skin.aeonmq.3/720p/script-RCB-contextmenu.xml) ------
13:48:25 T:85520384 INFO: Loading skin file: /var/mobile/Library/Preferences/XBMC/addons/skin.aeonmq.3/720p/script-RCB-contextmenu.xml
13:48:25 T:149688320 NOTICE: RCB_INFO: onInit ContextMenu
13:48:29 T:149688320 NOTICE: RCB_INFO: Begin updateDB
13:48:29 T:149688320 NOTICE: RCB_INFO: Begin clearCache
13:48:29 T:149688320 NOTICE: RCB_INFO: End clearCache
13:48:29 T:149688320 NOTICE: RCB_INFO: init ImportOptions
13:48:29 T:85520384 DEBUG: ------ Window Init (/var/mobile/Library/Preferences/XBMC/addons/skin.aeonmq.3/720p/script-RCB-importoptions.xml) ------
13:48:29 T:85520384 INFO: Loading skin file: /var/mobile/Library/Preferences/XBMC/addons/skin.aeonmq.3/720p/script-RCB-importoptions.xml
13:48:29 T:149688320 NOTICE: RCB_INFO: onInit ImportOptions
13:48:29 T:85520384 DEBUG: ------ Window Deinit (/var/mobile/Library/Preferences/XBMC/addons/skin.aeonmq.3/720p/script-RCB-contextmenu.xml) ------
13:48:33 T:149688320 NOTICE: RCB_INFO: Selected scraping mode: 0
13:48:33 T:149688320 INFO: Loading skin file: DialogProgress.xml
13:48:33 T:149688320 DEBUG: DialogProgress::StartModal called
13:48:33 T:149688320 DEBUG: ------ Window Init (DialogProgress.xml) ------
13:48:33 T:149688320 NOTICE: RCB_INFO: Start Update DB
13:48:33 T:149688320 NOTICE: RCB_INFO: Iterating Rom Collections
13:48:33 T:149688320 NOTICE: RCB_INFO: current Rom Collection: Commodore 64
13:48:33 T:149688320 NOTICE: RCB_INFO: ignoreOnScan: False
13:48:33 T:149688320 NOTICE: RCB_INFO: update is allowed for current rom collection: True
13:48:33 T:149688320 NOTICE: RCB_INFO: max folder depth: 99
13:48:33 T:149688320 NOTICE: RCB_INFO: Rom path: ['smb://192.168.1.66/c64/C64N/*.zip', 'smb://192.168.1.66/c64/C64N/*.d64']
13:48:33 T:149688320 NOTICE: RCB_INFO: Reading rom files
13:48:33 T:149688320 NOTICE: RCB_INFO: walkDownPath romPath: smb://192.168.1.66/c64/C64N/*.zip
13:48:33 T:149688320 NOTICE: RCB_INFO: dirname: smb://192.168.1.66/c64/C64N
13:48:33 T:149688320 NOTICE: RCB_INFO: basename: *.zip
13:48:33 T:149688320 NOTICE: RCB_INFO: checking sub directories
13:48:33 T:149688320 ERROR: Exception in python script callback execution
13:48:33 T:149688320 ERROR: Traceback (most recent call last):
13:48:33 T:149688320 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dialogimportoptions.py", line 94, in onClick
13:48:33 T:149688320 ERROR: self.doImport()
13:48:33 T:149688320 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dialogimportoptions.py", line 203, in doImport
13:48:33 T:149688320 ERROR: self.gui.doImport(scrapingMode, romCollections)
13:48:33 T:149688320 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 1772, in doImport
13:48:33 T:149688320 ERROR: dbupdate.DBUpdate().updateDB(self.gdb, progressDialog, scrapingmode, romCollections)
13:48:33 T:149688320 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dbupdate.py", line 88, in updateDB
13:48:33 T:149688320 ERROR: files = self.getRomFilesByRomCollection(romCollection.romPaths, romCollection.maxFolderDepth, RCId=RCId)
13:48:33 T:149688320 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dbupdate.py", line 344, in getRomFilesByRomCollection
13:48:33 T:149688320 ERROR: files = self.walkDownPath(files, romPath, maxFolderDepth)
13:48:33 T:149688320 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dbupdate.py", line 368, in walkDownPath
13:48:33 T:149688320 ERROR: for walkRoot, walkDirs, walkFiles in self.walklevel(dirname, maxFolderDepth):
13:48:33 T:149688320 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dbupdate.py", line 388, in walklevel
13:48:33 T:149688320 ERROR: assert os.path.isdir(some_dir)
13:48:33 T:149688320 ERROR: AssertionError
13:48:33 T:149688320 NOTICE: RCB_INFO: Begin cacheItems
13:48:33 T:149688320 NOTICE: RCB_INFO: End cacheItems
13:48:33 T:149688320 NOTICE: RCB_INFO: Begin updateControls
13:48:33 T:149688320 NOTICE: RCB_INFO: Begin showConsoles
13:48:33 T:149688320 NOTICE: RCB_INFO: begin showFilterControl: 500
13:48:33 T:149688320 NOTICE: RCB_INFO: End showConsoles
13:48:33 T:149688320 NOTICE: RCB_INFO: Begin showGenre
13:48:33 T:149688320 NOTICE: RCB_INFO: Selected Console: 0
13:48:33 T:149688320 NOTICE: RCB_INFO: begin showFilterControl: 600
13:48:33 T:149688320 NOTICE: RCB_INFO: End showGenre
13:48:33 T:149688320 NOTICE: RCB_INFO: Begin showYear
13:48:33 T:149688320 NOTICE: RCB_INFO: Selected Console: 0
13:48:33 T:149688320 NOTICE: RCB_INFO: begin showFilterControl: 700
13:48:33 T:149688320 NOTICE: RCB_INFO: End showYear
13:48:33 T:149688320 NOTICE: RCB_INFO: Begin showPublisher
13:48:33 T:149688320 NOTICE: RCB_INFO: Selected Console: 0
13:48:33 T:149688320 NOTICE: RCB_INFO: begin showFilterControl: 800
13:48:33 T:149688320 NOTICE: RCB_INFO: End showPublisher
13:48:33 T:149688320 NOTICE: RCB_INFO: Begin showCharacterFilter
13:48:33 T:149688320 NOTICE: RCB_INFO: End showCharacterFilter
13:48:33 T:149688320 NOTICE: RCB_INFO: End updateControls
13:48:33 T:149688320 NOTICE: RCB_INFO: End updateDB
13:48:33 T:149688320 NOTICE: RCB_INFO: onAction: ACTION_CONTEXT
13:48:33 T:85520384 ERROR: Control 52 in window 13000 has been asked to focus, but it can't
13:48:33 T:85520384 DEBUG: ------ Window Deinit (/var/mobile/Library/Preferences/XBMC/addons/skin.aeonmq.3/720p/script-RCB-importoptions.xml) ------
13:48:33 T:85520384 ERROR: ClearBlock: Trying to clear non existent block /var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser
13:48:43 T:124243968 DEBUG: DoWork - took 122 ms to load special://masterprofile/Thumbnails/4/49820d11.jpg

Regards
Beefy


- cleaner450 - 2012-01-20

well I think I got it... the # in the file name was screwing everything up...

anyone know where I can DL a pack of roms for any platform? Like a top 20 games pack..??


- malte - 2012-01-20

beefystripper Wrote:Here you go. I am now trying to import the C64 games as well as demos (*.d64 files). The screen will stuck with message "Import Games..."
Error is this:
Code:
13:48:33 T:149688320 ERROR: assert os.path.isdir(some_dir)
13:48:33 T:149688320 ERROR: AssertionError
This may happen if the path does not exist or the isdir function may have problems with smb-syntax. Could you try to use this syntax for your rom folders: \\192.168.1.66\c64\C64N\*.c64 ? You have to edit this directly in config.xml I guess.

cleaner450 Wrote:well I think I got it... the # in the file name was screwing everything up...
Did you have trouble during launching or importing games? I will look into it an see if I can fix it.

cleaner450 Wrote:anyone know where I can DL a pack of roms for any platform? Like a top 20 games pack..??
Please don't ask this here in the forum.