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)



- beefystripper - 2012-01-20

malte Wrote: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.

Thanks for pointing me to the right direction. I have tried to change it in different ways but I am still getting the same error. If I try to browse this path in Windows XP it works fine (\\192.168.1.66\c64\C64N\*.zip). I have checked the permissions as well. Any other clues?

00:49:03 T:134762496 DEBUG: ------ Window Init (DialogProgress.xml) ------
00:49:03 T:134762496 NOTICE: RCB_INFO: Start Update DB
00:49:03 T:134762496 NOTICE: RCB_INFO: Iterating Rom Collections
00:49:03 T:134762496 NOTICE: RCB_INFO: current Rom Collection: Commodore 64
00:49:03 T:134762496 NOTICE: RCB_INFO: ignoreOnScan: False
00:49:03 T:134762496 NOTICE: RCB_INFO: update is allowed for current rom collection: True
00:49:03 T:134762496 NOTICE: RCB_INFO: max folder depth: 99
00:49:03 T:134762496 NOTICE: RCB_INFO: Rom path: ['\\\\192.168.1.66\\c64\\C64N\\*.zip', '\\\\192.168.1.66\\c64\\C64N\\*.d64', '\\\\192.168.1.66\\c64\\C64N\\*.c64']
00:49:03 T:134762496 NOTICE: RCB_INFO: Reading rom files
00:49:03 T:134762496 NOTICE: RCB_INFO: walkDownPath romPath: \\192.168.1.66\c64\C64N\*.zip
00:49:03 T:134762496 NOTICE: RCB_INFO: dirname:
00:49:03 T:134762496 NOTICE: RCB_INFO: basename: \\192.168.1.66\c64\C64N\*.zip
00:49:03 T:134762496 NOTICE: RCB_INFO: checking sub directories
00:49:03 T:134762496 ERROR: Exception in python script callback execution
00:49:03 T:134762496 ERROR: Traceback (most recent call last):
00:49:03 T:134762496 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dialogimportoptions.py", line 94, in onClick
00:49:03 T:134762496 ERROR: self.doImport()
00:49:03 T:134762496 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dialogimportoptions.py", line 203, in doImport
00:49:03 T:134762496 ERROR: self.gui.doImport(scrapingMode, romCollections)
00:49:03 T:134762496 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/gui.py", line 1772, in doImport
00:49:03 T:134762496 ERROR: dbupdate.DBUpdate().updateDB(self.gdb, progressDialog, scrapingmode, romCollections)
00:49:03 T:134762496 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dbupdate.py", line 88, in updateDB
00:49:03 T:134762496 ERROR: files = self.getRomFilesByRomCollection(romCollection.romPaths, romCollection.maxFolderDepth, RCId=RCId)
00:49:03 T:134762496 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dbupdate.py", line 344, in getRomFilesByRomCollection
00:49:03 T:134762496 ERROR: files = self.walkDownPath(files, romPath, maxFolderDepth)
00:49:03 T:134762496 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dbupdate.py", line 368, in walkDownPath
00:49:03 T:134762496 ERROR: for walkRoot, walkDirs, walkFiles in self.walklevel(dirname, maxFolderDepth):
00:49:03 T:134762496 ERROR: File "/var/mobile/Library/Preferences/XBMC/addons/script.games.rom.collection.browser/resources/lib/dbupdate.py", line 388, in walklevel
00:49:03 T:134762496 ERROR: assert os.path.isdir(some_dir)
00:49:03 T:134762496 ERROR: AssertionError
00:49:03 T:134762496 NOTICE: RCB_INFO: Begin cacheItems
00:49:03 T:134762496 NOTICE: RCB_INFO: End cacheItems
00:49:03 T:134762496 NOTICE: RCB_INFO: Begin updateControls
00:49:03 T:134762496 NOTICE: RCB_INFO: Begin showConsoles
00:49:03 T:134762496 NOTICE: RCB_INFO: begin showFilterControl: 500

Regards
Beefy


- malte - 2012-01-20

Did you check for case sensitivity? On Linux c64 is different to C64.


- beefystripper - 2012-01-20

I've tried that as well now but without success. I will do some more testing later on today.


- cleaner450 - 2012-01-20

Sorry about the question... Did not know it was not allowed..

As far as the roms launching... yes but the down side is that I have to go into each file name and delete the "SNES" and #... I have a program that automatically will remove the # but not sure how to batch process all names removing the SNES in the file name.

Any thoughts?

Also, how do you get it to launch in full screen? Or will it not do that because they are snes roms?

Thanks for your help!


- malte - 2012-01-21

