Results 1 to 4 of 4

Thread: How to install StepMania in Ubuntu 12.04LTS 64-bit

  1. #1
    Join Date
    Feb 2012
    Beans
    46

    Cool How to install StepMania in Ubuntu 12.04LTS 64-bit

    StepMania - basically Dance Dance Revolution (DDR) in a computer. keyboard, controller and even Dance Pad friendly. Great game for workingout or just unwinding.



    Prerequisites:



    • Internet Connection
    • Meet StepMania system requirement/s.
    • Download the 64-bit binary of StepMania
      • In this case, StepMania-v5.0-beta1a-linux64.tar.bz2




    Package Dependencies



    • libpng15.so.15
    • libglew1.8



    Step 1: Download the files


    libpng15.so.15


    sudo add-apt-repository ppa:linaro-maintainers/overlay sudo apt-get update sudo apt-get install libpng1.5


    libglew1.8
    Although this package's release is for 12.10, libglew1.8 works perfectly in 12.04LTS



    • 64-bit (Click link)

    http://security.ubuntu.com/ubuntu/po...ntu2_amd64.deb


    download the .deb file, locate and install in Ubuntu Software Center.


    or


    If the link is broken, search the package in: www.ubuntuupdates.org


    Step 2: Installing Stepmania-v5.0



    • After downloading “StepMania-v5.0-beta1a-linux64.tar.bz2”, locate the file and move it on the Desktop
    • Double click and Unzip (extract) StepStepMania-v5.0-beta1a-linux64.tar.bz2 to Desktop
      • here's a different variation on how to extract it via Terminal


    cd Desktop
    tar -jxvf StepMania-v5.0-beta1a-linux64.tar.bz2



    • Run the program (via Terminal)

    cd Desktop/stepmania
    ./stepmania


    THERE! It's running good... except maybe you want to clean it up a bit.



    1. Neat Setup
    2. Create a Launcher



    1. Neat Setup



    • Go to Desktop and open the stepmania folder.
      • Select all, Cut.

    • Go to home folder and Show Hidden Files (View Tab > Show Hidden Files)
      • locate .stepmania-5.0 and open folder
        • Paste files here.



    • Neat Setup Compete
      • You may delete the stepmania folder on the Desktop.


    2. Create a Launcher

    Google "StepMania Icon" and select a suitable icon and save it as "stepmania.png" in home folder /.stepmania-5.0

    • sudo gedit /usr/share/applications/StepMania.desktop
      • password prompt

    • Type/Copy the following:

    [Desktop Entry]
    Version=5.0beta
    Type=Application
    Terminal=false
    StartupNotify=true
    Icon=/home/(YOUR_USERNAME)/.stepmania-5.0/stepmania.png
    Name=StepMania
    Comment=StepMania
    Exec=/home/YOUR_USERNAME)/.stepmania-5.0/stepmania
    Categories=Application; Games;



    • SAVE and Close
      • If for some reason it won't save, click Save as... and save it on:
        • File System: /usr/share/applications





    CONGRATULATIONS! You have successfully, manually installed StepMania


    BONUS: ADDING SONGS!!!



    • on the home folder, Show Hidden Folders and open .stepmania
      • CREATE a Songs folder

    • On www.stepmania.com download songs on the Download category
      • extract your downloaded songs and put them in the Songs folder of the hidden .stepmania-5.0 folder located in the home folder when Show Hidden File is checked.




    ENJOY


    TIP:


    There are some DDR .smzip out there. Search the web for more info.
    With a controller or Dance Pad, Go to Options to configure button/key mapping.
    Last edited by FenrirXIII; April 8th, 2013 at 09:06 AM.

  2. #2
    Join Date
    Mar 2009
    Location
    Australia
    Beans
    2
    Distro
    Ubuntu

    Re: How to install StepMania in Ubuntu 12.04LTS 64-bit

    I did some alterations on your tutorial because I have a 32-bit version but it worked out none of the less.

    Oh and here's one more tip for adding songs.

    • If you already have a songs folder somewhere else and you want to add it to SM5, go to the home folder, Show Hidden Folders and open .stepmania and then open Save.


    There should be a file called Preferences.ini open that with your text editing program (GEdit) and there should be a line saying.

    Code:
    AdditionalSongFolders=
    now locate where your song is and then type it in

    Code:
    AdditionalSongFolders=/media/(YOUR HARD DISK DRIVE NAME)/(YOUR SONGS FOLDER)/Songs
    Save the file and close your text editing program, run the Stepmania program and it'll load your songs that you told to find.

  3. #3
    Join Date
    Jul 2013
    Beans
    9

    Re: How to install StepMania in Ubuntu 12.04LTS 64-bit

    I just built Stepmania 5.x from source and I came to Ubuntu Forums to describe my pitfalls.

    The prereq list is in the opening post is too short. It wasn't working for me until I found a mention in a Japanese-only mailing list about Stepmania about getting sound drivers working correctly.


    • Get the tarball from http://sourceforge.net/settings/mirr...2a-src.tar.bz2
    • cd $(mktemp -d)
    • tar xjf /tmp/stepmania-5.*-src.tar.bz2
    • cd stepmania-tip
    • apt-get install libpng-dev libxrandr-dev libjpeg-dev libbz2-dev libvorbis-dev libmad0-dev libglew-dev libgtk2.0-dev libpulse-dev
    • ./configure
    • make
    • sudo chown /opt $USER
    • make install # ye gods why would I have to `sudo make install` ?
    • sudo chown /opt root
    • cd /top/stepmania\ 5/
    • ./stepmania


    If you do not have libpulse-dev installed, ./configure will not error out, but the compiled Stepmania will keep telling you 'device not found: /dev/dsp' and trying it with `padsp` will wedge the pulseaudio daemon something terrible.

    It will look in $HOME/.stepmania-5.0/Songs/ for your song&step files. Without any Song files, some of the main menu settings will just send you to help files, which will want to open a webbrowser... but that doesn't work. (The stepmania website is down today anyways, some problem with Google Docs since they're using that for hosting?)

    I was able to keep using the electro-body-music stuff I made for Stepmania 3.8.

  4. #4
    Join Date
    Apr 2007
    Location
    Charleroi, PA
    Beans
    128
    Distro
    Ubuntu

    Re: How to install StepMania in Ubuntu 12.04LTS 64-bit

    Quote Originally Posted by Moses_Moore View Post
    I just built Stepmania 5.x from source and I came to Ubuntu Forums to describe my pitfalls.

    The prereq list is in the opening post is too short. It wasn't working for me until I found a mention in a Japanese-only mailing list about Stepmania about getting sound drivers working correctly.
    Just wanted to say thanks for this guide StepMania 5 seems to work fine for me after following these instructions on 13.10.

    As for the make command, if my limited understanding is right, you could attach -j # onto it to use more cores for a faster compile (so make -j 4). Guess the general rule is to use a little less than double the CPU cores you have or something, but I used -j 6 without problem on a quad core system.
    Last edited by Espionage724; December 24th, 2013 at 07:05 AM.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •