EDIT: SCRIPT NO LONGER WORKS , OG updated and changed how the #version stuff works, and removed the need to add the version number on the top of all .vert and .frag files, but he arose another problem that I do not know how to fix... By the way this is tommydrum, I made this before I bought OG myself (no money back then).
Tested on my Laptop (ubuntu 14.04 beta, Intel HD 3000, updated graphics from 01.org/linuxgraphics )
For informational purposes:
So.. I hacked up a script for Ubuntu (and other debian based OS's) to import the version to all .vert and .frag files. Finally made it work on my laptop with ubuntu gnome on intel graphics.
so.. you want those scripts..
You will need 3 files: header.txt, vert.sh, and frag.sh. Place those files in /Overgrowth/Data/GLSL/. For now just copy those files to your clipboard.
DOWNLOAD
https://www.dropbox.com/s/wiru54iwit3p0iz/header.txt
https://www.dropbox.com/s/7uec0xaldayedmu/frag.sh
https://www.dropbox.com/s/l2s9551yloy43zz/vert.sh
INSTALLATION
To copy it there, you might need to be root to do so, so ctrl-t this guy up.
once that's up, navigate to your Overgrowth folder, default is /usr/local/Games/Overgrowth/ then go further to /Data/GLSL. Once you see all those files, right click on the side white space, and paste the 3 files there. Close the window.
Now..
to keep terminal root'ed
Code: Select all
cd /usr/local/Games/Overgrowth/Data/GLSL
or wherever you have OG installed
for cleanup
Now it should work
Notice, level 3 still gets XML error, that is unrelated.
Tell me if anything went haywire please? This should work on all versions/distros of Ubuntu, as well as other debian based OS's
EDIT Repeating, this no longer works, if you accidently installed this anyways, I made an undo script below. Just chmod a+x it and execute it inside the GLSL directory.
https://www.dropbox.com/s/s5pz02e2qosz3qk/undo.sh