FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Anything related to Wolfire Games and/or its products
User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Wilbefast » Fri May 07, 2010 9:23 am

Madness!?

Image

This - is - LINUX!


Euh... yeah... so, anyone mad enough to be running Ubuntu 9.10 64 bit will probably run into a few problems when trying to run the games, especially when it comes to sound. Here are the steps I went through to get all 5 games working. Let me know if you have any other problems - I may be able to help you as well.

By the way - my user name is "william", so everytime you see a "william" just replace it with your name m'kay?

edit: Everything seems to work out of the box for 10.02, which is freaky really :shock:






World of Goo
Installed with DEB file, works perfectly.





Lugaru HD
No sound. Run the game with "pasuspender" - replace the default command with:

Code: Select all

pasuspender "/home/william/lugaru/lugaru"
edit: This reflex comes from constant problems with sound in games because of Pulseaudio, a sort of interface used by default by 9.10, but not 9.04. Removing it isn't a good idea though, because some applications, like Skype, can't do without.






Gish
2 errors here.

First up the game wouldn't run because of a missing library "libopenal.so.0". This can be fixed by creating a symbolic linked to "libopenal.so.1" called "libopenal.so.0", which effectively redirects the requests to the correct library:

Code: Select all

sudo ln -s /usr/lib32/libopenal.so.1 /usr/lib32/libopenal.so.0
Secondly, there were problems with the sound - a buzzing at first and then nothing after a little while. Running with "pasuspender" directly causes the game to freeze when you try to exit.

Create a file called '.asoundrc' in your home folder, with this inside it:

Code: Select all

pcm.!default {
    @func refer
    name { @func concat
           strings [ "pcm."
                     { @func getenv
                       vars [ ALSA_DEFAULT_PCM ]
                       default "pulse"
                     }
         }
}

pcm.pulse { type pulse }
ctl.pulse {
    type pulse
#   source "Monitor of HDA Intel"
}
Then run the game with the following script from the give folder, using the following command:

Code: Select all

pasuspender $(ALSA_DEFAULT_PCM=hw:0 ./gish)
Thanks to Spudd86 for this fix.

Edit: since I like having fancy little shortcuts with icons, I actually created a bash script to run Gish directly, called "run_Gish.sh":

Code: Select all

#!/bin/bash

cd /home/william/gish153
pasuspender $(ALSA_DEFAULT_PCM=hw:0 ./gish)
Then you can modify the shortcut so that it points to:

Code: Select all

home/william/gish153/run_Gish.sh
Finally, if you want a nice icon for your shortcut, go grab this one:

Image

From the Linux Gamers Codex. As you've probably guessed, I took some advice from that page also, though it shouldn't be necessary to install the 32 bit compatibility layer (I didn't have to anyway) :wink:





Penumbra
Painful intermittent buzzing sound. Neither a direct "pasuspender" nor the above, nor changing the output using options > sound > output seems to fix the problem.

So we're going to have to go for the throat: since pulseaudio is the bane of Ubuntu gamers everywhere, we're going to create a bash script that deactivates it, runs the game and then reactivates it when the game is finished. Voilà:

Code: Select all

#!/bin/bash

cd /home/william/PenumbraOverture
killall pulseaudio
./penumbra
pulseaudio -D
Unfortunately pulseaudio has a habit of not staying dead. To prevent it from starting itself back up again before we explicitly tell it to, we'll have to explicitly tell it not to turn itself back on until we say so.
First we create/edit the the pulseaudio configuration file:

Code: Select all

gedit /home/william/.pulse/client.conf
And add:

Code: Select all

autospawn = no
Thanks to frigginacky for this fix :)

Once again we can set the Penumbra shortcut to:

Code: Select all

/home/william/PenumbraOverture/run_Penumbra



Aquaria
Installs and runs fine out of the box.
Last edited by Wilbefast on Mon Jun 07, 2010 11:24 am, edited 3 times in total.

User avatar
Blorx
NOT A FRIGGIN PROGRAMMER
Posts: 3272
Joined: Wed Jan 26, 2005 4:01 pm
Location: South Carolina, United States
Contact:

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Blorx » Fri May 07, 2010 3:19 pm

Wolfire needs to post this on the blog or link it to the Bundle's page and make it blatantly obvious that it's there. There have been quite a few reports of issues with the Linux versions and this is awesome work, here. :mrgreen:

User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Wilbefast » Sun May 09, 2010 4:40 am

Sticky?

Edit: Penumbra started playing up again, so I found another fix. Edited the first post 8)

User avatar
Blorx
NOT A FRIGGIN PROGRAMMER
Posts: 3272
Joined: Wed Jan 26, 2005 4:01 pm
Location: South Carolina, United States
Contact:

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Blorx » Sun May 09, 2010 12:14 pm

Wilbefast wrote:Sticky?
I was going to, but oddly enough, it won't let me. :|

iLag
Posts: 24
Joined: Tue May 11, 2010 9:45 pm

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by iLag » Tue May 11, 2010 10:36 pm

An easier solution that works for all the games and then some:

Code: Select all

sudo apt-get purge pulseaudio
I did this long ago and I have yet to have a problem with any game. The only problem is that it broke the Gnome sound panel, but I think that's an acceptable loss.

User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Wilbefast » Wed May 12, 2010 6:30 am

iLag wrote:An easier solution that works for all the games and then some:

Code: Select all

