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 - teeedubb - 2013-01-07

(2013-01-06, 10:52)malte Wrote: @teeedubb: Ok, found it. It is a mixture of a bug in RCB and your configuration. There was an error in updating an old config.xml structure to a new one and because of that there are some MAME specific infos missing in your config.xml file.

I also fixed the bug in RCB but as this is a really special one I guess it is ok to put it in one of the next releases. If you have issues adding these line just let me know.

Thanks once again malte, that has fixed it. Games are importing now.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - teeedubb - 2013-01-07

Hmmm Im experiencing some strange behavior - I have a pulse eight cec adapter, which when xbmc displays a popup saying 'Puse-eight cec adapter connected' and the notify.wav sound is played. When the popup disappears and the out.wav sound is played RCB's item list number in the bottom right corner starts from 0 again and will only display the roms loaded after the popup (eg from the letter K onwards, not showing 0-J). This happens with the 2 rom collections i tried it on, but is most apparent with mame due to the large amount of roms. If I open RCB after the popup the roms load ok. Ive had a look through my log file but I cant find anything. There is not setting in the cec adapter to disable to popup.

https://dl.dropbox.com/u/22410524/xbmc%20%282%29.zip

(Ive put the logfile in a zip file on dropbox because both pastebin and xbmclogs dont like the 8mb logfile)





RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - rob hodge - 2013-01-07

I've gotten a workaround hack in place for my not getting focus to the emulator.

I wrote this simple 4-line launcher script.

Code:
#!/bin/bash
openbox &
mednafen -fs 1 "$1"
kill %1

what this does is launch a window manager (openbox) in the background.
then open mednafen, taking the rom name passed to the script and passing it thru to mednafen. mednafen gets focus.
once mednafen exits, it kills openbox.

it's definitely a hack, but it works. might also work in other situations with focus issues. works in non-solo mode.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-07

New test version available: 1.1.2

List of changes:

General:
  • bugfix: asking for Platform "Other" did not work in Add Rom Collection wizard
  • bugfix: no error message was shown after Add Rom Collection wizard
  • bugfix: old config.xml structure was not updated with MAME imageplacing options
Browse Games:
  • bugfix: issues with browsing games in Aeon Nox and Frodo RC3
Launch Games:
  • bugfix: using correct json command to toggle fullscreen
  • bugfix: backward compatibility for fullscreen toggle
  • new settings: pre- and post-launch delay

I hope this one should get rid of the latest reported issues. The weird background process that clears the game list every x minutes still remains.

Edit: And thanks to Angelscry from Advanced Launcher for giving me some inspiration for the game launching fixes Wink

Previous version: 1.1.1


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - e2zippo - 2013-01-07

(2013-01-07, 20:09)malte Wrote: New test version available: 1.1.2

List of changes:

General:
  • bugfix: asking for Platform "Other" did not work in Add Rom Collection wizard
  • bugfix: no error message was shown after Add Rom Collection wizard
  • bugfix: old config.xml structure was not updated with MAME imageplacing options
Browse Games:
  • bugfix: issues with browsing games in Aeon Nox and Frodo RC3
Launch Games:
  • bugfix: using correct json command to toggle fullscreen
  • bugfix: backward compatibility for fullscreen toggle
  • new settings: pre- and post-launch delay

I hope this one should get rid of the latest reported issues. The weird background process that clears the game list every x minutes still remains.

Edit: And thanks to Angelscry from Advanced Launcher for giving me some inspiration for the game launching fixes Wink

Previous version: 1.1.1

That was f***ing fast malte, thanks a lot, will give it a go this instant!

Edit: just tried a couple of things out, and returning to XBMC after quitting a game still isn't working correctly, now when I launch a game, XBMC goes from fullscreen to windows just before the emulator launches, and then when I quit the game I do end up in XBMC, but now it's windowed.

The load issue in Nox is gone, great! However, I'm having some trouble with videos still.

In Aeon Nox, I can't get any video to play, sound works though.

The log looks lite this when I try to play a video.

Code:
23:13:17 T:5600   ERROR: C:\Users\e2-htpc\AppData\Roaming\XBMC\addons\script.games.rom.collection.browser\resources\lib\dialoggameinfo.py:31: DeprecationWarning: object.__init__() takes no parameters
                                              xbmcgui.WindowXMLDialog.__init__( self, *args, **kwargs )
