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)



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2012-05-14

Axodious Wrote:I had to set the name with a normal E and use guess matches for it to work. Although with saying that I noticed a small bug, the name it scrapes contains "é" but when scraped it shows up as what looks like the html character set for it.
Yes, there are still some encoding issues. Not easy to support different python versions and OS. It is on my list but I can't promise to solve it.

st graveyard Wrote:It is always like this. The first removal and reload everything is ok, the second, the filter is lost and I need to set it back to Genesis. I'm using AEON MQ3. I was thinking the other day this could become a big problem as I plan to add all my collections one day.

I hope you are able to simulate this...
Ok, did not try it after an import. Will check this, too.

Chromedstang Wrote:I've tried it again and nothing
Did you try with other scrapers (MobyGames) or only thegamesdb? I am not sure if thegamesdb gives me alternative results if it can't find the search string.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Chromedstang - 2012-05-16

I did try with other scrapers and same thing. Also now when I click on a rom to play it only plays Jsnes...


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2012-05-16

Can you show me log files of both issues?


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - binarybomber - 2012-05-17

XBMCbuntu Users:

I have found a way to use Solo Mode in RCB, while still retaining the "set-top box" appearance of XBMC that we're so fond of Smile

If you're using the Eden version of XBMCbuntu, use OpenBox as your session, and visit this website which will show you how to create an autostart script for OpenBox.

http://openbox.org/wiki/Help:Autostart

Simply place "xbmc -fs" in your "/home/user/.config/openbox/autostart" file, set your system to auto boot to OpenBox, and voila!

OpenBox is an extremely light window manager, and has no desktop attributes. Should be very little difference between using the XBMC and OpenBox sessions, maybe 1-2 second longer boot time.

I also use scripts to invoke my emulators with LIRC remote control to kill them, and it all works like a charm!

Hope this helps some of you!!!
binarybomber


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Chromedstang - 2012-05-17

@malte I would..if I knew how lol


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2012-05-17

@binarybomber: Thanks! I am sure this will be useful for others.

@Chromedstang: No problem. Check this.



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2012-05-17

New test version available: 1.0.4
(version 1.0.3 caused errors, so I had to upload 1.0.4)

List of changes:

General:
  • open Addon settings from context menu
Import Games:
  • bug: Import games with () in name with local single file scraper
  • change default values of "Don't import games without info / artwork"
  • rescrape options:
  • -> rescrape single game
  • -> rescrape selection
  • new update option: don't overwrite existing properties with null values
  • (bug: error with publisher / developer "989") --> This change had to be reverted in 1.0.4

This is kind of the missing part of the last release 1.0.2. Together with the "missing info filter" introduced with the last version you should now have enough control about the rescraping process to get your rom collections accurate and shiny Smile

There is also a new option to prevent RCB from overwriting existing info with null values in case of a rescrape. You can change this in Addon Settings, default value is "False" (Don't allow overwrite with null values).

You can now access the Addon settings from context menu inside the Addon. I guess this comes in handy for all that have RCB sitting on the home screen. You don't have to navigate to programs or addons only to change some settings anymore. Note: Some settings (especially all browsing related options) require RCB restart before a change is noticed.

As previous version these changes are only available in Default Confluence skin atm. There will be one more test release before I start preparing official repo version and ask the skin authors to update their skins. But I hope that this next version will not have to wait 2 months again...

Previous version: 1.0.2


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Chromedstang - 2012-05-17

http://xbmclogs.com/show.php?id=2701




RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2012-05-17

(2012-05-17, 16:22)Chromedstang Wrote: http://xbmclogs.com/show.php?id=2701
I guess you missed one important point:

Code:
Reproduce your problem

Looks like you did not even start RCB in this log? Big Grin



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - st graveyard - 2012-05-17

(2012-05-17, 14:08)malte Wrote: New test version available: 1.0.3

List of changes:

General:
  • open Addon settings from context menu
Import Games:
  • bug: error with publisher / developer "989"
  • bug: Import games with () in name with local single file scraper
  • change default values of "Don't import games without info / artwork"
  • rescrape options:
  • -> rescrape single game
  • -> rescrape selection
  • new update option: don't overwrite existing properties with null values

This is kind of the missing part of the last release 1.0.2. Together with the "missing info filter" introduced with the last version you should now have enough control about the rescraping process to get your rom collections accurate and shiny Smile

There is also a new option to prevent RCB from overwriting existing info with null values in case of a rescrape. You can change this in Addon Settings, default value is "False" (Don't allow overwrite with null values).

You can now access the Addon settings from context menu inside the Addon. I guess this comes in handy for all that have RCB sitting on the home screen. You don't have to navigate to programs or addons only to change some settings anymore. Note: Some settings (especially all browsing related options) require RCB restart before a change is noticed.

As previous version these changes are only available in Default Confluence skin atm. There will be one more test release before I start preparing official repo version and ask the skin authors to update their skins. But I hope that this next version will not have to wait 2 months again...

Previous version: 1.0.2

Hey Malte,

I will test this all asap.

I have a question :
[*] bug: Import games with () in name with local single file scraper

You remember that the local scraper was working correctly, but the collection scraper was failing? I will test and see if it is all solved now.

Single game rescrape should be awesome. No more deleting of games and re-importing and all the little tricks to get the result you want!

Thanks a lot already.

Cheers,
Grave


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - Chromedstang - 2012-05-17

Haha really? I usually leave it on though to be honest. I just reproduced it the best I can and there's no error..It just doesn't play the ROM I click on it just brings up a different ROM emulator. I.E I click on Gameboy Game and it brings up a Super Nintendo emulator..


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - st graveyard - 2012-05-17

Malte,

Just installed the new test version. It doesn't work for me ar all. Tested in Confluence and MQ3. Indeed in confluence, the new features are there. however, after switching to new version and selecting XBMC, no games in the db are displayed. I know they are in the db, but nothing is found and placed on screen. I then do a genesis import (using my genesis scraper) and all of a sudden, both the systems in my collection (snes and genesis) are back on screen (after a really really fast import process). When I try and filter to genesis only, nothing happens. The filter seems broken too. When I leave rcb and reload it, all my games are gone again. Then I can start over again as described above.

What do I do now? Try using the new version of RCB with an existing local collection if you want and see if it works for you ...

EDIT : switching back to previous version and all problems are gone...


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2012-05-17

Chromedstang Wrote:Haha really? I usually leave it on though to be honest. I just reproduced it the best I can and there's no error..It just doesn't play the ROM I click on it just brings up a different ROM emulator. I.E I click on Gameboy Game and it brings up a Super Nintendo emulator..
I can't see what is happening without a log. In the last one that you attached RCB is not even launched. Maybe you restarted XBMC after reproducing the issue?

st graveyard Wrote:I have a question :
[*] bug: Import games with () in name with local single file scraper

You remember that the local scraper was working correctly, but the collection scraper was failing? I will test and see if it is all solved now.
Yes, this should be fixed now.

st graveyard Wrote:Just installed the new test version. It doesn't work for me ar all. Tested in Confluence and MQ3. Indeed in confluence, the new features are there. however, after switching to new version and selecting XBMC, no games in the db are displayed. I know they are in the db, but nothing is found and placed on screen. I then do a genesis import (using my genesis scraper) and all of a sudden, both the systems in my collection (snes and genesis) are back on screen (after a really really fast import process). When I try and filter to genesis only, nothing happens. The filter seems broken too. When I leave rcb and reload it, all my games are gone again. Then I can start over again as described above.

What do I do now? Try using the new version of RCB with an existing local collection if you want and see if it works for you ...
Your setup is quite similar to my test setup. I have just a genesis and a sega 32 collection up and running. I had a copy of my database from before my changes and everything is running flawlessly with this db. It is also imported from local desc files but this should not matter once everything is inside the db.

Can you show me a log of the new version on your system? Maybe I missed something or there is a problem specific to something in your configuration.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - st graveyard - 2012-05-17

Ok so, I have a perfect genesis setup in version 1.0.2. This is what I do now :

1) start xbmc
2) install from zip the new version 1.0.3
3) go to programs --> RCB

No games are displayed anymore.

This is the part of the log where rcb is kicking in :

