Emulator argument to open from xbmc - Ouya General

Hi,
I came across a post showing how to use xbmc with the advanced laucher plugin to open retro gaming roms from within xbmc. I went this route as my kids have an easier time seeing the covers of games rather than going through the list of games.
But I have an emulator that is not listed for the arguments. The emulator I use is "nds4droid". I would like to ask how do I find out the argument code to input into the laucher.xml file?
For example, this is the code for the Drastic nds emulator:
DraStic:
non-root:
start -n com.dsemu.drastic/.DraSticActivity -a android.intent.action.MAIN -c android.intent.category.LAUNCHER -e GAMEPATH "%rom%"
Thanks

Related

xbox 360 controller support

As seen here
http://forum.xda-developers.com/showthread.php?t=831699
interest for xbox 360 controller support in custom roms exist and it has already been done on a tablet mentioned in that thread.
Are there any developers out there that want to try and add this support to their rom? (Beast rom..hint hint lol)
It would be awesome to play our emulators with the 360 controller. If possible to control the android os. I believe that other tab that has support is mapped to important android menu butons and trackball.
Hope there is some interest with this on adam.
Link to Tab with working drivers
Here is the thread for the elocity Android tablet that has these driver support
http://forum.xda-developers.com/showthread.php?t=923801
and here is a video
[/QUOTE]
???
So really, there is noone that is interested in this? I think I may be selling my adam to go to a more "common" and "popular" android tab as the dev support/consumer interest is so minimal on the adam.
This would be awesome if someone got this working!
I'd love to play some PSX games with a real controller. Samurai Vengance II would be pretty cool as well.
So, there is the xpad module for your Adam.
Compiled for kernel 2.6.32.9, and work well on CM7 (with my custom x360 stick on DonDonPachi ).
Extract the xpad.ko on your sdcard/usbdisk or whatever and copy it to /system/lib (as root with your /system remount in rw mode).
Type "insmod /system/lib/xpad.ko" on your Adam's console and plug your xbox controller.
Launch your fav emulator (only try Tiger Arcade), remap keys you need and voila !
Too bad Tiger Arcade is not optimised for tablet (too small resolution), but this is a start.
Don't ask for support, i only compiled this one. Source is from this post : http://forum.xda-developers.com/showthread.php?t=923801
Edit: and here a very bad quality video from my phone :
Thanks for the awesome job. I can't wait to sit back, connect the Adam to the Tv through HDMI, and play some CPS2 and PSX roms
darknao said:
So, there is the xpad module for your Adam.
Compiled for kernel 2.6.32.9, and work well on CM7 (with my custom x360 stick on DonDonPachi ).
Extract the xpad.ko on your sdcard/usbdisk or whatever and copy it to /system/lib (as root with your /system remount in rw mode).
Type "insmod /system/lib/xpad.ko" on your Adam's console and plug your xbox controller.
Launch your fav emulator (only try Tiger Arcade), remap keys you need and voila !
Too bad Tiger Arcade is not optimised for tablet (too small resolution), but this is a start.
Don't ask for support, i only compiled this one. Source is from this post : http://forum.xda-developers.com/showthread.php?t=923801
Click to expand...
Click to collapse
Thank you so very much. I have been waiting for this since I got my adam.
After trying it out on my TV through HDMI, I can honestly say that this works amazingly. Last night I was playing some Super Smash Brothers on a N64 Emulator, and just this moment I was trying out Metal Slug 4 on TigerArcade, and they played really well. I tried a snes emulator, but the controls seemed like they needed some fine-tuning (the sensitivity was off, and it was hard moving Mario around). All in all, I am extremely thankful for you compiling this for the Adam.
I have this set up and I want to say that its great. It is that access that you should of had since day one.
You can control android menus and navigate through most applications! And for some games that can make use of arrow keys on phones will detect the controller and let it respond. (The last one I just tried was Lightrunner 3d)
Its also fabulous for every Emulator out there. Ive been playing Nintendo 64 games with the precision I had on the system back in the day. Most PSX games run/play great too!
TIP: Since everytime you reboot you have to use terminal to enable instead download Gscript and make a script that only contains what is inside the quotes "insmod /system/lib/xpad.ko" make sure you click "needs su" and save it.
So if you ever reboot you can just click a file and it will automatically do it for you.

[Q] Terminal emulator