23:13:17 T:5600  NOTICE: RCB_INFO: Init GameInfoView
23:13:17 T:5600  NOTICE: RCB_INFO: Begin OnInit
23:13:17 T:5600  NOTICE: RCB_INFO: Begin showGameList
23:13:17 T:5600  NOTICE: RCB_INFO: End showGameList
23:13:17 T:5600  NOTICE: RCB_INFO: Begin showGameInfo
23:13:18 T:5600  NOTICE: RCB_INFO: End showGameInfo
23:13:18 T:5600  NOTICE: RCB_INFO: End OnInit
23:13:20 T:5548  NOTICE: DVDPlayer: Opening: C:\Spel\Nestopia\Cover & FanArt Nes\videos\Video_MP4_HI_QUAL\Aladdin (E) [!].mp4
23:13:20 T:5548 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:13:20 T:5588  NOTICE: Thread CDVDPlayer start, auto delete: false
23:13:20 T:5588  NOTICE: Creating InputStream
23:13:20 T:5588  NOTICE: Creating Demuxer
23:13:20 T:5588  NOTICE: Opening video stream: 0 source: 256
23:13:20 T:5588  NOTICE: Creating video codec with codec id: 28
23:13:20 T:5588  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
23:13:20 T:5588  NOTICE: Creating video thread
23:13:20 T:5588  NOTICE: Opening audio stream: 1 source: 256
23:13:20 T:5588  NOTICE: Finding audio codec for: 86018
23:13:20 T:5260  NOTICE: Thread CDVDPlayerVideo start, auto delete: false
23:13:20 T:5260  NOTICE: running thread: video_thread
23:13:20 T:5588  NOTICE: Creating audio thread
23:13:20 T:3968  NOTICE: Thread CDVDPlayerAudio start, auto delete: false
23:13:20 T:3968  NOTICE: running thread: CDVDPlayerAudio::Process()
23:13:20 T:3968  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
23:13:20 T:5260  NOTICE:  fps: 30.000000, pwidth: 640, pheight: 480, dwidth: 640, dheight: 480
23:13:20 T:5260  NOTICE: Display resolution ADJUST : 1920x1080 @ 60.00 - Full Screen (16) (weight: 0.000)
23:13:20 T:5260  NOTICE: D3D: rendering method forced to DXVA2 processor
23:13:22 T:5548  NOTICE: DVDPlayer: Opening: C:\Spel\Nestopia\Cover & FanArt Nes\videos\Video_MP4_HI_QUAL\Aladdin (E) [!].mp4
23:13:22 T:5548  NOTICE: CDVDPlayer::CloseFile()
23:13:22 T:5548  NOTICE: DVDPlayer: waiting for threads to exit
23:13:22 T:5588  NOTICE: CDVDPlayer::OnExit()
23:13:22 T:5588  NOTICE: DVDPlayer: closing audio stream
23:13:22 T:5588  NOTICE: Closing audio stream
23:13:22 T:5588  NOTICE: Waiting for audio thread to exit
23:13:22 T:3968  NOTICE: thread end: CDVDPlayerAudio::OnExit()
23:13:22 T:5588  NOTICE: Closing audio device
23:13:22 T:5588  NOTICE: Deleting audio codec
23:13:22 T:5588  NOTICE: DVDPlayer: closing video stream
23:13:22 T:5588  NOTICE: Closing video stream
23:13:22 T:5588  NOTICE: waiting for video thread to exit
23:13:22 T:5260  NOTICE: thread end: video_thread
23:13:22 T:5588  NOTICE: deleting video codec
23:13:22 T:5588  NOTICE: CDVDPlayer::OnExit() deleting demuxer
23:13:22 T:5588  NOTICE: CDVDPlayer::OnExit() deleting input stream
23:13:22 T:5548  NOTICE: DVDPlayer: finished waiting
23:13:22 T:5548 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
23:13:22 T:3844  NOTICE: Thread CDVDPlayer start, auto delete: false
23:13:22 T:3844  NOTICE: Creating InputStream
23:13:22 T:3844  NOTICE: Creating Demuxer
23:13:22 T:3844  NOTICE: Opening video stream: 0 source: 256
23:13:22 T:3844  NOTICE: Creating video codec with codec id: 28
23:13:22 T:3844  NOTICE: CDVDVideoCodecFFmpeg::Open() Using codec: H.264 / AVC / MPEG-4 AVC / MPEG-4 part 10
23:13:22 T:3844  NOTICE: Creating video thread
23:13:22 T:3844  NOTICE: Opening audio stream: 1 source: 256
23:13:22 T:3844  NOTICE: Finding audio codec for: 86018
23:13:22 T:2356  NOTICE: Thread CDVDPlayerVideo start, auto delete: false
23:13:22 T:2356  NOTICE: running thread: video_thread
23:13:22 T:3844  NOTICE: Creating audio thread
23:13:22 T:4708  NOTICE: Thread CDVDPlayerAudio start, auto delete: false
23:13:22 T:4708  NOTICE: running thread: CDVDPlayerAudio::Process()
23:13:22 T:4708  NOTICE: Creating audio stream (codec id: 86018, channels: 2, sample rate: 48000, no pass-through)
23:13:22 T:2356  NOTICE:  fps: 30.000000, pwidth: 640, pheight: 480, dwidth: 640, dheight: 480
23:13:22 T:2356  NOTICE: Display resolution ADJUST : 1920x1080 @ 60.00 - Full Screen (16) (weight: 0.000)
23:13:22 T:2356  NOTICE: D3D: rendering method forced to DXVA2 processor


