Sep 16

It’s Alive!!!!

Hey All,

Excited to post today. ¬†I was out shopping today at Walmart and I came across a portable battery pack charger on clearance. ¬†I had tried to use a friend’s Duracell Portable charger and while it would power the Pi, it only outputted 500mA so it wasn’t able to power my LCD. ¬†I took a chance and picked this battery pack up and what do you know…it worked!

It’s a Kodak Power Pack KP1000 – 5v 700mA.


I’m now one step closer to my portable gaming station ūüôā

-Shea

Sep 13

Better PlayStation Emulation on the Raspberry Pi

Shoutout to CodenameV for bringing PCSX_ReARMed to my attention!

Tonight I have uploaded the source and binaries for PCSX_ReARMed. ¬†This is an amazing emulator that is running a lot of PSX games at full speed. ¬†I have not been able to get sound to work through HDMI yet, but since my last reformat, I haven’t been able to get sound working on anything, so I’m kinda bummed about that. ¬†I’m hoping some of you have better luck with the audio.

Guide to running PCSX_ReARMed:

  • Download Source and Binaries
  • unzip pcsx_rearmed.zip
  • cd into pcsx_rearmed/
  • ./pcsx
  • Have fun having fond memories replaying some favorites from a couple generations ago ūüôā

Let me know if you have any issues.  Enjoy!

 

Sep 07

Raspberry Pi SD Card Corruption

Hey All,

So this week started off cool then took a turn for suckage. ¬†I’ve been working on getting two more emulators working. ¬†One is a Neo Geo Pocket Color emulator, and it works, but has some minor issues. ¬†The other is another mass emulator like MESS. ¬†The older version compiles, but the latest one errors out.

The reason I am not posting binaries at the moment is because my SD card’s filesystem got corrupted during a test I was doing, and won’t boot. ¬†I’ve made a bit for bit backup of the card using DD, and I’m going to try and retrieve as much data from it as possible. ¬†Luckily I have other SD cards to use.

I was hoping to have the binaries for NeoPop available tonight but I have to recompile them on the new SD card.  If you want you can click the link above and download the source and compile it yourself.

The other emulator I’ve been working on compiling is called Mednafen. ¬†The old version (0.8) is available in Raspbian repos, so just do sudo apt-get install mednafen and you should be good to go. ¬† Make sure you run it once, then edit the ./mednafen/mednafen.rc file. ¬†There is a part that says video and it tries to use opengl, set it to SDL and you should be good to go.

Have a great weekend everyone!

Sep 01

Friday Post: Arduino Keyboard Joystick

Hey all,

It’s been a long week, and I am really glad I have a long weekend to sleep in.

When the Arduino Leonardo was announced I was really excited to see it have built in USB HID support and could act as a keyboard, mouse, or joystick.  I was even more excited to find out that my year old Teensy++ (Arduino compatible board) was based on the same chipset that the Leonardo now uses, and is able to act as a keyboard as well!

This is a new feature that was introduced in the Arduino 1.0 IDE. ¬†You can now send keyboard presses with this simple line of code: Keyboard.write(‘a’); ¬†If I wanted the Up joystick to be the up arrow on the keyboard, I would just use: Keyboard.write(0x0E); .

.

My goal is to use my Neo Geo AES controllers as an input for MAME. ¬†The Neo Geo pads don’t have any control boards built into the unit. ¬†The console itself interprets each pin individually, just like an actual arcade board. ¬†The pad uses a standard midi gameport (DA-15) connector, with each pin representing one button.

My idea is to make a Neo Geo pad to usb adapter using the Teensy++ as go-between.  The Neo Geo pins will be wired up to the digital pins on the Teensy, and the Teensy Arduino sketch will interpret each button press as a keyboard press.

I’m looking forward to working on this project. ¬†I hope everyone has a great weekend and a restful Labor Day.

Aug 16

Made the frontpage!

I was very excited when I found out that on Monday, I made the frontpage of the Raspberry Pi website.  A big shout out to Liz for mentioning me and linking back here.  It made my day!

I really love working on this little computer. ¬†I’m learning so much and using skills that I took for granted. ¬†It’s really pushing some of the boundaries I had setup against myself. ¬†I’m glad to be getting past them.

I’m also thinking of getting one of these¬†and building a RaspberryPi bartop machine:

Aug 10

Friday Post: Descent and photography

Hey all,

