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.

Jun 03

Raspberry Pi!

So, I recently got my Raspberry Pi and have been having a lot of fun with it.

Programming in Python on it, running Quake 3 Arena, trying to compile different apps with various states of success.  Using Google Chromium on it.

The experience has been amazing.  This $35 machine has allowed me to play games, browse the modern internet, program, all using hardware I have laying around.

The Raspberry Pi outputs to both HDMI and RCA, so I’ve been using an old studio monitor at work as a display and it runs great.  At home I connect it via HDMI and it looks beautiful.

I am in the middle of uploading an iso/image file of my SD card so if anyone wants to try out these features without having to go through the setup, they can.

I plan on also updating with some tips and tricks.

I want to thank the blog http://myraspberrypiexperience.blogspot.co.uk/ – They have provided some wonderful guides so far.

One of my goals is to get the LOVE2D framework compiled.  At the moment, it won’t work because of the non existant OpenGL drivers, but nLove is available, and was made for ARM based platforms.  I am having difficulty getting it compiled, but I’m going to keep trying.

First tip to remind myself:

sudo mv /boot/boot_enable_ssh.rc /boot/boot.rc

This will enable ssh on the device at bootup.  If you just want to enable ssh once, then at the command prompt enter:

sudo /etc/init.d/ssh start

This assumes you are running the Debian Squeeze Raspberry Pi image.