Jun 29

Quake 3 Arena on the Raspberry Pi

UPDATE: New Raspbian Binaries Available

Hey All,

Quake 3 Arena has been available on the Pi for a while now, but it seems the site hosting the files have gone down for the time being.

I’m going to host them here for now.

Quake 3 for Raspberry Pi  

Quake 3 Demo PAKs

  1. It’s a really easy install.  Unzip Quake3.zip so you have /home/pi/quake3/.
  2. Unzip the demo paks into your quake3/baseq3 folder.
  3. Run quake3/start.sh (cd quake3, ./start.sh)
  4. Start fragging!

If you need a really well done tutorial on how to install it, check out the My Raspberry Pi Experience Blog

Jun 26

Super Mario Bros. Pocket Watch

Sometimes you just have to buy something nice for yourself.  I saw this watch posted on Reddit Gaming and found a couple on eBay, so I decided to get one :-D.

Hatena Block Pocket Watches

Jun 24

Neo Geo Emulation on the Raspberry Pi

UPDATE: New Raspbian Binaries Available

I’m going to start this with saying that the Neo Geo is one of my favorite systems EVER. Over the years I’ve owned multiple Neo Geo Arcade Cabinets, tons of Neo Geo boards, and a drawer full of cartridges for the system. It’s an amazing piece of hardware. The first games came out in 1989, and the system had games still coming out in 2004. There is even a homebrew scene that is still running which releases a game every couple of years.

Last week I started messing with Gngeo, an open source Neo Geo emulator. I have gotten it compiled and running. King of Fighters 98 is running at 60fps. It looks lovely. The configuration was kind of a pain, but I think I have everything working right. So without further ado, below is the guide for installing and running Gngeo on the Raspberry Pi!

  1. If you havent setup /dev/fb0 yet, just go ahead and do sudo chmod 777 /dev/fb0
  2. Download the Gngeo binaries here
  3. Download the Gngeo config file here
  4. Unzip the binaries. They should unzip to a folder called gneogeo
    1. You should have 3 folders, the ones that matter are “bin” and “roms”. Inside “roms” you need to put in a neogeo bios file as well as any legally obtained game files you have. I will not give any hints or tips on where to obtain these files.
  5. On the command line go into the bin folder (cd ~/gneogeo/bin), and type ./gngeo -i ../roms/
    1. The first time it may fail, crash, lockup your pi, or even get into a small gui looking menu. Immediately exit (this can also sometimes cause a crash).
    2. What this first run has done is create a hidden folder in your home folder called .gngeo.
  6. Go into .gngeo (cd ~/.gngeo), and copy the config file you downloaded earlier. This setups the keys and some video stuffs.
  7. Go back into the gneogeo/bin directory and run ./gngeo -i ../roms/
  8. You should now see a gui, press enter on “load game”. You should see a list of roms available to you. Press up and down to get to your desired game, then press enter to start it.
  9. Press 3 to give Player 1 a credit, 4 to give Player 2 a credit. Press 1 to start player 1, 2 to start player 2. Up down left and right control player 1, and z, x, a, and d map to the Neo Geo’s A B C and D buttons.

Press escape when done 🙂

So far I have played King of Fighters 98, Metal Slug X, and Samurai Shodown 2 at full speed with no issues 🙂

Let me know if anyone has any issues or tips.

Edit:  Here is a link to the official site of gngeo

Jun 22

Installing Django and MySQL on Mac OS X Lion

In the past 6 months I’ve had to setup Django and MySQL 4 times on our various Mac hardware at work.  I figured since I’ve seen to have it down pat now I should document it somewhere 🙂

Python should already be installed.

sudo easy_install pip

download MySQL dmg from mysql.com.  This is the version I’m using.

Mac OS X ver. 10.6 (x86, 64-bit), DMG Archive 5.5.25 111.9M
(mysql-5.5.25-osx10.6-x86_64.dmg) MD5: 081d3345daaae6f5f36a9f245855798b

sudo easy_install django

nano ~/.profile
paste this in:
export PATH=/usr/local/mysql/bin:$PATH
export DYLD_LIBRARY_PATH=”$DYLD_LIBRARY_PATH:/usr/local/mysql/lib/”

Download and install https://github.com/kennethreitz/osx-gcc-installer

sudo easy_install MySQL-python

You are ready to go 🙂

 

Jun 18

Wireless Keyboard Touchpad Combo

Lo all!

Last week I decided I was tired of futzing around with unplugging my mouse and keyboard from my desktop and plugging them into the Pi when I needed to test something in a local console.  SSH and VNC works for 99% of the instances out there, but sometimes, you just gotta run something on the frambuffer!