Quote:20:39:26 T:748 NOTICE: RCB_INFO: Scraper Site: Genesis
20:39:26 T:748 NOTICE: RCB_INFO: Scraper descFilePerGame: True
20:39:26 T:748 NOTICE: RCB_INFO: Scraper Site: SNES
20:39:26 T:748 NOTICE: RCB_INFO: Scraper descFilePerGame: True
20:39:26 T:748 NOTICE: RCB_INFO: showHideOption: show
20:39:26 T:748 NOTICE: RCB_INFO: Begin cacheItems
20:39:26 T:748 NOTICE: RCB_INFO: End cacheItems
20:39:27 T:3120 WARNING: Trying to add unsupported control type 1
20:39:27 T:3120 WARNING: Previous line repeats 2 times.
20:39:27 T:3120 ERROR: Control 50 in window 13000 has been asked to focus, but it can't
20:39:27 T:748 NOTICE: RCB_INFO: Begin onInit
20:39:27 T:748 NOTICE: RCB_INFO: Begin loadViewState
20:39:27 T:748 NOTICE: RCB_INFO: Begin showConsoles
20:39:27 T:748 NOTICE: RCB_INFO: begin showFilterControl: 500
20:39:27 T:748 NOTICE: RCB_INFO: End showConsoles
20:39:27 T:748 NOTICE: RCB_INFO: Begin showGenre
20:39:27 T:748 NOTICE: RCB_INFO: Selected Console: 1
20:39:27 T:748 NOTICE: RCB_INFO: begin showFilterControl: 600
20:39:27 T:748 NOTICE: RCB_INFO: End showGenre
20:39:27 T:748 NOTICE: RCB_INFO: Begin showYear
20:39:27 T:748 NOTICE: RCB_INFO: Selected Console: 1
20:39:27 T:748 NOTICE: RCB_INFO: begin showFilterControl: 700
20:39:27 T:748 NOTICE: RCB_INFO: End showYear
20:39:27 T:748 NOTICE: RCB_INFO: Begin showPublisher
20:39:27 T:748 NOTICE: RCB_INFO: Selected Console: 1
20:39:27 T:748 NOTICE: RCB_INFO: begin showFilterControl: 800
20:39:27 T:748 ERROR: Exception in python script callback execution
20:39:27 T:748 ERROR: Traceback (most recent call last):
20:39:27 T:748 ERROR: File "C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 250, in onInit
20:39:27 T:748 ERROR: self.loadViewState()
20:39:27 T:748 ERROR: File "C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 1559, in loadViewState
20:39:27 T:748 ERROR: self.showPublisher(False, False)
20:39:27 T:748 ERROR: File "C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 509, in showPublisher
20:39:27 T:748 ERROR: self.showFilterControl(rows, CONTROL_PUBLISHER, showEntryAllItems, rcDelete, rDelete)
20:39:27 T:748 ERROR: File "C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 535, in showFilterControl
20:39:27 T:748 ERROR: items.append(xbmcgui.ListItem(str(row[util.ROW_NAME]), str(row[util.ROW_ID]), "", ""))
20:39:27 T:748 ERROR: UnicodeEncodeError
20:39:27 T:748 ERROR: :
20:39:27 T:748 ERROR: 'ascii' codec can't encode characters in position 11-12: ordinal not in range(128)
20:39:29 T:3120 ERROR: Control 50 in window 13000 has been asked to focus, but it can't
20:39:29 T:748 NOTICE: RCB_INFO: onAction: 0
20:39:29 T:748 NOTICE: RCB_INFO: actionId == 0. Input ignored

There are errors ...
When I do a import of the genesis collection using local import both of my collections are back, but filter actions don't work. I also noticed all my publishers and developers in the filter are gone!!!! Maybe this has something to do with it? This is the final part of the log :

