Difference between revisions of "Overgrowth Linux"
Line 53: | Line 53: | ||
==Errors about GLSL appear, mentioning GLSL versions.== | ==Errors about GLSL appear, mentioning GLSL versions.== | ||
− | This is another one that happens with Intel graphics on Linux. Add #version 130 to the tops of all files that end with .vert or .frag, but ''not'' any of the files that end with .glsl, in the Overgrowth/Data/GLSL directory. | + | This is another one that happens with Intel graphics on Linux. Add #version 130 to the tops of all files that end with .vert or .frag, but ''not'' any of the files that end with .glsl, in the Overgrowth/Data/GLSL directory. If you install mods that provide new shaders you may need to fix them as well. |
==Textures are missing. Loading screen shows a white box and the game appears in black and white== | ==Textures are missing. Loading screen shows a white box and the game appears in black and white== |
Revision as of 19:41, 28 September 2013
The Linux version of Overgrowth has different dependencies which need to be fulfilled, otherwise the game won't run. Those dependencies can vary from distribution to distribution.
Contents
Installer
The Linux installer is a Bash script which loads a graphical installer. The shebang points to /bin/sh, but it will not work with every shell.
# readlink -f /bin/sh /bin/bash
If the installer won't load and /bin/sh doesn't point to bash try to force using bash.
# bash overgrowth-xxx-linux.sh
root rights are not necessarily required to install Overgrowth. If you only have a single user on your system (that wants to play Overgrowth) it is not a bad idea to install it to your home directory, because then you do not have to start SUMLauncher as root user.
Distributions
Debian
This also includes Ubuntu, Mint etc.
Libraries
# apt-get install libfreeimage3 # apt-get install libalut0
Gentoo
Libraries
Overgrowth needs different libraries in order to work. This list might not be complete.
# emerge -av gnome-base/gconf # emerge -av media-libs/freeimage # emerge -av media-libs/freealut # emerge -av media-libs/libpng:1.2
Groups
If your user is not already in this groups you have to add him. Otherwise the game may not start and it is even possible that X will completely crash.
# gpasswd -a your_user audio # gpasswd -a your_user video
SUMLauncher
SUMLauncher does not work with dev-java/sun-jdk, you will need dev-java/icedtea-bin to use it.
# emerge -av dev-java/icedtea-bin # eselect java-vm list Available Java Virtual Machines: [1] icedtea-bin-6 [2] sun-jre-bin-1.6 system-vm # eselect java-vm user set 1
Problems and solutions
Overgrowth currently has many severe bugs and issues on Linux. Luckily, there are fixes or workarounds for most of them. The below specifically assumes a199, so please upgrade before trying the suggestions here.
Errors about GLSL appear, mentioning GLSL versions.
This is another one that happens with Intel graphics on Linux. Add #version 130 to the tops of all files that end with .vert or .frag, but not any of the files that end with .glsl, in the Overgrowth/Data/GLSL directory. If you install mods that provide new shaders you may need to fix them as well.
Textures are missing. Loading screen shows a white box and the game appears in black and white
Overgrowth requires S3TC texture support, which is not enabled by default in open source graphics drivers. If you have this issue, you need to set up S3TC texture support. You can probably find out how by googling
S3TC <your distro here>