cleaner450 Wrote:As far as the roms launching... yes but the down side is that I have to go into each file name and delete the "SNES" and #... I have a program that automatically will remove the # but not sure how to batch process all names removing the SNES in the file name.
I can imagine that there may be a problem with the #, but no way there should be issues with SNES in file names. Maybe you forgot to use "" in your emu params? It must be "%ROM%" (with surrounding "").

cleaner450 Wrote:Also, how do you get it to launch in full screen? Or will it not do that because they are snes roms?
It depends on your emulator. Usually you can pass arguments to the emu for launching in fullscreen mode.


- bigdog6262 - 2012-01-21

ok i have set this up on my xbox
but im wondering if there is way to make it consume less ram
maybe remove the background image?


- malte - 2012-01-22

bigdog6262 Wrote:ok i have set this up on my xbox
but im wondering if there is way to make it consume less ram
maybe remove the background image?
Some hints are available here.


- bigdog6262 - 2012-01-22

thanks didn't get down that far on that page 1st time i viewed it

is there a way to add the jx720skin to RCB
to help gain some mem and how do i reduce the Artwork size


- debennett2 - 2012-01-22

ok, I'm a n00b to the Rom Collection browser and, sorta, XBMC.....I am finally making XBMC my priority after being everywhere else for years. It is now obvious tat XBMC is the way to go.....

1) So I am trying to setup FCEUX for my NES roms using this plugin. I now have a list of roms and all their info and all looksvery nice (also did hte same for dolphin and wii games thus far). It appears to launch a window if I pick one of the games, but then that window immediately closes (not going to background...just going away). Any idea why this is happening? Using Confluence Eden Beta 1. Any way to troubleshoot?

2) Getting out of the screen (Rom Collection) uses a different comand than expected. Instead of using what equates to the backspace key on the keyboard, t uses the esc key equivalent. How can i change that?

Thanks so much for tolerating my n00b questions!

Smile


- malte - 2012-01-22

bigdog6262 Wrote:is there a way to add the jx720skin to RCB to help gain some mem and how do i reduce the Artwork size
This has to be done by the skin makers of jx720 or somebody else who is willing to take the task.

Reducing artwork size could be done with a lot of programs. E.g. IrfanView has some good batch features afaik. But I never did this myself.

debennett2 Wrote:1) So I am trying to setup FCEUX for my NES roms using this plugin. I now have a list of roms and all their info and all looksvery nice (also did hte same for dolphin and wii games thus far). It appears to launch a window if I pick one of the games, but then that window immediately closes (not going to background...just going away). Any idea why this is happening? Using Confluence Eden Beta 1. Any way to troubleshoot?
Good hint will be the xbmc.log. It will show you the command that RCB tries to invoke. You could try to invoke this command yourself and see if this works.

debennett2 Wrote:2) Getting out of the screen (Rom Collection) uses a different comand than expected. Instead of using what equates to the backspace key on the keyboard, t uses the esc key equivalent. How can i change that?
It is not configurable, it has to be done in RCBs source code. But other users complained about this as well so I will fix this in the next release.


- debennett2 - 2012-01-23

malte Wrote:It is not configurable, it has to be done in RCBs source code. But other users complained about this as well so I will fix this in the next release.

thanks! Please do! Is a new revision due soon? Thanks!


- debennett2 - 2012-01-23

