..

jeudi 19 mars 2015

[Q] Launching retroarch with am topic


Hello All,

I've posted this question on the libretro forum titled "NEW Gamepad Autoconfig Thread" in post 70 (sorry newb, can't post link). They generally seem to be less involved in the forums there so i thought i would post something here as well.

Little background, I have a rooted firetv, running spmc (kodi 14.1) with ROM Collection Browser addon. I'm currently using the most recent nightly build of retroarch with RCB. I'm using this build because you can pre-config the controller with plain text cfg. When i used the release version (1.0.0.2) the cmd that I'm using now worked. Currently I'm not sure if its not working because of a syntx issue or a bug. I'm guessing syntax because when i run retroarch normally it works. I should also point out that i'm fairly new to android, retroarch and gaming for that matter.

This is the syntax I'm using (again that worked in release ver)

Quote:









root@android:/system/bin #





Code:


am start --user 0 -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -e ROM "/storage/emulated/0/usbStorage/sda1/games/roms/nintendo/1942 (Japan, USA).nes" -e LIBRETRO /data/data/com.retroarch/cores/fceumm_libretro.so -e CONFIGFILE /data/data/com.retroarch/retroarch.cfg -e IME com.android.inputmethod.latin/.LatinIME -n com.retroarch/.browser.retroactivity.RetroActivityFuture

So i guess my question is is there something in the syntax that i'm doing wrong, or can someone explain AM or point me somewhere that can. I've seen that help for am but is a little vague for me and I've searched and have many examples but nobody seems to explain what the parameters do/mean. When I try to remove the reference to the IME i get a error (see below) within the shell and firetv launces freetime (some app).

Code:


Starting: Intent { act=android.intent.action.MAIN cat=[android.intent.category.LAUNCHER] (has extras) }

What is the bare minimum i can use to launch retroarch and a rom?

Also can some one explain to me what these are .LatinIME and .browser.retroactivity.RetroActivityFuture are. I'm guessing that they are methods within the image thats being executed?

Or if anyone happens to be able to provide help on the specifics (retroarch cmd) of my question i'd also be appreciative.

Thanks in advance

xda-developers