And I just can't get my SNES collection to load videos, I've imported the videos which are located in

C:\Spel\Snes9x Win32\Cover & FanArt Snes\videos\Video_MP4_HI_QUAL

But somehow, RCB uses my fanart path for videos.

This is what I get in the log

Code:
22:58:54 T:5548  NOTICE: DVDPlayer: Opening: C:\Spel\Snes9x Win32\Cover & FanArt Snes\fanart\ActRaiser (U) [!].jpg
22:58:54 T:5548 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:58:54 T:3460  NOTICE: Thread CDVDPlayer start, auto delete: false
22:58:54 T:3460  NOTICE: Creating InputStream
22:58:54 T:3460  NOTICE: Creating Demuxer
22:58:54 T:3460 WARNING: could not find codec parameters for C:\Spel\Snes9x Win32\Cover & FanArt Snes\fanart\ActRaiser (U) [!].jpg
22:58:54 T:3460   ERROR: CDVDPlayer::OpenDemuxStream - Error creating demuxer
22:58:54 T:3460  NOTICE: CDVDPlayer::OnExit()
22:58:54 T:3460  NOTICE: CDVDPlayer::OnExit() deleting input stream
22:58:54 T:5548   ERROR: XBMC.PlayMedia could not play media: C:\Spel\Snes9x Win32\Cover & FanArt Snes\fanart\ActRaiser (U) [!].jpg
22:58:54 T:5548  NOTICE: CDVDPlayer::CloseFile()
22:58:54 T:5548 WARNING: CDVDMessageQueue(player)::Put MSGQ_NOT_INITIALIZED
22:58:54 T:5548  NOTICE: DVDPlayer: waiting for threads to exit
22:58:54 T:5548  NOTICE: DVDPlayer: finished waiting

It looks like my "gameplay video path" is set to "C:\Spel\Snes9x Win32\Cover & FanArt Snes\fanart\" but it's not, it's set to

C:\Spel\Snes9x Win32\Cover & FanArt Snes\videos\Video_MP4_HI_QUAL

I tried removing the video path and re-enter it, and then import again with local artwork, but it still tries to play jpg-files from my fanart path.

Also, how do I play the videos in fullscren in Aeon Nox, is that a skin setting or does RCB control it, I can't even find a way to do to it in confluence, I know Aeon MQ4 had it before.

Cheers malte, sorry for not ever beeing satisfied Tongue




RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-09

teeedubb Wrote:I have a pulse eight cec adapter, which when xbmc displays a popup saying 'Puse-eight cec adapter connected' and the notify.wav sound is played. When the popup disappears and the out.wav sound is played RCB's item list number in the bottom right corner starts from 0 again and will only display the roms loaded after the popup (eg from the letter K onwards, not showing 0-J). This happens with the 2 rom collections i tried it on, but is most apparent with mame due to the large amount of roms. If I open RCB after the popup the roms load ok. Ive had a look through my log file but I cant find anything. There is not setting in the cec adapter to disable to popup.
Never heard this before. When do these popups come up? Just once when XBMC starts or do they pop up frequently?

