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.

9 Kommentare:

  1. Thank you very much. I couldn't get Bastion to install.

    AntwortenLöschen
  2. i too have some problems with bastion.

    it was very helpful to see your post, but unfortunately the game doesn't work after installation.

    First it crashed all the time, when i moved my mouse, but after I've applied a strange dll-mapping fix this issue has gone..
    (See: http://ubuntuforums.org/showthread.php?p=11988039#post11988039)

    Sadly this issue wasn't the only one. I got no 2d-rendering on my maschine.
    I see nearly nothing.

    I'm running a Fedora 17 x86-64 system on my maschine. Nothing realy works fine..

    AntwortenLöschen
    Antworten
    1. Thanks.
      I've added your issue with fix to the post above for maybe other have that too.

      What graphics card do you have?
      Do you have the right drivers installed? Especially those for fast 3D rendering (like those binary blobs from AMD or nVidia)?

      Executing:
      glxinfo | grep "direct rendering"
      should bring you: Yes

      That one might also be interesting:
      glxinfo | grep OpenGL
      I'm getting this for my AMD Radeon gpu:
      OpenGL vendor string: Advanced Micro Devices, Inc.
      OpenGL renderer string: ATI Mobility Radeon HD 4200 Series
      OpenGL version string: 3.3.11631 Compatibility Profile Context
      OpenGL shading language version string: 3.30


      Maybe that one is one for you:
      (http://ubuntuforums.org/showpost.php?p=11990023&postcount=69)

      "For people with Intel graphics and a black sreen 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!"


      Also try the new build of Bastion. That might be better.

      Good Luck!

      Löschen
  3. Wohoo, that is incredible! Thank you for your nice help!

    force_s3tc_enable=true ./Bastion.bin.x86_64

    Works perfekt for me!

    I'll suggest it to one of the Bastion-Developers I've contacted in the past.

    AntwortenLöschen
  4. When I try to run it I get this error

    Unhandled Exception: System.Exception: Shader error
    at Microsoft.Xna.Framework.Graphics.Effect.CompileShaderFromSource (System.String source, ShaderType shaderType) [0x00000] in :0

    Any tips?

    AntwortenLöschen
    Antworten
    1. Wow.
      I couldn't find anything about it.

      The game you try is Bastion on Linux I guess?!?

      "Bastion requires a minimum resolution of 1024x768."
      Try reinstalling your graphic drivers.
      Try installing the propritary drivers for nVidia or AMD/ATI if you have one of those.
      Check glxinfo for:
      - direct rendering: Yes
      - OpenGL version string being 2.1 or higher
      - OpenGL shading language version string being 1.2 or higher

      Drop Supergiant Games a line:
      http://supergiantgames.com/?page_id=3

      Löschen
    2. Hey sorry it took so long to respond I didn't try to run Bastion again until today. In case anyone reads this the problem was a bad nvidia driver installation. Apparently everything worked fine except direct rendering with some programs including Bastion. I don't know why.

      Löschen
    3. How did you fix this? I'm, getting this error on Steam for Linux Bastion. Which Driver did you use?

      Löschen
    4. Is your driver running OK?
      Do you get good output on glxinfo? Which?
      Can you play other graphically heavy games?

      http://steamcommunity.com/app/107100/discussions/0/864959809779380589/

      https://bbs.archlinux.org/viewtopic.php?id=156731

      You might also wanna try looking & posting on:
      http://steamcommunity.com/app/221410/discussions/3/

      And especially on:
      https://github.com/ValveSoftware/steam-for-linux/issues


      Good luck!

      Löschen

[Review/Critic] UDock X - 13,3" LapDock

The UDock X - 13.3" LapDock is a combination of touch display, keyboard, touch-pad and battery. It can be used as an extension of vari...