djorgesen / romcollectionbrowser

Automatically exported from code.google.com/p/romcollectionbrowser
GNU General Public License v2.0
0 stars 0 forks source link

RCB seems to be working but emulator don't starts #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
RCB 1.0.8 on latest Raspbmc with Retropie Intalled from compiled binaries

When i click on a Mame Game I expect to see the emulator starting but nothing 
happens, starting from shell with the same command I see in the log 
("/usr/local/bin/retroarch" -L 
/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so 
"/home/pi/RetroPie/roms/mame/Games/1943.zip"
)works great and the game starts.

Same problem in Solo mode or normal.

You can see the log here.

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

Original issue reported on code.google.com by bocci...@gmail.com on 27 Nov 2012 at 9:20

GoogleCodeExporter commented 9 years ago
Can you try to disable "escape emulator cmd"?

Original comment by maloep on 30 Nov 2012 at 6:01

GoogleCodeExporter commented 9 years ago
It's already disabled, I tried to enable it but nothing changes.

Original comment by bocci...@gmail.com on 3 Dec 2012 at 7:58

GoogleCodeExporter commented 9 years ago

I modified Configuration of my collection in this way :

<emulatorCmd>"/usr/local/bin/retroarch -L 
/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so"</emulatorCmd>
<emulatorParams>"%ROM%"</emulatorParams>
<romPath>/home/pi/RetroPie/roms/mame/Games/*.zip</romPath>
<useEmuSolo>False</useEmuSolo>
<usePopen>True</usePopen>

And now i can see the process Retroarch starting with "top" but nothing seems 
to happen.

If I exit from xbmc I see the Mame screen "hit left/right to continue" but it 
doesn't feel keyboard keys.

Only way to continue it's to kill process from remote terminal.

this is the log: 
21:44:37 T:2933912640  NOTICE: RCB_DEBUG: onClick: 52
21:44:37 T:2933912640  NOTICE: RCB_DEBUG: onClick: Launch Emu
21:44:37 T:2933912640  NOTICE: RCB_INFO: Begin launchEmu
21:44:37 T:2933912640  NOTICE: RCB_INFO: launching game with id: 3
21:44:37 T:2933912640  NOTICE: RCB_INFO: Begin launcher.launchEmu
21:44:37 T:2933912640  NOTICE: RCB_INFO: files for current game: 
[(u'/home/pi/RetroPie/roms/mame/Games/1943.zip',)]
21:44:37 T:2933912640  NOTICE: RCB_INFO: launcher.buildCmd
21:44:37 T:2933912640  NOTICE: RCB_INFO: emuCommandLine: 
"/usr/local/bin/retroarch -L 
/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so"
21:44:37 T:2933912640  NOTICE: RCB_INFO: preCmdLine:
21:44:37 T:2933912640  NOTICE: RCB_INFO: postCmdLine:
21:44:37 T:2933912640  NOTICE: RCB_INFO: Getting Multiple Disc Parameter
21:44:37 T:2933912640  NOTICE: RCB_INFO: emuParams: "%ROM%"
21:44:37 T:2933912640  NOTICE: RCB_INFO: rom: 
/home/pi/RetroPie/roms/mame/Games/1943.zip
21:44:37 T:2933912640  NOTICE: RCB_INFO: No precmd created.
21:44:37 T:2933912640  NOTICE: RCB_INFO: No postcmd created.
21:44:37 T:2933912640  NOTICE: RCB_INFO: cmd: ""/usr/local/bin/retroarch -L 
/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so"" 
"/home/pi/RetroPie/roms/mame/Games/1943.zip"
21:44:37 T:2933912640  NOTICE: RCB_INFO: precmd:
21:44:37 T:2933912640  NOTICE: RCB_INFO: postcmd:
21:44:37 T:2933912640  NOTICE: RCB_INFO: launchEmu on non-xbox
21:44:37 T:2933912640  NOTICE: RCB_INFO: screenMode: 1280x1024 @ 60.00 - Full 
Screen
21:44:37 T:2933912640  NOTICE: RCB_INFO: Toggle to Windowed mode
21:44:37 T:2933912640  NOTICE: RCB_INFO: launch emu
21:44:37 T:2933912640  NOTICE: RCB_INFO: launch emu done
21:44:37 T:2933912640  NOTICE: RCB_INFO: Toggle to Full Screen mode
21:44:37 T:2933912640  NOTICE: RCB_INFO: End launcher.launchEmu
21:44:37 T:2933912640  NOTICE: RCB_INFO: End launchEmu
21:44:37 T:2933912640  NOTICE: RCB_INFO: onAction: 7

Original comment by bocci...@gmail.com on 3 Dec 2012 at 1:48

GoogleCodeExporter commented 9 years ago
Just one more hint: Try to change your config.xml like this:

<emulatorCmd>/usr/local/bin/retroarch</emulatorCmd>
<emulatorParams>-L 
"/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so" 
"%ROM%"</emulatorParams>

But to be honest, I don't think that will do the trick. I read a lot of people 
trying to get this working but nobody of them has been successful to get this 
working with XBMC (RCB oder Advanced Launcher).

I just ordered a Pi myself today. But I guess it will not be before next year 
when I am ready to test this myself.

Original comment by maloep on 3 Dec 2012 at 4:57

GoogleCodeExporter commented 9 years ago
I changed the config as you suggested but nothing changed.

Tried to add sudo initctl stop xbmc as precmd but I got xbmc stopped and 
nothing more

09:08:44 T:2935239696  NOTICE: RCB_DEBUG: onClick: 52
09:08:44 T:2935239696  NOTICE: RCB_DEBUG: onClick: Launch Emu
09:08:44 T:2935239696  NOTICE: RCB_INFO: Begin launchEmu
09:08:44 T:2935239696  NOTICE: RCB_INFO: launching game with id: 3
09:08:44 T:2935239696  NOTICE: RCB_INFO: Begin launcher.launchEmu
09:08:44 T:2935239696  NOTICE: RCB_INFO: files for current game: 
[(u'/home/pi/RetroPie/roms/mame/Games/1943.zip',)]
09:08:44 T:2935239696  NOTICE: RCB_INFO: launcher.buildCmd
09:08:44 T:2935239696  NOTICE: RCB_INFO: emuCommandLine: 
"/usr/local/bin/retroarch"
09:08:44 T:2935239696  NOTICE: RCB_INFO: preCmdLine: sudo initctl stop xbmc
09:08:44 T:2935239696  NOTICE: RCB_INFO: postCmdLine:
09:08:44 T:2935239696  NOTICE: RCB_INFO: Getting Multiple Disc Parameter
09:08:44 T:2935239696  NOTICE: RCB_INFO: emuParams: -L 
"/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so" "%ROM%"
09:08:44 T:2935239696  NOTICE: RCB_INFO: rom: 
/home/pi/RetroPie/roms/mame/Games/1943.zip
09:08:45 T:2935239696  NOTICE: RCB_INFO: No postcmd created.
09:08:45 T:2935239696  NOTICE: RCB_INFO: cmd: ""/usr/local/bin/retroarch"" -L 
"/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so" 
"/home/pi/RetroPie/roms/mame/Games/1943.zip"
09:08:45 T:2935239696  NOTICE: RCB_INFO: precmd: sudo initctl stop xbmc
09:08:45 T:2935239696  NOTICE: RCB_INFO: postcmd:
09:08:45 T:2935239696  NOTICE: RCB_INFO: launchEmu on non-xbox
09:08:45 T:2935239696  NOTICE: RCB_INFO: screenMode: 1280x1024 @ 60.00 - Full 
Screen
09:08:45 T:2935239696  NOTICE: RCB_INFO: Toggle to Windowed mode
09:08:45 T:2935239696  NOTICE: RCB_INFO: launch emu
09:08:45 T:2935239696  NOTICE: RCB_INFO: Got to PRE

adding the command as POSTCmd i got retroarch process starting but video always 
remains in xbmc, killing retroarch xbmc closes as it should do... 

09:12:45 T:2934891536  NOTICE: RCB_DEBUG: getFilesByControl developerId: 2
09:12:45 T:2934891536  NOTICE: RCB_DEBUG: getFilesByControl romCollectionId: 1
09:12:45 T:2934891536  NOTICE: RCB_DEBUG: fileType: developer
09:12:45 T:2934891536  NOTICE: RCB_DEBUG: parentId: 2
09:12:45 T:2934891536  NOTICE: RCB_DEBUG: files == None in getFilesByControl
09:12:45 T:2934891536  NOTICE: RCB_DEBUG: end loadGameInfos
09:12:45 T:2934891536  NOTICE: RCB_INFO: End showGameInfo
09:12:45 T:2934891536  NOTICE: RCB_INFO: End loadViewState
09:12:45 T:2934891536  NOTICE: RCB_INFO: End onInit
09:12:45 T:2934891536  NOTICE: RCB_DEBUG: onFocus: 52
09:12:56 T:2934891536  NOTICE: RCB_DEBUG: onClick: 52
09:12:56 T:2934891536  NOTICE: RCB_DEBUG: onClick: Launch Emu
09:12:56 T:2934891536  NOTICE: RCB_INFO: Begin launchEmu
09:12:56 T:2934891536  NOTICE: RCB_INFO: launching game with id: 3
09:12:56 T:2934891536  NOTICE: RCB_INFO: Begin launcher.launchEmu
09:12:56 T:2934891536  NOTICE: RCB_INFO: files for current game: 
[(u'/home/pi/RetroPie/roms/mame/Games/1943.zip',)]
09:12:56 T:2934891536  NOTICE: RCB_INFO: launcher.buildCmd
09:12:56 T:2934891536  NOTICE: RCB_INFO: emuCommandLine: 
"/usr/local/bin/retroarch"
09:12:56 T:2934891536  NOTICE: RCB_INFO: preCmdLine:
09:12:56 T:2934891536  NOTICE: RCB_INFO: postCmdLine: sudo initctl stop xbmc
09:12:56 T:2934891536  NOTICE: RCB_INFO: Getting Multiple Disc Parameter
09:12:56 T:2934891536  NOTICE: RCB_INFO: emuParams: -L 
"/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so" "%ROM%"
09:12:56 T:2934891536  NOTICE: RCB_INFO: rom: 
/home/pi/RetroPie/roms/mame/Games/1943.zip
09:12:56 T:2934891536  NOTICE: RCB_INFO: No precmd created.
09:12:57 T:2934891536  NOTICE: RCB_INFO: cmd: ""/usr/local/bin/retroarch"" -L 
"/home/pi/RetroPie/emulatorcores/imame4all-libretro/libretro.so" 
"/home/pi/RetroPie/roms/mame/Games/1943.zip"
09:12:57 T:2934891536  NOTICE: RCB_INFO: precmd:
09:12:57 T:2934891536  NOTICE: RCB_INFO: postcmd: sudo initctl stop xbmc
09:12:57 T:2934891536  NOTICE: RCB_INFO: launchEmu on non-xbox
09:12:57 T:2934891536  NOTICE: RCB_INFO: screenMode: 1280x1024 @ 60.00 - Full 
Screen
09:12:57 T:2934891536  NOTICE: RCB_INFO: Toggle to Windowed mode
09:12:57 T:2934891536  NOTICE: RCB_INFO: launch emu
09:12:57 T:2934891536  NOTICE: RCB_INFO: launch emu done
09:12:57 T:2934891536  NOTICE: RCB_INFO: Got to POST: sudo initctl stop xbmc

Maybe we have to wait until you get your Raspberry... :P

Original comment by bocci...@gmail.com on 4 Dec 2012 at 9:43

GoogleCodeExporter commented 9 years ago

Original comment by maloep on 13 Dec 2012 at 12:00

GoogleCodeExporter commented 9 years ago

Original comment by maloep on 22 Dec 2012 at 12:43