Bit Blot Forum

Aquaria => General => Topic started by: GMMan on August 14, 2010, 03:41:15 PM

Title: Aquaria Linux Binaries
Post by: GMMan on August 14, 2010, 03:41:15 PM
For all those people who missed the Humble Indie Bundle but have a copy of Aquaria and want to be able to run it on Linux: I present you with the official Linux binaries from the HIB, compiled by icculus.

IMPORTANT: This archive contains ONLY the binaries for Aquaria. There is NO GAME DATA! To get the game data, please copy and paste them from your purchased copy of Aquaria. (Not even the scripts are included, even though they are open source.)

To install, extract the archive to where your system install games. Rename the folder with out the "-bin". Place all of your game data inside the folder. Set the permissions on all of the files to whatever it's supposed to be and make launcher menu items for it. There's an icon you can use inside th folder. Then knock yourself out.

Title: Re: Aquaria Linux Binaries
Post by: dugan on August 31, 2010, 11:30:06 PM
Since Aquaria is now open source, the best way to get Linux binaries is to build them ( This is probably why Linux binaries were never released, apart from the ones included in the Humble Bundle.

Your mirrored binaries will come in handy if the build fails.

Title: Re: Aquaria Linux Binaries
Post by: vincent on September 02, 2010, 01:41:42 AM
Just out of curiousity, I decided to try to build Aquaria for myself as well. The Humble Indie Bundle only released 32-bit binaries of Aquaria, and since I'm currently running 64-bit Linux, I wanted to see if I could get a 64-bit binary working on my laptop. Couldn't find any guides though, aside from the link above, but that didn't work without a few I present to you all another guide for those who want to build Aquaria on Linux (Ubuntu 10.04/Linux Mint 9, and derivatives), and want to know exactly how! ;)

Code contained in code brackets need to be executed in a terminal.

1. Install some necessary packages; build-essential contains g++ and make, both of which are required for compiling Aquaria (and cmake). mercurial is needed in order to fetch Aquaria's source code. libopenal-dev is also needed, otherwise cmake complains about not being able to find openal.
sudo apt-get install mercurial build-essential cmake liblua5.1-0-dev libogg-dev libvorbis-dev libopenal-dev libsdl1.2-dev

2. Download Aquaria's source code. A directory called "aquaria" will be created in your Home folder.
hg clone

3. Navigate to the newly created "aquaria" directory.
cd aquaria

4. A small change to CMakeLists.txt is necessary if you don't want a large binary with debug stuff included in. Open CMakeLists.txt with your preferred text editor (gedit/kate/leafpad/nano/vi/emacs,  etc.), e.g.
gedit CMakeLists.txt

Near the top of the file, you'll see this:

    SET(CMAKE_BUILD_TYPE RelWithDebInfo CACHE STRING "None Debug Release RelWithDebInfo MinSizeRel" FORCE)

Change that to the following:

    SET(CMAKE_BUILD_TYPE Release CACHE STRING "None Debug Release RelWithDebInfo MinSizeRel" FORCE)

Save, and close the file.

5. Generate a makefile with cmake. (If you don't have libopenal-dev, this is where you'll get stuck.)
cmake CMakeLists.txt

6. Compile Aquaria's source code. This may take a while, depending on your computer. On my Core 2 Duo laptop, the whole process took around 4 minutes that with the 2+ hours it takes me to compile a full Linux kernel.

Once it's finished, you'll find your newly created binary (named "aquaria", of course) in the aquaria directory created in step 2, i.e. ~/aquaria/aquaria. Copy that binary, and navigate to whichever directory that contains your game data and the original "aquaria" executable; I put all my Humble Indie Bundle games in a directory called ~/Games, so my Aquaria game data is in ~/Games/Aquaria. Rename the original "aquaria" binary to something like "aquaria_old", and paste your newly compiled binary here. Now try running Aquaria should work without a problem.

Just to prove it worked:

vincent@vincent-laptop ~ $ file ~/Games/Aquaria/aquaria
/home/vincent/Games/Aquaria/aquaria: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.15, not stripped
vincent@vincent-laptop ~ $ file ~/Games/Aquaria/aquaria_old
/home/vincent/Games/Aquaria/aquaria_old: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.18, not stripped

Hope this guide helps! :)

Title: Re: Aquaria Linux Binaries
Post by: Kloyd Niel on October 22, 2010, 12:37:20 AM
Hi vincent ,

Thanks for the codes that you provide.
I really appreciate this site for welcoming me here.thank you Guys. God Bless.

how to treat depression (

Title: Re: Aquaria Linux Binaries
Post by: achurch on April 03, 2011, 02:35:33 AM
One addendum to this (sorry for the gravedig, but this was just linked from another thread):

If you compile a new binary from the Icculus source code, you must replace your existing scripts with the scripts from the "game_scripts" directory. For example, if you have the game installed in "~/Games/Aquaria":

cp -a ~/Games/Aquaria/scripts ~/Games/Aquaria/scripts-original
cp -a game_scripts/scripts/* ~/Games/Aquaria/scripts/

(The first line creates a backup of the original scripts, just in case you need them in the future.)

If you don't update the scripts, there's at least one enemy (the Mantis Shrimp) which won't work correctly in the new executable.

Title: Re: Aquaria Linux Binaries
Post by: vincent on May 13, 2011, 05:04:39 PM
It looks like there's been a new flurry of activity in the Icculus repository, so I've set up a PPA (which I'll update from time to time) for Ubuntu users who want the latest Aquaria binaries (no game data, of course) without having to compile them. Enjoy! :)

Title: Re: Aquaria Linux Binaries
Post by: svenmeier on December 10, 2011, 05:46:54 PM

luckily I was able to aquire an official Aquaria build for Linux as part of a software bundle (I already bought the Windows version a few years ago).

In comparison to your binaries this version is performing much better. Do you know why graphics performance should be superior in the official build?


Title: Re: Aquaria Linux Binaries
Post by: GMMan on December 11, 2011, 10:04:41 PM
It should be the same version, unless they have newer builds from the .deb/.tar.gz/.rpm packages. Also, this is a 32-bit build, so if you downloaded the 64-bit build the game might have better performance.