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 - huzz456 - 2013-01-27

Hi

Im running windows 8 with Frodo RC3 and when I try and launch a game in solo mode it quits xbmc launches the game but also restarts xbmc straight away rather than waiting for the games to be closed. I cant seem to find any mention of anyone else having this problem. I put a timeout 3 in at the top and added "explorer" on the bottom line to fix the Capplication error which worked. I have the rom collection browser service running.

My applaunch.bat looks like this:

timeout 3
REM Is XBMC running?
taskkill /f /IM XBMC.exe
REM sleep
REM Launch app%*
REM sleep 1
REM Done?
REM Restart XBMC
EXPLORER "%PROGRAMFILES(x86)%\XBMC\XBMC.exe"


What am I doing wrong??


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

Thanks for the reply Malte,

When I enter that in Cmd the same thing happens, the rom loads up and then exits,

But when I load from the Mame interface it loads up fine,
Huh



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

Hi Malte. Thank you for RCB.
On to bug you then:
Image

At the middle of the command window you can see that the path to the emulator has too many slashes, both in the executable and the rom paths. I tried changing this manually inside RCB (edit rom collection - launch games - emulator cmd) but it doesn't allow for keyboard input and I have to browse to the proper path. What I tried was probably useless, but still, n00bs will be n00bs. So, what do you advise me to do?
Also, the xbmc error window that pops up after the error is not a big deal since I figure that once the main problem is solved, that will go away too, but if you know what log file I should check, I'dd appreciate it too.

Cheers.

Not sure you want to read this next part, so just skip it if you have the relevant information from the screenshot:
Windows 7 x64
Frodo RC3
MAMEplus 64 (launches games properly from command line if I do it manually)
Scraped properly from offline info (using emumovies utility and RCB wiki guide).
The video and alll artwork show properly and the games were all recognized.




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

Hi,

Ive discovered that my problem may be to do with the mame emulator im running,

I am using mameppkgui, when i switch and start to load up files using an official mame release some of them load,

Unfortunatly none of the CPS3 files will load with the official release,

This is not ok as i want to play third strike etc,

has anyone got this version of mame to work, or what mame do they use to play CPS3 files?


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

pecospete Wrote:Is there any way to make rcb's game list be persistent, making rcb load the game list virtually instantly? I seldom need to import/scrap new games, and having rcb take 2 or 3 three minutes to reload the mame games when you load rcb, or switch between filters in rcb is quite painful... It puts me off from actually _playing_ games.
Sorry, no. I don't think this is even possible with XBMCs interface (besides hard coding the lists in xml). The time that it takes to start up is depending on the skin and the view type. List views are much quicker than landscape view for example. Also you could filter some games when you got the list loaded and RCB should remember this selection when you launch it next time.

huzz456 Wrote:Im running windows 8 with Frodo RC3 and when I try and launch a game in solo mode it quits xbmc launches the game but also restarts xbmc straight away rather than waiting for the games to be closed. I cant seem to find any mention of anyone else having this problem. I put a timeout 3 in at the top and added "explorer" on the bottom line to fix the Capplication error which worked. I have the rom collection browser service running.

My applaunch.bat looks like this:
Try it with this one:
Code:
timeout 3
REM Is XBMC running?
taskkill /f /IM XBMC.exe
REM sleep
REM Launch app
%*
REM sleep 1
REM Done?
REM Restart XBMC
EXPLORER "%PROGRAMFILES(x86)%\XBMC\XBMC.exe"

pjbridger Wrote:When I enter that in Cmd the same thing happens, the rom loads up and then exits,

But when I load from the Mame interface it loads up fine,
Do you see any error messages in the console window?

gmvasco Wrote:At the middle of the command window you can see that the path to the emulator has too many slashes, both in the executable and the rom paths. I tried changing this manually inside RCB (edit rom collection - launch games - emulator cmd) but it doesn't allow for keyboard input and I have to browse to the proper path. What I tried was probably useless, but still, n00bs will be n00bs. So, what do you advise me to do?
You could try to disable escape emulator cmd in addon settings. This should get rid of the additional \.


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

