Feb 12

Friday Post: StepMania on Raspberry Pi2

Hey All!

So this week the Raspberry Pi Foundation released a new version of Raspbian that includes experimental support for OpenGL.  This is a big leap from OpenGL ES.  This is real OpenGL that tons of games and software use.  No mobile versions required anymore.  That being said, its super experimental.  It basically breaks the official screen and the camera doesn’t work.  It also only works in xwindows and not on the command line.

BUT! One of my favorite games (and the way I lost 50lbs) is now available on the Pi!  StepMania!  The Dance Dance Revolution simulation game!

Here’s how to compile it:

First clone the StepMania repo:

git clone https://github.com/stepmania/stepmania stepmania
cd stepmania

Install the dependancies:

sudo apt-get install cmake gcc g++ libmad0-dev libgtk2.0-dev binutils-dev git-core make libasound2-dev yasm libc6-dev libogg-dev libvorbis-dev libbz2-dev zlib1g-dev libjpeg8-dev libpng12-dev libxtst-dev libxrandr-dev libglew-dev libglu1-mesa-dev mesa-common-dev automake autoconf libva-dev

A lot of these you will probably already have installed.

Now cd into the Build directory and start the configuration process (and run it one more time afterwards)

cd Build
cmake ..
cmake ..

Now you will want to edit the CMakeCache.txt which has some of the configuration options.

nano CMakeCache.txt
Look for CRASH_HANDLER and set it to OFF, SSE2 should be set to OFF, and Full Release should be set to ON.
press ctrl-x then y to save.

Now lets compile StepMania!

make

Let that run until it is done, should take about 3 or 4 hours.  When it’s complete run

cd .. 
./stepmania

and you should now be playing StepMania!

All of your configurations  will be under ~/.stepmania, and your songs and stages go under ~/stepmania

Have Fun!

Also, GO SEE DEADPOOL (if you are 18 and older!!)

-Shea