Freitag, 1. Juni 2012

The Humble Indie Bundle V -- on Debian 64

The Humble Indie Bundle V
is going around.
You can find it currently here: https://www.humblebundle.com/

Trying to run those games I got some error.

First: Superbrothers: Sword & Sworcery EP

After extracting the tar.gz I run the run.sh getting this:
$ ./run.sh
dirname: extra operand `Indie'
Try `dirname --help' for more information.
./run.sh: 20: ./run.sh: ./swordandsworcery: not found
The problem arises from having the game in a location with spaces that looks like this "/Humble Indie Bundle 5/".
So I changed the run.sh to look like this:
#!/bin/sh
# Get game directory
GAMEDIR=`dirname "$(readlink -f "$0")"`
LIB=$GAMEDIR/lib
BIN=$GAMEDIR/bin

# Ensure the log directory exists
LOGDIR=~/.capy/SwordAndSworcery
mkdir -p $LOGDIR

# For multi-monitor displays, choose a screen to display on to avoid having
# the game be displayed in the middle across both screens in fullscreen mode
#export SDL_VIDEO_FULLSCREEN_DISPLAY=0

# Modify library paths here
export LD_LIBRARY_PATH="$LIB":"$LD_LIBRARY_PATH"

# Run the game and try to log any errors if any
cd "$BIN"
./swordandsworcery $@ 2>&1 | tee -a $LOGDIR/log.txt

exit
(You could also move the game to a position where is no space inside the path.)
Second: LIMBO
It is not a native game as it runs within wine that comes with the package. Using the launch-limbo.sh I haven't encountered any problems so far.
I'm not quite happy seeing games using wine inside a bundle. But at least it is packed good enough for endusers to nearly not notice.

Third: Bastion
$ ./Bastion-HIB-2012-05-29-2.sh
Verifying archive integrity... All good.
Uncompressing Installer for Bastion.............
Uncompressing sub archive...........................................................................................................
Collecting info for this system...
Operating system: linux
CPU Arch: x86_64
Error: Couldn't find any suitable frontend for your system
There might be different reasons why this happens.
Maybe it really couldn't find a suitable frontend or your /tmp is full.
Therefore you can try some frontends like this:
$ ./Bastion-HIB-2012-05-29-2.sh --frontend=ncurses

Or the long way:
1) Extract it (Be sure to have NO space in the extraction path):
$ ./Bastion-HIB-2012-05-29-2.sh --target ~/BastionExtract --noexec --keep
Creating directory ~/BastionExtract
Verifying archive integrity... All good.
Uncompressing Installer for Bastion.............
2) Move into the new folder:
cd ~/BastionExtract

3) Execute the installer:
$ ./startupinstaller.sh
Uncompressing sub archive....................................................................
Collecting info for this system...
Operating system: linux
CPU Arch: x86_64
Nixstaller version 0.5.2, Copyright (C) 2006 - 2011 of Rick Helmus
Nixstaller comes with ABSOLUTELY NO WARRANTY.
Nixstaller is free software, and you are welcome to redistribute it
under certain conditions; see the about section for details.
Some people are having an "exception error in Bastion when they move their mouse under Linux" with a strange DLL problem like this:
Unhandled Exception: System.TypeInitializationException: An exception was thrown by the type initializer for OpenTK.Input.Mouse ---> System.DllNotFoundException: libXi
at (wrapper managed-to-native) OpenTK.Platform.X11.Functions:XISelectEvents (intptr,intptr,OpenTK.Platform.X11.XIEventMask&,int)
(Thanks to Sebastian B. for pointing out:
http://urfoex.blogspot.de/2012/06/humble-indie-bundle-v-on-debian-64.html?showComment=1338670600798#c1059912225799058008)

The solution to this:
in the bastion folder (probably: /usr/local/games/Bastion ) in the mono folder. Edit the "config" file.
Add the following line between the <configuration> tags:
<dllmap dll="libXi" os="linux" target="libXi.so.6">
(http://blog.humblebundle.com/post/24135140832/introducing-humble-indie-bundle-v#comment-544763669)


"For people with Intel graphics and a black screen in Bastion, try this:
Quote:
To fix Bastion on Intel integrated cards, do something like the following:
force_s3tc_enable=true ./Bastion.bin.x86_64
Setting this environment variable enables a specific texture compression algorithm in the video driver. With this, the game runs great on my Intel chipset.
I followed all the tricks given here for Bastion and then ran into the black screen problem (I got a cursor and the menu was there, I just couldn't see it). Found this tip here:
https://bbs.archlinux.org/viewtopic.php?pid=1109245
Seems to work now."

"I installed the package driconf and was able to enable the option in that utility. The screen is blank no more!"


(There is also a new update available. Changelogs:
http://support.humblebundle.com/customer/portal/articles/585756-bastion-6-11-12)


Fourth: Psychonauts
(Still downloading … Will be added when done.)

Fifth: Amnesia: The Dark Descent
I got that one long time ago. So I don't test this package yet as I guess that they have made a decent work here again.