How To Get Sound Working On Gridwars2

I am a fan of the Gridwars2 game. If you have problems installing Gridwars2 in Ubuntu, see my post about installing it HERE.  I have been successful in installing Gridwars2 in versions from 10.04 to 11.04.

After installing it in a test version of Ubuntu 11.04 Unity install, the sound would not work.  I found this solution that worked:

sudo apt-get install alsa-oss

Then, run Gridwars with this command:

aoss ./gridwars

If you are not running the command from within the Gridwars directory, adjust the path to point to the Gridwars executable.

Have fun with Gridwars!

— John – K7JM

How to install Gridwars2 on Ubuntu Lucid 10.04

I enjoy playing Gridwars2 on Ubuntu Linux. It used to be available on getdeb.net for Ubuntu Jaunty, but since then, it has disappeared.  It can be downloaded from the authors’ site, but it will not run out of the box on Ubuntu Lucid Lynx.  Here are instructions to get it working on Ubuntu Lucid (and newer releases of Ubuntu).  It is quite easy once you figure out how.  This how to, assumes you know the basics of getting around in linux, and know how to work as administrator.

Get the gridwars_lin.zip file from

http://gridwars.marune.de/

Click “lin” for the Linux version.

(*UPDATED* 10/11/10) Here is another source for gridwars_lin.zip.  It can be found at:
http://www.sourcefiles.org/Games/Arcade/

Unzip all the files and folders into a directory of your choice.  I put mine in /home/myusername/games/gridwars.  If you have multiple users on your system, you might put it all under /usr/share/games/gridwars

Set permissions:  Locate the file gridwars in the …/gridwars folder.  Right click on it and select Properties.  Click on the Permissions tab and make sure “Allow executing file as program” is checked.

Gridwars2 requires two additional files to run.  They are libstdc++.so.5 and libstdc++.so.5.0.7 .

(*UPDATED* 12/11/10) The lib files are no longer available in the jaunty source as shown below.  Ryan, posted a reply with a helpful hint.  It worked for me in a new install.

Ryan says:
October 24th, 2010 at 5:13 pm

A simpler solution to the dependencies is to open a terminal and run this command

sudo apt-get install libstdc++5

Works on maverick as well.

They can be obtained from the jaunty package libstdc++5_3.3.6-17ubuntu1_i386.deb .

libstdc++5_3.3.6-17ubuntu1_i386.deb can be gotten from

http://packages.ubuntu.com/jaunty/i386/libstdc++5/download .

Pick a download location and save it on your computer somewhere convenient.  DO NOT INSTALL the deb package.  You will most likely get an error if you try.

As admin, open up libstdc++5_3.3.6-17ubuntu1_i386.deb with Archive Manager (not the GDebi Package Installer) and place files libstdc++.so.5 and libstdc++.so.5.0.7 into the /usr/lib32 folder .  These are 32 bit files but will work on 64 bit Lucid.

To use nautilus as admin for the above steps, type

$ sudo nautilus

in a terminal window.  You can then right click on libstdc++5_3.3.6-17ubuntu1_i386.deb and select “Open with Archive Manager.”  You then can drag and drop the files where you need them.

(*UPDATED* 06/26/11) If you can not get the sound working, try THIS!

That is it.  To run gridwars2, locate the file “gridwars” in the gridwars folder and double-click to start it.  You can use System -> Preferences -> Main Menu to add gridwars2 to the menu system. A nice icon can be located at …/gridwars/gfx/High/whiteplayer.png .

Enjoy playing gridwars2!

– John K7JM

(Please, read the comments, as they have some good updated information)