Geek Freely: raspberrypi

    Featured Post

    The whole point in this post is to run your own VPN service, and allow you to connect remote devices to your home network.

    To start off yo…

    Showing posts with label raspberrypi.

    Showing posts with label raspberrypi.

    , but it is hard to coordinate when they will all get online – so I decided to look into my options for notifications. In the end I went with Notify My Android (NMA). The NMA website provides a complete script for sending notifications via the Raspbian shell. The script can be found at the following location, I used the shell script, but there are other options – this guide focuses on the shell script:

    First thing we are going to do is log into our Raspbian system and let’s make sure timezone is configured correctly:

    Now let’s download the notification script from NMA to your Raspberry Pi Minecraft server:

    We need to do a couple of things with this file, first we need to make a change so that our NMA API key is in the file, using the following command:

    Edit APIKey= to use your API Key, you can find your own API Key from the NMA site.

    Now we have to make the shell script executable:

    At this point we have a shell script that allows us to send notifications from Raspbian to NMA servers, and then to your Android. The next step is to create a short Perl file to monitor the Nukkit server.log (or any other log file for that matter). This script looks at the entire file, not just the tail, so if you run it against an existing server you are going to get a few notifications when first run. I called my file notify.pl:

    Enter the following into the notify.pl Perl script:

    Much like the NMA script we have to make our Perl script executable:

    That’s it! Now you are going to have to

    so edit crontab:

    Enter the following at the end of your file:

    The sleep is required to make sure the server has the log file available (didn’t work for me without the sleep, I can only assume as the file is deleted on startup):

    Reboot your server and you are good to go!

    So I finally went back to trying to get emulators setup in XBMC (OpenELEC specifically).  It took me a while to get everything setup, but in the end everything is working perfectly.  This all stems from the fact that I got my kid into SNES games to distract him on a long-haul flight.

    Now there are several post out there with pieces of information, but solbero posted a great and complete guide on the openelec forum:

    This venture into emulators is not a big leap from XBMC’s future, rumours have been around for a while regarding .  There is even a branch of OpenELEC which contains these modification – I am slightly tempted to try this,  Retroplayer + XBMC:

    When it comes to emulation they key component for realism is the joypad, in my humble opinion.  Amazon sells a USB compatible SNES replica controller, and it seems to get some ok feedback:

    I myself have gone down the route of Logitech Rumblepasd 2 (Wireless), simply because it has more buttons for arcade based games – and I’m a fan of Logitech products.

    The main complaint I hear about the Logitech Rumblepad 2 is the analog sticks are in a square boundary – so you can’t recreate free flowing circles with the sticks.  Beware the price of these things, Amazon was selling for $99.  I picked up a couple on eBay for $55 shipped – I know have 3 and will no doubt sell one to recoup.

    My implementation uses ROM Collection Browser to fire up the initial games, but after that I use the back-end emulator (RetroArch) to switch games.  I configured my left analog stick to save/load states using up/down, and I configured my right analog button to bring up the retorarch menu, left analog button is configured to exit the emulator and go back to XBMC.

    If anyone tries out Retorplayer + XBMC, let me know your thoughts please.

    I do have a spare Pi lying around, so I am also considering RetorPie

    For XBMC here is the version of RetroArch I used:

    Containing the following list of cores/emulators:

    Subscribe to:

    Labels

    Blog Archive

    Links

    Leave a Reply

    Your email address will not be published.