Folks,


I'm having a problem, and I'm stumped for an answer.

A few things:

Ubuntu 12.10
Dell D630 Laptop.
EDEN (or Frodo...it doesn't make a difference)
xrandr display from laptop to television

I'm trying to setup RCB to launch mess, and then run a Sega Genesis emulator. I know that the emulator runs successfully, as I can do it from the command line without an issue.

However, once I've added my ROMS into RCB, I can't successfully launch anything.

I select the rom in question, and it says in the corner (launching NAME_OF_ROM) and then the screen goes black.

But there's where it stops.

I noticed that my remote control (Android) still seems to get results, audibly - I press on the buttons on the remote, and the audio from XBMC gives me the pleasing "you've just pressed a button" sound. It seems that although mess is running, XBMC doesn't relinquish control to the emulator.


Mess doesn't display. I've verified in the logs that mess is running, and sure enough, I can see mess running in the process list.


The only way out is to kill the mess binary from the command line. Once thats done, I'm returned to XBMC - although the rom doesn't run.

Here's the output in the xbmc.log:


Code:
13:40:15 T:140507237840640  NOTICE: RCB_DEBUG: onClick: 52
13:40:15 T:140507237840640  NOTICE: RCB_DEBUG: onClick: Launch Emu
13:40:15 T:140507237840640  NOTICE: RCB_INFO: Begin launchEmu
13:40:15 T:140507237840640  NOTICE: RCB_INFO: launching game with id: 1
13:40:15 T:140507237840640  NOTICE: RCB_INFO: Begin launcher.launchEmu
13:40:15 T:140507237840640  NOTICE: RCB_INFO: files for current game: [(u'/stuff/Emulation/Genesis/test/Game.zip',)]
13:40:15 T:140507237840640  NOTICE: RCB_INFO: launcher.buildCmd
13:40:15 T:140507237840640  NOTICE: RCB_INFO: emuCommandLine: /usr/games/mess
13:40:15 T:140507237840640  NOTICE: RCB_INFO: preCmdLine:
13:40:15 T:140507237840640  NOTICE: RCB_INFO: postCmdLine:
13:40:15 T:140507237840640  NOTICE: RCB_INFO: Getting Multiple Disc Parameter
13:40:15 T:140507237840640  NOTICE: RCB_INFO: emuParams: genesis -cart "%ROM%" -skip_gameinfo
13:40:15 T:140507237840640  NOTICE: RCB_INFO: rom: /stuff/Emulation/Genesis/test/Game.zip
13:40:15 T:140507237840640  NOTICE: RCB_INFO: Trying to delete temporary rom files
13:40:15 T:140507237840640  NOTICE: RCB_INFO: Treating file as a compressed archive
13:40:15 T:140507237840640  NOTICE: RCB_INFO: Archive only has one file inside; picking that one
13:40:15 T:140507237840640  NOTICE: RCB_INFO: Putting extracted file in /home/xbmc/.xbmc/userdata/addon_data/script.games.rom.collection.browser/tmp/Game.bin
13:40:15 T:140507237840640  NOTICE: RCB_INFO: No precmd created.
13:40:15 T:140507237840640  NOTICE: RCB_INFO: No postcmd created.
13:40:15 T:140507237840640  NOTICE: RCB_INFO: cmd: "/usr/games/mess" genesis -cart "/home/xbmc/.xbmc/userdata/addon_data/script.games.rom.collection.browser/tmp/Game" -skip_gameinfo
13:40:15 T:140507237840640  NOTICE: RCB_INFO: precmd:
13:40:15 T:140507237840640  NOTICE: RCB_INFO: postcmd:
13:40:15 T:140507237840640  NOTICE: RCB_INFO: launchEmu on non-xbox
13:40:15 T:140507237840640  NOTICE: RCB_INFO: screenMode: DVI1: 1920x1080 @ 60.00Hz
13:40:15 T:140507237840640  NOTICE: RCB_INFO: launch emu
13:40:16 T:140507237840640  NOTICE: RCB_INFO: onAction: 7
13:41:13 T:140507237840640  NOTICE: RCB_INFO: launch emu done
13:41:14 T:140507237840640  NOTICE: RCB_INFO: End launcher.launchEmu
13:41:14 T:140507237840640  NOTICE: RCB_INFO: End launchEmu

Thoughts? Confused






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

RCB was now added to Transifex. If anyone wants to help out translating RCB, here you will find the project: https://www.transifex.com/projects/p/xbmc-addons/resource/script-games-rom-collection-browser/. Thanks in advance.


@skippy39us: You could try solo mode. This is the easiest way to get around these issues.


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

(2013-01-29, 09:09)malte Wrote: RCB was now added to Transifex. If anyone wants to help out translating RCB, here you will find the project: https://www.transifex.com/projects/p/xbmc-addons/resource/script-games-rom-collection-browser/. Thanks in advance.


@skippy39us: You could try solo mode. This is the easiest way to get around these issues.

I can help with the Japanese if you want, Malte.


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

Tomkun Wrote:I can help with the Japanese if you want, Malte.
Of course I wantSmile


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

As an update, I have now remedied the problem by using a different version of mame,

My CPS3 files now boot into the loading screen, :/




[RELEASE] Rom Collection Browser - Browse and launch emulator game ROMs - huzz456 - 2013-01-29

huzz456 Wrote:Im running windows 8 with Frodo RC3 and when I try and launch a game in solo mode it quits xbmc launches the game but also restarts xbmc straight away rather than waiting for the games to be closed. I cant seem to find any mention of anyone else having this problem. I put a timeout 3 in at the top and added "explorer" on the bottom line to fix the Capplication error which worked. I have the rom collection browser service running.

My applaunch.bat looks like this:
Try it with this one:
Code:
timeout 3
REM Is XBMC running?
taskkill /f /IM XBMC.exe
REM sleep
REM Launch app
%*
REM sleep 1
REM Done?
REM Restart XBMC
EXPLORER "%PROGRAMFILES(x86)%\XBMC\XBMC.exe"


Unfortunately that hasn't helped, still doing the same thing?

I notice though that although it instantly relaunches xbmc into the rom collection browser if I then exit the browser it relaunches xbmc again to go back to main menu, not sure if that info is usefull?


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

(2013-01-29, 09:09)malte Wrote: RCB was now added to Transifex. If anyone wants to help out translating RCB, here you will find the project: https://www.transifex.com/projects/p/xbmc-addons/resource/script-games-rom-collection-browser/. Thanks in advance.


@skippy39us: You could try solo mode. This is the easiest way to get around these issues.

I will give Solo mode a try. Stay tuned!


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

If sleep settings are enabled in XBMC, it will put the computer to sleep while RCB has an emulator launched. Is there a way to fix the service to disable that while an emulator is launched?


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

(2013-01-29, 16:51)skippy39us Wrote:
(2013-01-29, 09:09)malte Wrote: RCB was now added to Transifex. If anyone wants to help out translating RCB, here you will find the project: https://www.transifex.com/projects/p/xbmc-addons/resource/script-games-rom-collection-browser/. Thanks in advance.


@skippy39us: You could try solo mode. This is the easiest way to get around these issues.

I will give Solo mode a try. Stay tuned!


Alright...I gave it a try - and its still not working.

Here's whats happening:

I edit the rom collection, and I select solo mode.
(I chmod +x the applaunch.sh) script

I go to launch the game.

XBMC goes away, and then seems to come back almost immediately, but this time, there's a black rectangle on portion of the the screen.

I thought that this rectangle was the emulator misbehaving. But i was wrong.

turns out that the black rectangle is ANOTHER instance of XBMC. A ps -ef yields another XBMC running. I kill that process, and I'm returned to the xbmc that was running originally.

Essentially, the first XBMC isn't exiting at all. Is this a common problem?

Why does this happen?

Is there more to running in solo mode than what I've described?

- Thanks



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

malte, if I could take a snippet of your time? Can you browse over to this thread of mine:

http://forum.xbmc.org/showthread.php?tid=153458

and comment if this is possible.

Thanks in advance!