http://wiki.wolfire.com/api.php?action=feedcontributions&user=Tetamusha&feedformat=atomWolfire Games Wiki - User contributions [en]2024-03-19T06:26:18ZUser contributionsMediaWiki 1.30.0http://wiki.wolfire.com/index.php?title=Overgrowth_Linux&diff=4230Overgrowth Linux2014-12-31T13:10:30Z<p>Tetamusha: Addead a few extra steps for the 64-bit Ubuntu OS as well as some additional fixes</p>
<hr />
<div>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.<br />
<br />
=Installer=<br />
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.<br />
<br />
<pre># readlink -f /bin/sh<br />
/bin/bash</pre><br />
<br />
If the installer won't load and ''/bin/sh'' doesn't point to bash try to force using bash.<br />
<br />
<pre># bash overgrowth-xxx-linux.sh</pre><br />
<br />
''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.<br />
<br />
=Distributions=<br />
==Debian==<br />
This also includes Ubuntu, Mint etc.<br />
<br />
===Libraries===<br />
<pre># apt-get install libfreeimage3<br />
# apt-get install libalut0</pre><br />
<br />
===64-bit systems===<br />
Overgrowth tries to access the 32-bit (i386) version of many libraries whose 64-bit version (amd64) might already be installed in your system. In order to install the 32-bit version of these libraries, append '':i386'' at the end of the package name when using apt-get. For example, when running Overgrowth Alpha 208 on a 64-bit Ubuntu 14.04, the following 32-bit libraries must be installed, despite its 64-bit versions already being installed:<br />
<pre>sudo apt-get install libgconf2-4:i386 libnss3:i386 libgtk2.0-0:i386 libglu1-mesa:i386 libxft2:i386</pre><br />
<br />
==Gentoo==<br />
===Libraries===<br />
Overgrowth needs different libraries in order to work. This list might not be complete.<br />
<br />
<pre># emerge -av gnome-base/gconf<br />
# emerge -av media-libs/freeimage<br />
# emerge -av media-libs/freealut<br />
# emerge -av media-libs/libpng:1.2</pre><br />
<br />
===Groups===<br />
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.<br />
<br />
<pre># gpasswd -a your_user audio<br />
# gpasswd -a your_user video</pre><br />
<br />
===SUMLauncher===<br />
SUMLauncher does not work with ''dev-java/sun-jdk'', you will need ''dev-java/icedtea-bin'' to use it.<br />
<br />
<pre># emerge -av dev-java/icedtea-bin<br />
# eselect java-vm list<br />
Available Java Virtual Machines:<br />
[1] icedtea-bin-6 <br />
[2] sun-jre-bin-1.6 system-vm<br />
# eselect java-vm user set 1<br />
</pre><br />
<br />
==Arch==<br />
You can install the package [https://aur.archlinux.org/packages/overgrowth/ overgrowth] from the AUR.<br />
===Libraries===<br />
If you install the AUR package all required libraries should be pulled in automatically. If you install Overgrowth manually or using SUMLauncher you will need to acquire the dependencies manually. The following should provide a good starting point:<br />
<pre># pacman -S --needed freeimage freealut sdl</pre><br />
<br />
===SUMLauncher===<br />
You can install the package [https://aur.archlinux.org/packages/sumlauncher/ sumlauncher] from the AUR.<br />
<br />
=Problems and solutions=<br />
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.<br />
<br />
==Errors about GLSL appear, mentioning GLSL versions.==<br />
<br />
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.<br />
<br />
You can use BASH code:<br />
<br />
<pre><br />
# cd to your Overgrowth/Data/GLSL<br />
cd /usr/local/games/Overgrowth/Data/GLSL<br />
# adds #version 130 to files<br />
for f in $(ls *.vert *.frag); do echo -e "#version 130\n$(cat $f)" > $f; done<br />
</pre><br />
<br />
==Textures are missing. Loading screen shows a white box and the game appears in black and white==<br />
<br />
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<br />
<br />
S3TC <your distro here><br />
<br />
Also, you may need to start with "LC_ALL=en_US" parameter e.g.:<br />
<pre>LC_ALL=en_US ./Overgrowth.bin.x86_64 </pre><br />
<br />
==Could not find "Data" folder==<br />
<br />
Unlike Windows systems, Unix-based systems are mostly case-sensitive in its directory paths. This reflects when, after starting Overgrowth, the system tries to find a "Data" folder, when the folder that is provided is actually called "data", without the capital D. Changing the lowercase D to uppercase should fix this issue.<br />
<br />
==LaunchApp: failed to execvp: [...]/AwesomiumProcess==<br />
<br />
In case the game simply freezes after being started, it might be a good idea to start it through the terminal in order to read its output log:<br />
<pre>./Overgrowth.bin.x86</pre><br />
<br />
You might be able to see an error message similar to this:<br />
<br />
''LaunchApp: failed to execvp:<br />
<br />
[path to Overgrowth]/lib/AwesomiumProcess''<br />
<br />
This means that the system has no permission to run the file called AwesomiumProcess inside the lib directory. In order to grant the necessary permissions for the file, open a terminal, go to the lib folder where AwesomiumProcess is and run the following command:<br />
<br />
<pre>chmod +x AwesomiumProcess</pre><br />
<br />
[[Category: Overgrowth]]</div>Tetamusha