My coworker let me try out his Logitech Wireless Keyboard combo that came with a GoogleTV, and it worked really well.  The price is around $40 and if you want a decent sized keyboard, you should look at picking one up.  I decided to go for something cheaper and smaller.  The link below goes to Amazon, and it’s the keyboard mouse combo i’m using currently.  It’s great.  I recommend it.  You also get a laser pointer built in if you want to annoy your cat 🙂

Let me know if you have found any good input devices for the Pi!

Update:

Just in case anyone was curious, here is the link to the Logitech Wireless Mouse Keyboard Combo.  If you want something with larger keys, this is a great choice.

Jun 15

LowPowerPCs.com contest! Win a RaspberryPi!

Just got an email from Jon at Low Power PCs.

They are holding a contest to win a Raspberry Pi.  From their site:

In order to win this pocket sized computer you must do your best to impress us by your geekyness and creativity. You should comment on this post with a link to a youtube clip that you’ve created to say/demonstrate why YOU should win the Rasperberry Pi.

The Rules

  • You MUST be based in the UK as we will only ship this to a UK address.
  • Post your entry as a comment to this post and include the link to your YouTube clip.
  • Entries that don’t include our website URL and Raspberry Pi in their content will be excluded from the results.
  • All entries must be received by 21:00 UK Time on the 6th July 2012.
  • We will review the entries on the 7h July 2012 and announce what we thought was the most impressive video (content wise, not necessarily technically) by the 8th July 2012.
  • Only 1 entry per person.
  • The winner of the Raspberry Pi will be announced on the 8th July 2012
  • By entering our competition you agree for us to publish your youtube clips on our website www.lowpowerpcs.co.uk

Good Luck!

-Shea

Jun 13

Raspberry Pi and MAME Part 2

THIS IS AN OLD POST!  Please go to the latest update here!

Hello everyone from raspberrypi.org!  Thanks for visiting, more updated tutorials and binaries are available by clicking the menu item Raspberry Pi Gaming!

UPDATE: New Raspbian Binaries Available (new binaries above)

So I’ve spent even more time playing around with my MAME compile and my Raspberry Pi.  I have a new set of downloads, once is a set of binaries so you don’t even need to do a make install.

  1. Unzip MAME directory.
  2. chmod 777 /dev/fb0
  3. Put your roms into mame/share/advance/roms/
  4. run mame/bin/advmame
    1. The first time it’s run it will generate a set of folders and files into ~/.advance
  5. edit your ~/.advance/advmame.rc to include the proper display configuration
    1. For HDMI try:
      1. device_video_clock 5 – 50 / 15.62 / 50 ; 5 – 50 / 15.73 / 60
    2. For NTSC TVs try:
      1. device_video_clock 5 – 50 / 15.73 / 60
  6. run mame/bin/advmame <gamename>
    1. cd into mame/bin/ then ./advmame gamename
  7. ENJOY!!!

Download AdvanceMAME Raspberry Pi Binaries

As an aside, I overclocked my Pi to 900Mhz, and Street Fighter 2 is slow, but playable 😀

edit: fixed an error in the path.  Also added a different way to run advmame (the way I run it).  Just cd into the bin directory then ./advmame gamename.

 

Jun 06

raspberryPI and MAME

UPDATE: Edited to fix some issues.

SECOND UPDATE: New Post with new binaries!

 

So for the past few days I’ve been struggling to get MAME running on the raspberryPi.  It was compiling, it would install, but I would always get a video_fault error.  It ended up being that I had to modify the .rc config to have the correct display settings.  I’m using a TV with the RCA plug so YMMV.

Edit: I’m also logged in as root.  I know this is bad but I haven’t been able to get it working without being root.  There is no password set for root, so you have to make one before you login as root or “su” to root.

sudo passwd root

http://advancemame.sourceforge.net/doc-install.html#4.5  – This link will help you find the correct display settings.

http://sheasilverman.com/rpi/advancemame-0.106.1.zip – This is the compiled AdvanceMame for raspberryPi.  Extract it to a folder, then type:

make install

You can then run mame by typing advmame at the command prompt.  The first time it runs it makes a config file, then quits.  You should find the folders and configs in ~/.advance/ /root/.advance/. ROMs go in ~/.advance/roms /root/.advance/roms/ .   The config file ends in “.rc”  Edit that file to include your display information.

For HDMI try:

device_video_clock 5 – 50 / 15.62 / 50 ; 5 – 50 / 15.73 / 60

For NTSC TVs try:

device_video_clock 5 - 50 / 15.73 / 60

I don’t know how long I can keep the compiled source on my host as I have limited bandwidth, but for now, it will be here.  I’ll try and find a mirror as well.

 

Jun 03

Raspberry Pi tip 2

The debian squeeze distro for Raspberry Pi will not allow you to “su” only “sudo”.  The reason for this is because no password has been set for the “root” account.  To fix this, type into the command line:

sudo passwd root

Enter in the password you could like for the root account and you should be good to go.