Quote:10:59:06 T:12336 NOTICE: RCB_INFO: Begin showGameInfo
10:59:06 T:12336 NOTICE: RCB_INFO: End showGameInfo
10:59:07 T:12292 DEBUG: SDLKeyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
10:59:07 T:12292 DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
10:59:07 T:12336 NOTICE: RCB_INFO: Begin launchEmu
10:59:07 T:12336 NOTICE: RCB_INFO: launching game with id: 21
10:59:07 T:12336 NOTICE: RCB_INFO: Begin launcher.launchEmu
10:59:07 T:12336 NOTICE: RCB_INFO: files for current game: [(u'E:\\NES\\roms\\NESRen\\USA\\All-Pro Basketball (U) [!].nes',)]
10:59:07 T:12336 NOTICE: RCB_INFO: launcher.buildCmd
10:59:07 T:12336 NOTICE: RCB_INFO: emuCommandLine: E:\NES\nestopia.exe
10:59:07 T:12336 NOTICE: RCB_INFO: emuParams: "%ROM%"
10:59:07 T:12336 NOTICE: RCB_INFO: rom: E:\NES\roms\NESRen\USA\All-Pro Basketball (U) [!].nes
10:59:07 T:12336 NOTICE: RCB_INFO: cmd: call "E\:\\NES\\nestopia\.exe" "E\:\\NES\\roms\\NESRen\\USA\\All\-Pro\ Basketball\ \(U\)\ \[\!\]\.nes"
10:59:07 T:12336 NOTICE: RCB_INFO: launchEmu on non-xbox
10:59:07 T:12292 DEBUG: HttpApi Start command: GetSystemInfoByName paras: GetSystemInfoByName; system.screenmode
10:59:07 T:12336 NOTICE: RCB_INFO: screenMode: 1920x1080 @ 59.94 - Full Screen
10:59:07 T:12336 NOTICE: RCB_INFO: Toggle to Windowed mode
10:59:07 T:12292 DEBUG: HttpApi Start command: Action paras: Action; 199
10:59:07 T:12292 DEBUG: CWinSystemWin32::SetFullScreen (windowed) on screen 0 with size 720x480, refresh 0.000000
10:59:07 T:12292 DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (0,0,1920,1080 fullscreen)->(592,270,1328,788)
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProc: window move event
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProc: window resize event
10:59:07 T:12336 NOTICE: RCB_INFO: launch emu
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProcWindow is active
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Windows\System32\cmd.exe
10:59:07 T:12336 NOTICE: RCB_INFO: launch emu done
10:59:07 T:12336 NOTICE: RCB_INFO: Toggle to Full Screen mode
10:59:07 T:12292 DEBUG: HttpApi Start command: Action paras: Action; 199
10:59:07 T:12292 DEBUG: CWinSystemWin32::SetFullScreen (windowed fullscreen) on screen 0 with size 1920x1080, refresh 59.940056
10:59:07 T:12292 DEBUG: CWinSystemWin32::ResizeInternal - resizing due to size change (592,270,1328,788)->(0,0,1920,1080 fullscreen)
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProc: window move event
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProc: window resize event
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProcWindow is active
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProc: window move event
10:59:07 T:12292 DEBUG: CWinEventsWin32::WndProc: window resize event
10:59:07 T:12336 NOTICE: RCB_INFO: End launcher.launchEmu
10:59:07 T:12336 NOTICE: RCB_INFO: End launchEmu
10:59:07 T:12336 NOTICE: RCB_INFO: onAction: 7
10:59:08 T:12292 DEBUG: SDLKeyboard: scancode: 38, sym: 0134, unicode: 0000, modifier: 100
10:59:08 T:12292 DEBUG: CApplication::OnKey: alt-leftalt (4f0d4) pressed, action is
10:59:08 T:12336 NOTICE: RCB_INFO: onAction: 0
10:59:08 T:12336 NOTICE: RCB_INFO: actionId == 0. Input ignored
10:59:08 T:12292 DEBUG: CWinEventsWin32::WndProcWindow is active
10:59:08 T:12292 DEBUG: CWinEventsWin32::WndProc: Focus switched to process C:\Windows\explorer.exe

Any ideas whats up? Thanks so much!


Manually import - japes - 2012-01-23

I am having issues with a game not importing. It gets scraped and the .nfo file and all thumbnails get downloaded but it doesn't show up on the game list.

Just in case it is important...

Super Mario Bro. 2 (the one with 4 playable characters Mario, Luigi, Toad, and the Princess) is not on the game list but the other Super Mario Bro. 2 (the "lost levels" version) shows up but not the other...they are in the same folder with slightly different file names.

They both get scraped correctly but only the one shows up.

Thanks

Only error in the scraper txt files is...scrapeResult_missingArtwork.txt

Code:
"~~~~~~~~~~~~~~~~~~~~~~~~
NES
~~~~~~~~~~~~~~~~~~~~~~~~
Super Mario Bros. 2 (filename: Super Mario Bros. 2) (cartridge)"

however all artwork appears to be there


- malte - 2012-01-23

debennett2 Wrote:Any ideas whats up? Thanks so much!
Try to disable "Escape emulator cmd" option in Addon settings. See here.

japes Wrote:I am having issues with a game not importing. It gets scraped and the .nfo file and all thumbnails get downloaded but it doesn't show up on the game list.
Maybe both files are scraped with the same game name? So RCB thinks both are the same games?

Not sure what happened. If you give me the exact file names and the scrapers you used, I could try to reproduce this and see if it is a bug.


- debennett2 - 2012-01-23

That did the trick. Thanks!

1) How is everyone cleverly figuring out how to exit the actual emulator? I thought about somehow using a remote button to close the active foreground program...but not even sure how to work that as alt-f4 doesn't seem to work. Anyone have anything clever?

2) anyone have some great wireless retro setups? I'd love to see some of the ways people make this work intuitively and in a fun way in their living rooms!

Thanks again!