Any one know a good terminal emulator,
one that would give me a few terminal emulation like vt100, scoansi or wyse50
also i would like to put it fullscreen like 80x24.
So far i have tried "Better terminal emulator" but it does'nt even have a settings menu
to do anythning, or maybethere is one but i did not find
Any suggestion ?
I'm a big fan of connectbot.
If you want to check it out get a development snapshot from their website rather than the market version. The market version doesn't support the TF's keyboard dock.
Does it support terminal emulation, how can i put it in scoansi term emulation ?
ok, i found the emulation settings..
now, i'm trying to get the character over the numeric row from the dock keyboard, ie [email protected]#$% etc.. how can you get them ?
If i try them i only get what looks like Function key i.e OS, [21~, etc..
I have this problem with either Better Terminal" or "Connectbot" :
i can't get the functions key to work, it's like if it does'nt send the \E in the \EOS for exemple.
Any other emulator ?

[WEBTOP] A practical & free thin client solution (fast and power-saving!)

Introduction
Thin client
By "thin client" I mean running a remote desktop on atrix webtop. Atrix itself doesn't have powerful processors(okay okay, I know 2x1.0Ghz cores are good for a phone. Go ahead, compare it with 24core+96GB memory big-ass blade server. Do it. ), but with a lapdock it has very good battery life and good connectivity. Also, the overall weight/size of this device is unbeatable, compared to any notebook/ultrabook. These factors together make atrix+lapdock the very best form of a thin client.
If you still don't get it, think about running MS Word/ Visual studio/ Anything X86 on your lapdock.
Citrix
If you have ever used a stock webtop, you might have heard of something called "citrix" -- a commercial cloud-based thin-client solution, which will turn an atrix with lapdock to a mobile workstation. Indeed, citrix is cool, but you have to pay for it... And since it's cloud-based, you cannot access your own computer in this way.
So, why not pull together a free toolset and let it run on your own computer?
Get most goodies out of citrix, and throw it away
Wait...Did you say "power-saving"?
Yes I did. To connect to the host computer, it must stay operational. But you definitely don't want it to stay there and draw power for nothing right? My goal is, automatically wake up the host on-demand, and automatically put it back to sleep when atrix is disconnected.
Recommended configuration
I'm not going to write a super-complete guide to build such a system. It's not hard at all, and also it's different for every one of us. So, say "recommended environment" is better than "prerequisites".
To get an ideal experience, you'll probably need:
Gentop. Thanks to Gendol, now we have a very flexible & fast gentoo distribution. My solution is based on his work. It should also run on modified stock webtop, but it would be hard to get the up-to-date packages you need.
A windows-based computer. Ideally it should be Windows 7/8/Server 2008/R2/2012. Because, with these versions, the remote desktop protocol is upgraded to 7.1, much better than previous versions. RDP 7.1 is really cool. Until the Linux community invents something similar to this, I'm not going to recommend linux as the host.
Good network condition. For my case, I live in a university campus. My host computer is connected to 100Mbps LAN with a fixed domain name, and the whole campus is covered by very fast wireless network. Theoretically it can support me to play 720p video / run RemoteFX demo on the phone. (see this RemoteFX+FreeRDP demo )
And you probably don't want:
vnc. dog-slow! don't use this!
rdesktop. This one supports RDP, but only an ancient version. Don't use this, or you'll get laggy display but waste higher bandwidth. not worthy at all.
Deployment
Client side
I'll assume a clean Gentop installation here.
Fire up a terminal, and emerge these packages:
Code:
emerge wol freerdp
You may need to do some --autounmask-write.
wol is used for waking the host computer up. And freerdp is the next-generation RDP protocol library. The X11 front-end is called xfreerdp.
After you've got these packages ready, create bin/ in your home directory and add it to your $PATH:
Code:
echo "export PATH=$PATH:~/bin/" >> ~/.bashrc
echo "export PATH=$PATH:~/bin/" >> ~/.bash_login
cd ~
mkdir bin
cd bin
Create a file called rdp, and give it execution permission:
Code:
touch rdp
chmod +x rdp
leafpad rdp #or any other file editor you like
Paste these stuff in, modify user settings, save and close:
Code:
#!/bin/bash
############ User settings #############
host='your_host, or ip'
username='your username'
password='your password'
mac_addr='XX:XX:XX:XX:XX:XX' # you can find it with cmd.exe -> ipconfig /all
############ User settings end #########
echo -n 'Waiting for the host to wake up.'
ping_result=''
while [ -z "$ping_result" ]
do
wol -h $host $mac_addr > /dev/null
echo -n '.'
ping_result=`ping $host -c 1 | head -n 2 | tail -n 1`
done
echo ''
echo 'Host is awaken.'
session_result=`xfreerdp -u $username -p $password -x lan -f --plugin rdpsnd x61 | tail -n 1`
if [ "$session_result" == 'Closed from X' ]
then
echo 'Session successfully closed.'
echo 'Putting host to sleep again...'
echo "sleep 1;echo -e '$username\r';sleep 1;echo -e '$password\r';sleep 1;echo -e 'wizmo standby\r';sleep 1;" > ~/bin/telnet_sleep
chmod +x ~/bin/telnet_sleep
~/bin/telnet_sleep | telnet $host > ~/bin/telnet_sleep.log
else
echo 'Session disconnected unexpectedly.'
echo 'I will not put the host to sleep in this case.'
echo $session_result
fi
That's it, client side ready to go.
Server side
First for some versions you need to enable remote desktop:
Follow this.
Then, for server systems, if you need sound, you need to follow this.
After that, enable telnet server.
Follow this.
Then, download this nice small tool(very useful!) from here, put it into your Windows folder, for example, C:\Windows\
This small tool will enable putting computer to sleep via telnet.
The important last step:
Enable wake-on-lan. This is perhaps the most hard-to-explain part, since it's related to multiple steps, and will vary with different hardwares. But basically, first you need to ensure that in BIOS settings Wake-On-Lan is enabled. Second, make sure that you've installed the correct driver so that your network card works correctly with Windows. Third, some cards need special patches. For example, Lenovo/IBM Thinkpads need this. Last, enable WOL-related power-management settings in windows, follow this. Note: It seems that not all steps are necessary. I only had my network card power management settings tweaked and it worked. Proceed incrementally.
That's all about the server side.
Usage
To connect to the (may be asleep) host, fire up a terminal, and run this:
Code:
rdp
It will probe, until the host is awaken.
Note that the session will start in full screen mode. To exit full screen, simultaneously press "ctrl-alt-enter".
Normally, to end the session, exit full screen mode, click on "x" in the title bar.
The script will detect this action and automatically put the host to sleep.
In other cases, for example, killed from terminal, or disconnected due to network problems, it won't put remote computer to sleep.
That's all about it. Hope you'll enjoy this. And drop me message if you encounter any problem with this.

make a project executable on raspberry pi

Hi guys
I have created a project which consists of a main GUI interface that incorporates four games, where one of the games opens another GUI which also incorporates four other small games, and all the scripts are found in one folder, also the games are aimed towards autistic children. For the project i used python 3, with pygame for the games and Tkinter for the GUI's .
My main issue is that i would like to make the whole project run directly from the raspberry desktop, without having the user open a terminal or the python script, and having been going round in circles as how i can maybe make this happen and cannot seem to find or not looking in the right direction, my raspberry pi is running on raspbian.
I would appreciate if anyone could direct/suggest me on what would be the best thing to do or else to point me to any step by step tutorials so as to make the project easily accessible for autistic children. Thanks.
druid65 said:
Hi guys
I have created a project which consists of a main GUI interface that incorporates four games, where one of the games opens another GUI which also incorporates four other small games, and all the scripts are found in one folder, also the games are aimed towards autistic children. For the project i used python 3, with pygame for the games and Tkinter for the GUI's .
My main issue is that i would like to make the whole project run directly from the raspberry desktop, without having the user open a terminal or the python script, and having been going round in circles as how i can maybe make this happen and cannot seem to find or not looking in the right direction, my raspberry pi is running on raspbian.
I would appreciate if anyone could direct/suggest me on what would be the best thing to do or else to point me to any step by step tutorials so as to make the project easily accessible for autistic children. Thanks.
Click to expand...
Click to collapse
Make your script executable with the command:
chmod +x script_file_name
Then create a desktop icon for it by following these steps:
1. Create a "somename.desktop" file in your user's Desktop directory. (like /home/pi/Desktop)
2. The contents of the file is as follows.
[Desktop Entry]
Type=Application
Name=Somename-which-represent-your-application
Exec=/path/to/your/executable/script/file
Icon=/path/to/your/icon/file
Terminal=false
3. After this, if you double click on the icon on Desktop, the application starts automatically.
Got this from the raspberry pi forum written by the user Srinivas.

Turn Your raspberry Pi 3 Into a Google Home

# GassistPi -- Google Assistant for all Raspberry Pi Boards
Due to the developmental works, the instructions previously posted do not work now. Follow the git README for up to date instructions.
That is nice, thank you, but what can the google home accomplish like tasks ? does it records tasks, or so like google assistant on android ?
also, is it possible to integrate it with home assistant ?
command not found sudo chmod +x /home/pi/GassistPi/audio-drivers/USB-MIC-JACK/scripts/usb-mic-onboard-jack.sh.
why I am getting this error in raspberry PI 3B+
Please reply

Categories

Resources