[GUIDE] How to use XBMC as a game/emulation frontend.

reifnotreef

New member
Jan 25, 2014
4
1
0
You are awesome!

Hey everyone,

I got my Ouya at Target last week, I had almost completely forgot about it(didn't kickstart back it) until I saw it there. Ended up impulse buying it knowing there would be at least some good games for it, at the very least I could use a side loaded XBMC or something to use it as a media computer for my tv.

Found this thread the other day and started working on it. Having some trouble with getting the emu's working correctly but I just need to go through the launcher/RCB setup and check all my files. I'm actually using a chromebook as my full time computer. I have Ubuntu installed on here that I just chroot into to run ADB/fastboot etc and it's working great.

Any word on updates to this? It would be epic if someone could put together an APK or something that could be sideloaded that had a pre-configured XBMC+RCB(pretty sure RCB is preferred by most people). Just have it setup for like the top 5 emu's and post instructions on where to put roms etc.

I was hoping you could post the config for SuperGNES(one of the ouya store's SNES emus)
And for other emu's, how do I know if I use the root or non-root version? For example: Mupen64Plus


And I wanted to say thank you so much for your work on the Ouya Incognito!
You have made my $160 investment much more worth it! I've been playing You Dont Know Jack and Super Mario World/SMB3 with my girlfriend haha!

Finally logged into XDA, google sign in ftw.
 

IncognitoMan

Senior Member
Jul 2, 2013
132
209
0
Hey everyone,

I got my Ouya at Target last week, I had almost completely forgot about it(didn't kickstart back it) until I saw it there. Ended up impulse buying it knowing there would be at least some good games for it, at the very least I could use a side loaded XBMC or something to use it as a media computer for my tv.

Found this thread the other day and started working on it. Having some trouble with getting the emu's working correctly but I just need to go through the launcher/RCB setup and check all my files. I'm actually using a chromebook as my full time computer. I have Ubuntu installed on here that I just chroot into to run ADB/fastboot etc and it's working great.

Any word on updates to this? It would be epic if someone could put together an APK or something that could be sideloaded that had a pre-configured XBMC+RCB(pretty sure RCB is preferred by most people). Just have it setup for like the top 5 emu's and post instructions on where to put roms etc.

I was hoping you could post the config for SuperGNES(one of the ouya store's SNES emus)
And for other emu's, how do I know if I use the root or non-root version? For example: Mupen64Plus


And I wanted to say thank you so much for your work on the Ouya Incognito!
You have made my $160 investment much more worth it! I've been playing You Dont Know Jack and Super Mario World/SMB3 with my girlfriend haha!

Finally logged into XDA, google sign in ftw.
malte ( the dev of RCB ) said he would look into including fixes required to get it so you don't have to do the code changes to make RCB work on android. So atleast when he *does* include them it'll be less work to get RCB functional.

in terms of SuperGNES I do not have the full version...however I guess to get the full version working just remove "_lite" from the command...

SuperGNES lite:

non-root:
start -n com.bubblezapgames.supergnes_lite/.SuperGNES -a android.intent.action.VIEW -eu Uri "file://%rom%"

In terms of non-root vs root versions of the commands... in example of Mupen the difference is application selection ( am or su ) and what the command does.

For the non-root command it simply loads the emulator and menu with the correctly selected rom ( of which then you'll have to select play and then choose whether to resume or restart )

For the root command it does the same as above except after it has selected the rom it'll force reload the emu to its "play" menu from which you'll either select resume or restart.

Basically the root one will remove one step... and that is going from emulator menu -> play -> resume/restart
 

Techhead33

New member
Jan 24, 2014
3
0
0
Found another way

Should work as long as the command is passed correctly... sounds like its not finding the rom...

could you tell me where you are pointing your the roms folder? ( maybe paste the config for snes? )
Hey IncognitoMan thank you for the response. I have found a post in another forum that allowed me to mount my roms directly with busybox / nfs so now it is access by all of the apps in my ouya so now I do not have an issue...

Thank you
 

IncognitoMan

Senior Member
Jul 2, 2013
132
209
0
Hey IncognitoMan thank you for the response. I have found a post in another forum that allowed me to mount my roms directly with busybox / nfs so now it is access by all of the apps in my ouya so now I do not have an issue...

Thank you
Ah glad to hear.

On another note massively updated the 3rd post's emulator args to include a lot more emulators... now up to 27

A note in regards to PPSSPP... you must use a development build >= Jan 6th for it to work... you can grab the latest build here http://www.ppsspp.org/downloads.html#devbuilds
 

1995mkw

New member
Jan 14, 2014
4
0
0
Ah glad to hear.

On another note massively updated the 3rd post's emulator args to include a lot more emulators... now up to 27

A note in regards to PPSSPP... you must use a development build >= Jan 6th for it to work... you can grab the latest build here
Wait. What? you found out a way to get PPSSPP working? Brilliant. This is why I keep checking this thread every couple of days. Things keep getting better and better.

I'm going to have to get an external HDD because 8gb is defiantly not enough for all the games Im going to put on this thing.

Also what skin are you using for RCB? It looks snazzy. Kinda reminds me of alaska.
 

IncognitoMan

Senior Member
Jul 2, 2013
132
209
0
Wait. What? you found out a way to get PPSSPP working? Brilliant. This is why I keep checking this thread every couple of days. Things keep getting better and better.

I'm going to have to get an external HDD because 8gb is defiantly not enough for all the games Im going to put on this thing.

Also what skin are you using for RCB? It looks snazzy. Kinda reminds me of alaska.
Skin is arctic mk ii found here: http://forum.xbmc.org/showthread.php?tid=170954

Works great on frodo but when I tried it on gotham it killed my gotham setup. YMMV

Speaking of gotham... if you plan to use RCB with gotham and use a skin that causes RCB to go into its "fallback" mode it'll crash XBMC.
 
  • Like
Reactions: 1995mkw

jahjah440

Senior Member
Apr 30, 2011
196
45
0
Could you tell me what you tried? ( maybe post your config? )

Give as much detail as possible so I can figure out what the problem may be.
Ok, I'm not using an OUYA, but that shouldn't really make a difference, right?
Anyway, I'm trying to use Rom Collection Browser. I think I'm following your directions, but I found that most of the code you have posted is already in the files?

I've got it set up, and the album art is downloaded and everything, but when I click the ROM, nothing happens. I've set it up using SuperGNES too. I'll post the config.xml (that's what you want, right?) in a few.
 

IncognitoMan

Senior Member
Jul 2, 2013
132
209
0
Ok, I'm not using an OUYA, but that shouldn't really make a difference, right?
Anyway, I'm trying to use Rom Collection Browser. I think I'm following your directions, but I found that most of the code you have posted is already in the files?

I've got it set up, and the album art is downloaded and everything, but when I click the ROM, nothing happens. I've set it up using SuperGNES too. I'll post the config.xml (that's what you want, right?) in a few.
Did you comment out and modify the lines in applaunch.sh and launcher.py as with what the guide says? and yes post the config.xml ( and/or applaunch.sh and launcher.py just incase. )
 

jahjah440

Senior Member
Apr 30, 2011
196
45
0
Did you comment out and modify the lines in applaunch.sh and launcher.py as with what the guide says? and yes post the config.xml ( and/or applaunch.sh and launcher.py just incase. )
I keep getting error: Error :script.games.rom.collection.browser

I don't think I'm commenting out properly or something. I've attached all three files below
 

Attachments

Last edited:

Groty

New member
Jul 4, 2013
3
0
0
Hey IncognitoMan thank you for the response. I have found a post in another forum that allowed me to mount my roms directly with busybox / nfs so now it is access by all of the apps in my ouya so now I do not have an issue...

Thank you
Can you post a link to the post? I'm guessing you are able to load ROMS from a network share now? Something I've been trying to figure out how to do for a long time. CIFs Manager never worked for me.
 

IncognitoMan

Senior Member
Jul 2, 2013
132
209
0
I keep getting error: Error :script.games.rom.collection.browser

I don't think I'm commenting out properly or something. I've attached all three files below
You are only commenting out the first line... you'll need to comment out the entire block.

So for example this:
Code:
		if(isFullScreen):
			Logutil.log("Toggle to Windowed mode", util.LOG_LEVEL_INFO)
			#this minimizes xbmc some apps seems to need it
			try:
				xbmc.executehttpapi("Action(199)")
			except:
				xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}')
			
			toggledScreenMode = True
Becomes:
Code:
#		if(isFullScreen):
#			Logutil.log("Toggle to Windowed mode", util.LOG_LEVEL_INFO)
#			#this minimizes xbmc some apps seems to need it
#			try:
#				xbmc.executehttpapi("Action(199)")
#			except:
#				xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}')
#			
#			toggledScreenMode = True
 

jahjah440

Senior Member
Apr 30, 2011
196
45
0
You are only commenting out the first line... you'll need to comment out the entire block.

So for example this:
Code:
		if(isFullScreen):
			Logutil.log("Toggle to Windowed mode", util.LOG_LEVEL_INFO)
			#this minimizes xbmc some apps seems to need it
			try:
				xbmc.executehttpapi("Action(199)")
			except:
				xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}')
			
			toggledScreenMode = True
Becomes:
Code:
#		if(isFullScreen):
#			Logutil.log("Toggle to Windowed mode", util.LOG_LEVEL_INFO)
#			#this minimizes xbmc some apps seems to need it
#			try:
#				xbmc.executehttpapi("Action(199)")
#			except:
#				xbmc.executeJSONRPC('{"jsonrpc":"2.0","method":"Input.ExecuteAction","params":{"action":"togglefullscreen"},"id":"1"}')
#			
#			toggledScreenMode = True
Urggg... I'm pretty sure I commented out properly this time. But when I click the ROM, it just says: Launch Super Mario World for about one second! But thank you for your help so far!
 

Attachments

IncognitoMan

Senior Member
Jul 2, 2013
132
209
0
Urggg... I'm pretty sure I commented out properly this time. But when I click the ROM, it just says: Launch Super Mario World for about one second! But thank you for your help so far!
Everything looks okay so far... the only thing I could see that's even remotely possible is that either it needs to be %ROM% or that the zip you are pointing to doesn't work with supergnes lite

Can you try launching the command from adb shell? so for you it'd be:

Code:
am start -n com.bubblezapgames.supergnes_lite/.SuperGNES -a android.intent.action.VIEW -eu Uri "file:///mnt/sdcard/ROMS/SNES/putnameofrom.zip"
Where putnameofrom.zip is the game you are trying to load and tell me if that works.
 

jahjah440

Senior Member
Apr 30, 2011
196
45
0
Everything looks okay so far... the only thing I could see that's even remotely possible is that either it needs to be %ROM% or that the zip you are pointing to doesn't work with supergnes lite

Can you try launching the command from adb shell? so for you it'd be:

Code:
am start -n com.bubblezapgames.supergnes_lite/.SuperGNES -a android.intent.action.VIEW -eu Uri "file:///mnt/sdcard/ROMS/SNES/putnameofrom.zip"
Where putnameofrom.zip is the game you are trying to load and tell me if that works.
" 'am' is not recognized as an internal or external command,
operable program or batch file."

If I delete the "am" command, it says "Windows could not find "-n". Make sure you typed the name correctly."

Edit: Just confirming that Super Mario World.zip starts fine when launched from SuperGNES lite. Hmmm....
 

IncognitoMan

Senior Member
Jul 2, 2013
132
209
0
" 'am' is not recognized as an internal or external command,
operable program or batch file."

If I delete the "am" command, it says "Windows could not find "-n". Make sure you typed the name correctly."

Edit: Just confirming that Super Mario World.zip starts fine when launched from SuperGNES lite. Hmmm....
adb shell into your android device.... once in THEN do that command and tell me the results.
 

jahjah440

Senior Member
Apr 30, 2011
196
45
0
adb shell into your android device.... once in THEN do that command and tell me the results.
Code:
am start -n com.bubblezapgames.supergnes_lite/.SuperGNES -a android.intent.action.VIEW -eu Uri "file:///mnt/sdcard/ROMS/SNES/Super Mario World.zip"

Starting: Intent { act=android.intent.action.VIEW dat=file:///mnt/sdcard/ROMS/SNES/Super Mario World.zip }

Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=file:///mnt/sdcard/ROMS/SNES/Super Mario World.zip flg=0x10000000 }
 

IncognitoMan

Senior Member
Jul 2, 2013
132
209
0
Code:
am start -n com.bubblezapgames.supergnes_lite/.SuperGNES -a android.intent.action.VIEW -eu Uri "file:///mnt/sdcard/ROMS/SNES/Super Mario World.zip"

Starting: Intent { act=android.intent.action.VIEW dat=file:///mnt/sdcard/ROMS/SNES/Super Mario World.zip }

Error: Activity not started, unable to resolve Intent { act=android.intent.action.VIEW dat=file:///mnt/sdcard/ROMS/SNES/Super Mario World.zip flg=0x10000000 }
Try this...

Code:
am start -n com.bubblezapgames.supergnes_lite/.SuperGNES -a android.intent.action.VIEW -ei Uri "file:///mnt/sdcard/ROMS/SNES/Super Mario World.zip"
 
Our Apps
Get our official app!
The best way to access XDA on your phone
Nav Gestures
Add swipe gestures to any Android
One Handed Mode
Eases uses one hand with your phone