rob hodge Wrote:I've gotten a workaround hack in place for my not getting focus to the emulator.

I wrote this simple 4-line launcher script.
Thanks for finding out and sharing. I will have a play with XBMCbuntu in the next days/weeks. If I don't find another way I will use this as the recommended workaround.

' Wrote:Edit: just tried a couple of things out, and returning to XBMC after quitting a game still isn't working correctly, now when I launch a game, XBMC goes from fullscreen to windows just before the emulator launches, and then when I quit the game I do end up in XBMC, but now it's windowed.
Damn, I did not see your edit. Can't reproduce this issue here but maybe I have an idea. Are you using Popen to launch the games? Could you disable this option just to try if this works better?

I will check the other issues too. Thanks for your continuous reports Smile



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - e2zippo - 2013-01-09

(2013-01-09, 09:58)malte Wrote: Damn, I did not see your edit. Can't reproduce this issue here but maybe I have an idea. Are you using Popen to launch the games? Could you disable this option just to try if this works better?

I will check the other issues too. Thanks for your continuous reports Smile

I'm not using popen actually Confused




RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-09

Can you show me the log after you launched a game?


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - e2zippo - 2013-01-09

(2013-01-09, 11:52)malte Wrote: Can you show me the log after you launched a game?

Sure, with debug on or off?



RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-09

I guess off will suffice.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - e2zippo - 2013-01-09

(2013-01-09, 11:59)malte Wrote: I guess off will suffice.

Alright, I'll fix it later today, thanks!




RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-09

e2zippo Wrote:In Aeon Nox, I can't get any video to play, sound works though.
Sorry, no idea. I compared a log of playing video in Aeon Nox with one of playing video in Confluence and they are 100% identical. No idea why it isn't shown. But thats a skin issue, nothing related to RCB. I may have a look myself when all RCB issues are sorted out or wait until the Aeon Nox guys may have time to look into it.

e2zippo Wrote:It looks like my "gameplay video path" is set to "C:\Spel\Snes9x Win32\Cover & FanArt Snes\fanart\" but it's not, it's set to

C:\Spel\Snes9x Win32\Cover & FanArt Snes\videos\Video_MP4_HI_QUAL

I tried removing the video path and re-enter it, and then import again with local artwork, but it still tries to play jpg-files from my fanart path.
Maybe there is something wrong with your artwork ids. Do you have the chance to upload your config.xml and MyGames.db somewhere?

e2zippo Wrote:Also, how do I play the videos in fullscren in Aeon Nox, is that a skin setting or does RCB control it, I can't even find a way to do to it in confluence, I know Aeon MQ4 had it before.
Just press "Play" on your remote or "Space" on you keyboard.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - User 134278 - 2013-01-10

I am experiencing some strange behavior with Rom Collection Browser on Xbian. I have successfully set this up on two PC's before so I "feel" I know what I am doing. But alas.... here I am.

When trying to import my ROM collection I am asked to select my emulator file location. Fair enough. But it will not allow me to move to a different directory. There is no visible "..", right click, ESC & Backspace all exit the Import operation.

What do I appear to be doing wrong? Sad


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - malte - 2013-01-10

fairplay89 Wrote:When trying to import my ROM collection I am asked to select my emulator file location. Fair enough. But it will not allow me to move to a different directory. There is no visible "..", right click, ESC & Backspace all exit the Import operation.
Maybe you have to add the path to your emulators (or the complete drive of your programs and/or data) via XBMC file manager.


RE: [RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - tardoman - 2013-01-11

I'm running Frodo RC3 on Windows 7 with RCB 1.1.2, and I've run into a small quirk it would seem using solo mode with Aeon Nox. I'm using solo mode to launch some PC games, and it seems to work for the most part. XBMC launches when you close the game, but when returning from solo mode many of my backgrounds do not appear, widgets are missing information, and many of the main menu items simply do not work. Choosing quit from the shutdown dialog causes XBMC to freeze. I noticed that while XBMC is starting back up when returning from solo mode that a screen with blank menu boxes appears for a brief moment before the main menu appears.

The next time I launch XBMC everything is back to normal, and I don't see the screen with blank menu boxes before the main menu appears. Now I'm not sure if this is skin problem or related to RCB, but disabling the RCB service seems to resolve this problem. XBMC still restarts after closing the PC game, and seems to be fully functional.

Thanks for your hard work malte.