sudo apt-get purge pulseaudio
I did this long ago and I have yet to have a problem with any game. The only problem is that it broke the Gnome sound panel, but I think that's an acceptable loss.
Bad idea: some applications can't do without pulseaudio, for example Skype. It's better to temporarily deactivate it than it is to remove it, even if the latter is a lot simpler (and more satisfying).

jonathanbruder
Posts: 1
Joined: Sun May 16, 2010 9:00 pm

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by jonathanbruder » Sun May 16, 2010 11:12 pm

I'm getting MD5 checksum errors from the Penumbra installer .sh file. I've tried re-downloading to no avail.

I'm using firefox 3.6.3 (canonical 1.0) for ubuntu on lucid (10.04). Other games in the bundle download and install normally.

User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Wilbefast » Wed May 19, 2010 3:58 am

Strange... It seems to work for me on 10.04 - installing at least :|

Ask John!

gcr
Posts: 1
Joined: Wed Feb 10, 2010 8:04 pm

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by gcr » Wed May 26, 2010 2:35 pm

Wahoo, hey thanks!

Has anyone else noticed that lugaru, aquaria, and possibly gish are all in mono sound (no stereo, just one channel)?

I'm running Arch... maybe it's that.

User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Wilbefast » Wed Jun 02, 2010 1:26 am

gcr wrote:Has anyone else noticed that lugaru, aquaria, and possibly gish are all in mono sound (no stereo, just one channel)?
I hadn't noticed, no - how can you tell?

ghetss261
Posts: 1
Joined: Tue Aug 10, 2010 1:38 am

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by ghetss261 » Tue Aug 10, 2010 2:06 am

wow great..
thank you for that post..
seems to me that's very informative.. :)

_________________________

-- Identified as a Spambot.
-- Post locked from further editing.
-- User & IP Banned.

// Freshbite

User avatar
Freshbite
Posts: 3256
Joined: Thu Jan 14, 2010 3:02 pm
Location: Stockholm, Sweden.

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Freshbite » Tue Aug 10, 2010 11:42 am

Finally. I was starting to wonder when it would dare to show up again.

Endless_Nameless
Posts: 1
Joined: Sat Nov 20, 2010 7:34 am

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Endless_Nameless » Mon Nov 22, 2010 4:28 am

Hello all!!

I have to say the Humble Indie Bundle was really really great. I already had World of Goo, but had never even heard of the other games. They are all great in eachs own segment. Lugaru is probably one of the best fighting games that I have ever played (it is fast, it is fun, and the fight mechanincs is great. Besides, I still can't kill a wolf!)

But I have some problems with Gish and Aquaria. I tried to post in their forums, but they seem to be a little... empty.

I am in Ubuntu 10.10 32 bits, and both Aquaria and Gish had the same problem. The character constantly moves to the left. Non-stop. If I press other keys they work (even mouse), but any movement key works only dimly, and is again overwhelmed by this movement to the left. I tried to change the assigned keys, but it did not matter. This happens only in game, not in selection screens.

I think it can be some lib problem. Or some bitin the code. If anyone can direct me to the right direction, I could find what to change in the source code (Or I will install another Linux distro just for these games :P ).

I searched for a topic with this subject but could find none, but was afraid to star a new topic in first post!

Thank you for any help. What a great forum!

User avatar
Wilbefast
Posts: 1204
Joined: Wed Dec 31, 2008 2:32 pm
Location: In a sealed box shielded against environmentally induced quantum decoherence
Contact:

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by Wilbefast » Sun Nov 28, 2010 7:18 am

I sw
Endless_Nameless wrote:I am in Ubuntu 10.10 32 bits, and both Aquaria and Gish had the same problem. The character constantly moves to the left. Non-stop. If I press other keys they work (even mouse), but any movement key works only dimly, and is again overwhelmed by this movement to the left. I tried to change the assigned keys, but it did not matter. This happens only in game, not in selection screens.

I think it can be some lib problem. Or some bitin the code. If anyone can direct me to the right direction, I could find what to change in the source code (Or I will install another Linux distro just for these games :P ).
I swear I replied to this :? my connection really does suck here...

So now I have to write my whole post again :cry:
Okay, so: I'm afraid I'm not running 10.10 or 32 bit, so I can't really help. Generally I don't get the new version because they're buggy as hell, and 10.10 may well have been rushed a bit in order to make its 10/10/10 release date. Also, most of my problems have been with sound, not controls.
That said, if the problem is only with Gish and Aquaria it must be software, so maybe some sort of compatibility issue with SDL.

I can't find any similar problems in any of the usual channels, so it may be some kind of architecture-specific bug :| the only thing I can suggest is to try tapping the left button to see if you can get the LEFT_RELEASED signal across. This isn't really a fix but may make the games playable. Otherwise head over to the ubuntu forums.

tommis
Posts: 7
Joined: Wed Dec 22, 2010 6:18 pm

Re: FIXES: Humble Bundle on Ubuntu 9.10 64 bit

Post by tommis » Sun Apr 03, 2011 3:37 pm

I´m running 10.10, and i got a small problem. When i run gish from the command line it runs fine, but when i try to make shortcut for it to the gnome menu, it only displays slightly different shades of gray. Screenshot is from the menu. Any help?
Attachments
Screenshot-Gish.png
gish menu, bug´d
Screenshot-Gish.png (3.31 KiB) Viewed 6641 times

Post Reply