2012-06-25, 14:03
(2012-06-25, 07:31)malte Wrote:oneadvent Wrote:I am trying to get a gameboy emulator that is made for RPi to work via this plugin. Now I had it KINDA working on RC1 with Raspbmc but I upgraded to RC3 and now it crashes and I can't seem to find output to know what happened.What exactly crashes? XBMC, RCB or the emulator?
From the log I can't see any errors. It just looks like the emulator is not launched. But you don't use the above file. You need to activate solo mode for this emulator to make sure the file applaunch.sh gets executed. Maybe this is the error?
In applaunch.sh you do not need the $ before the start command. This was just used in the original file to resolve the variable XBMC_BIN. Also if the above file is your complete applaunch.sh you are missing the part where XBMC_BIN and XBMC_PID are initialized.
To find out why it is not working without applaunch.sh you could try to run this command from a shell:
This should give you some output to the shell.Code:"/home/pi/emulator/gcat-gameboy-1.0/gameboy" "/home/pi/emulator/gcat-gameboy-1.0/ROMS/Super Mario Land.gb"
Well it seems as if xbmc is restarted. I get the Raspbmc logo and then back to the desktop. Maybe that is the first part of the script working, then it tries to emulate, fails and starts xbmc back up? What is solo mode?
I did not post the whole applaunch.sh because I didn't change the first part, I manually ran those commands and it seems to work fine.
I will try and run it manually next. Frankly I'm not sure how to get a local terminal window on Raspbmc, only SSH, but i'll figure that out and report back.
Thanks for taking a look!