Another Friday post here. ¬†A couple of days ago Derhass made a post about getting Descent 1 and 2 ported to the Raspberry Pi with OpenGL ES.¬† Descent was an amazing game released back in the early 1990’s. ¬†It had true 6 range freedom of movement in a spaceship with 3D modeling. ¬† An amazing game at the time, and one that I could NEVER beat. ¬†I’m in the middle of writing a tutorial on how to patch and compile the game, as well as hosting the binaries themselves.

Today on the Raspberry Pi frontpage is a really cool piece on time lapse photography titled “Painting with light (and a Raspberry Pi)”. ¬†The images are really fantastic:

Time lapse photography

Hope everyone has a good weekend. ¬†I’ll be writing the tutorial up this weekend and should have it posted soon. ¬†Thanks for the view!

-Shea

 

Aug 08

Youtube-Viewer

Hey all,

As you saw in my previous post / video, I was running Youtube videos in fullscreen on my little display.  I was using an application (really just a 2000+ line perl script) that does this for me.  The program is called youtube-viewer (github)

Gcala posted a nice guide on how to set it up and has given me permission to also repost it here. ¬†I’m making some modifications as I had to do a couple changes, but it works.

  1. sudo apt-get install gcc-4.7
  2. export CC=gcc-4.7
  3. export CXX=g++-4.7
  4. sudo apt-get install libwww-perl
  5. sudo cpan -i XML::Fast
  6. sudo wget https://github.com/downloads/ssilverm/youtube-viewer/youtube-viewer -O /usr/bin/youtube-viewer
  7. sudo chmod +x /usr/bin/youtube-viewer

Now just type youtube-viewer on the command line and you are good to go ūüôā

List of Commands
all               : play all the results in order
next              : go to the next page (same as <ENTER>)
back              : return to the previous page
login             : will prompt you for login
logout            : will delete the authentication key
[integer]         : play the corresponding video
i, info [i]       : show more informations about one video
c, comments [i]   : show video comments (e.g.: c 19)
r, related [i]    : show related videos (e.g.: r 6)
v, videos [i]     : show author's latest videos
p, playlists [i]  : show author's latest playlists
subscribe [i]     : subscribe to author's channel
like, dislike [i] : like or dislike a video
fav, favorite [i] : favorite a video (e.g.: fav 3)
[keywords]        : search for youtube videos
3-8, 3..8         : same as 3 4 5 6 7 8
8 2 12 4 6 5 1    : play the videos in your order
-argv -argv2=v    : set some arguments (e.g.: -u=google)
e, edit-config    : edit and apply the configuration
load-config       : (re)load the configuration file
/my?[regex]*$/    : play videos matched by a regex (/i)
reset, reload     : restart the application
q, quit, exit     : close the application

Let me know if you have any issues or questions!

-Shea

Aug 06

Youtube in my Raspberry Pi? or Is that an LCD in your pocket or are you just happy to see me…

LCD Screen

This weekend has been fun. ¬†I got my 2.0″ LCD Display from Adafruit in! ¬†It’s an amazing little screen. ¬†Bright, Sharp, Colorful. ¬†MAME, Quake, NeoGeo games all look great on it. ¬†A concern I had was how to power the little screen. ¬†It can take 5v – 12v, and the connector is just two bare wires for power.

After testing the screen with a regular power supply, I decided I wanted to see if I could power it via the GPIO power pins on the Raspberry Pi itself.  I was concerned about the amperage it would require, but after connecting it to pins 2 and 6 (5v and GND), and powering on the Pi, they both turned on and I was watching Raspbian bootup.

Youtube

On the Raspberry Pi Forums, gcala contributed a post with a how to on getting Youtube to play from the command line to omxplayer.

Here is a video I took after getting youtube-viewer running on my Pi:

Hope you all enjoy this!

-Shea

Aug 03

Friday Post: Woo! Long week…

Hey all,

This has been an interesting long week. ¬†I’m really happy with the feedback I’ve recieved regarding the Raspbian binaries I released. ¬†I got linked to by Adafruit which is awesome! ¬†I purchased one of thier little 2.0″ LCD TVs. ¬†Still waiting for it to arrive, but I plan to do some fun things with that small screen and the Raspberry Pi. ¬†Bensoutlet.com has on sale the Motorola Lapdock for $59.99 which is a really good price. ¬†Theres a 14 page forum post about how people are using it to make Raspberry Pi laptops.

My next goal is to write up some tips and tricks for the emulators that my commentors have posted, and still working on getting Love2D to work.

Hope everyone has a good weekend!

-Shea