Quote:20:50:48 T:4000 NOTICE: Closing audio device
20:50:48 T:4000 NOTICE: Deleting audio codec
20:50:48 T:4000 NOTICE: DVDPlayer: closing video stream
20:50:48 T:4000 NOTICE: Closing video stream
20:50:48 T:4000 NOTICE: waiting for video thread to exit
20:50:48 T:2760 NOTICE: thread end: video_thread
20:50:48 T:4000 NOTICE: deleting video codec
20:50:48 T:4000 NOTICE: CDVDPlayer::OnExit() deleting demuxer
20:50:48 T:4000 NOTICE: CDVDPlayer::OnExit() deleting input stream
20:50:48 T:3120 NOTICE: DVDPlayer: finished waiting
20:50:48 T:3120 NOTICE: CDVDPlayer::CloseFile()
20:50:48 T:3120 WARNING: CDVDMessageQueue(player):Tongueut MSGQ_NOT_INITIALIZED
20:50:48 T:3120 NOTICE: DVDPlayer: waiting for threads to exit
20:50:48 T:3120 NOTICE: DVDPlayer: finished waiting
20:50:49 T:748 NOTICE: RCB_INFO: start apply filter thread
20:50:49 T:4312 NOTICE: RCB_INFO: Begin applyFilters
20:50:49 T:748 NOTICE: RCB_INFO: onAction: 1
20:50:50 T:748 NOTICE: RCB_INFO: onAction: 1
20:50:50 T:748 NOTICE: RCB_INFO: onAction: 4
20:50:50 T:748 NOTICE: RCB_INFO: start apply filter thread
20:50:50 T:3324 NOTICE: RCB_INFO: Begin applyFilters
20:50:51 T:3324 NOTICE: RCB_INFO: Begin updateControls
20:50:51 T:3324 NOTICE: RCB_INFO: Begin showGenre
20:50:51 T:3324 NOTICE: RCB_INFO: Selected Console: 1
20:50:51 T:3324 NOTICE: RCB_INFO: begin showFilterControl: 600
20:50:51 T:3324 NOTICE: RCB_INFO: End showGenre
20:50:51 T:3324 NOTICE: RCB_INFO: Begin showYear
20:50:51 T:3324 NOTICE: RCB_INFO: Selected Console: 1
20:50:51 T:3324 NOTICE: RCB_INFO: begin showFilterControl: 700
20:50:51 T:3324 NOTICE: RCB_INFO: End showYear
20:50:51 T:3324 NOTICE: RCB_INFO: Begin showPublisher
20:50:51 T:3324 NOTICE: RCB_INFO: Selected Console: 1
20:50:51 T:3324 NOTICE: RCB_INFO: begin showFilterControl: 800
20:50:51 T:3324 ERROR: Exception in thread Thread-2:
Traceback (most recent call last):
File "C:\Program Files (x86)\XBMC\system\python\Lib\threading.py", line 532, in __bootstrap_inner
self.run()
File "C:\Program Files (x86)\XBMC\system\python\Lib\threading.py", line 484, in run
self.__target(*self.__args, **self.__kwargs)
File "C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 614, in applyFilters
self.updateControls(False, False, False)
File "C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 445, in updateControls
self.showPublisher(rcDelete, rDelete)
File "C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 509, in showPublisher
self.showFilterControl(rows, CONTROL_PUBLISHER, showEntryAllItems, rcDelete, rDelete)
File "C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\gui.py", line 535, in showFilterControl
items.append(xbmcgui.ListItem(str(row[util.ROW_NAME]), str(row[util.ROW_ID]), "", ""))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 11-12: ordinal not in range(128)
20:50:51 T:748 NOTICE: RCB_INFO: onAction: 4
20:50:51 T:748 NOTICE: RCB_INFO: start apply filter thread
20:50:51 T:4316 NOTICE: RCB_INFO: Begin applyFilters
20:50:53 T:748 NOTICE: RCB_INFO: onAction: 10
20:50:53 T:748 NOTICE: RCB_INFO: onAction: ACTION_CANCEL_DIALOG
20:50:53 T:748 NOTICE: RCB_INFO: exit
20:50:53 T:748 NOTICE: RCB_INFO: Begin saveViewState
20:50:53 T:748 NOTICE: RCB_INFO: Begin saveViewMode
20:50:53 T:748 NOTICE: RCB_INFO: End saveViewMode
20:50:53 T:748 NOTICE: RCB_INFO: Begin helper.saveViewState
20:50:53 T:748 NOTICE: RCB_INFO: End helper.saveViewState
20:50:53 T:748 NOTICE: RCB_INFO: End saveViewState
20:50:53 T:748 NOTICE: close Connection
20:50:53 T:3120 ERROR: CLocalizeStrings::ClearBlock: Trying to clear non existent block C:\Users\Twin Digits\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser
20:50:58 T:3120 ERROR: Previous line repeats 1 times.
20:50:58 T:3120 ERROR: Control 1 in window 10099 has been asked to focus, but it can't

I'll see if I canupload the complete log somewhere ...

You have any idea of the problems?
This is the complete log :

http://xbmclogs.com/show.php?id=2714


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2012-05-17

Damn. I see. It is the change that I made to support publisher / developer names like "989". It causes encoding issues with names with special characters. This was a stupid one Smile

I just uploaded version 1.0.4. This should fix the problem. Thanks again for testing for reporting.