Compilation instructions for Ubuntu 12.04 32 bit - Printable Version +- Frictional Games Forum (read-only) (https://www.frictionalgames.com/forum) +-- Forum: Open Source Collaboration (https://www.frictionalgames.com/forum/forum-27.html) +--- Forum: Overture (https://www.frictionalgames.com/forum/forum-29.html) +--- Thread: Compilation instructions for Ubuntu 12.04 32 bit (/thread-56758.html) |
Compilation instructions for Ubuntu 12.04 32 bit - onager - 04-09-2020 Hello, I have prepared Compilation instructions fpr Penumbra: Overture on Ubuntu 12.04 32 bit. Note that game still has issues with graphics on this OS (or may be it's just on my VirtualBox VM): shader settings above "very low" are not usable, zooming in when interacting with objects is broken, but otherwise game is playable (at least a few first levels, I did not play beyond that). First and foremost, Kudos to:
Code: mkdir OvertureSource Code: cd OALWrapper Download archive and unpack it to "dependencies" folder. Now copy assets from your Penumbra: Overture folder to "redist" folder. I tried running game using assets from Windows and Linux versions, it worked in both cases, so I don't think it matters. You need to copy not only subfolders, but also files "materials.cfg" and "resources.cfg". Now it's time to install a lot of packages: Code: sudo apt-get install libalut-dev libopenal-dev libvorbis-dev libsdl1.2-dev libsdl-image1.2-dev libogg-dev libpng-dev nvidia-cg-toolkit glee-dev libtinyxml-dev mesa-common-dev libglu1-mesa-dev libgl-dev libgl1-mesa-dev libgl-dev libgles1-mesa-dev g++ cmake Let's compile! Code: mkdir PenumbraOverture-build Optionally you can compile a few jobs in parallel, although I don't have any particular recommendations for number of jobs run simultaneously. You can try value N = <number of processor cores in system> - 1 Code: make -j N If everything went well, let's copy executable go to "redist" folder and run the game. Code: cp overture.bin ../redist/ Logs and settings are stored at "~/.frictionalgames/Penumbra/Overture". Settings file is quite readable, so don't be too afraid to edit it manually. Note that list of problems remains, you can check my other post for details. Compilation instructions for Angelscript We will be compiling version 2.7.1b, same as used with original release of Penumbra: Overture. You can download all releases at Angelscript download page After downloading unpack archive and go to "angelscript/projects/gnuc" subfolder, here you will find "makefile". Open it with any text editor and find a line "CXXFLAGS = -g -Wall". Comment it (in case you want to go back to original compilation flags) and add a new line like this: Code: # CXXFLAGS = -g -Wall Now start compilation by running "make" in the same folder. Compiled library ("libangelscript.a") can be found at "<Angelscript root>/angelscript/lib". Copy it to "dependencies" subfolder. Final file structure of "OvertureSource" folder should look like this: Code: OvertureSource I hope this material was useful. I may edit this post in future to improve or fix errors. RE: Compilation instructions for Ubuntu 12.04 32 bit - erolmatei - 05-22-2020 Hi, I was unaware of your guide and managed to get an almost fully working solution on a modern distro (Arch Linux). I also managed to use the most recent OALWrapper and fixed some compilation issues, however I am getting a crash on some specific ogg file loading, as I mentioned in another post. Thank you for the guide, and shame on me for not reading it earlier. EDIT: Oh lol I just saw the fixup for AngelScript. It was the culprit for me as well. RE: Compilation instructions for Ubuntu 12.04 32 bit - ced117 - 05-22-2020 Hello, Right, this is really useful. Thank you onager :-) |