Hey, we have forums!

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - vincent

Pages: [1]
1
General / Re: Aquaria on Ubuntu Software Center
« on: June 18, 2012, 05:50:23 am »
Is in at https://github.com/fgenesis/Aquaria_clean, will update my hg repo probably after finishing russian translation patch.
Totally overlooked that this was reported on the mailing list as well...


The latest source from your git repo still fails to build on quantal/gcc 4.7. Build log here: https://launchpadlibrarian.net/107860451/buildlog_ubuntu-quantal-i386.aquaria_1.1.3%2B20120617-1~ppa1~quantal1_FAILEDTOBUILD.txt.gz

2
General / Re: Aquaria on Ubuntu Software Center
« on: June 18, 2012, 04:38:29 am »
As a consumer, if I were to spend money on a game via whatever distribution channel I prefer (e.g. Steam, HIB, USC, etc.), I expect it to work out of the box, e.g. I download an installer from the distributor, I run it, and voila, I'm ready to play (in the USC's case, I open it up, click a few buttons, deb is installed, and I can run it right away). I'm not too keen on paying for a binary file, and then realizing that I have to pay for and download the game's data separately, and then move the game data into the same folder, fiddle with permissions, etc. At that point (assuming I'm your average consumer), I would've just given up, asked for my money back, and moved on to another game.

The only people who have the rights to sell a complete game bundle for Aquaria (with engine and all game data bundled together) are Alex and Derek, so it's up to them whether they choose to support the USC or not. IMHO, selling a GPL'ed game binary (without data) is pointless; either the end-user has no idea why the game doesn't work out of the box and is reluctant to invest any more effort to get it working, or the end-user knows that the engine is GPL'ed and source is available, and they can compile it themselves.

(I'm not against having Aquaria on the USC; it's just that I, personally, wouldn't bother putting time and effort into making it happen, unless Alex and Derek also express interest in uploading Aquaria to the USC.)

3
General / Re: Aquaria on Ubuntu Software Center
« on: June 17, 2012, 03:47:47 am »
I'll try a re-build with <stdint.h> included this time around, thanks!

4
General / Re: Aquaria on Ubuntu Software Center
« on: June 17, 2012, 03:40:53 am »
Looks like I spoke too soon...aquaria still fails to build on Ubuntu quantal (gcc 4.7). Builds perfectly fine on previous Ubuntu releases, including precise (which uses gcc 4.6).

Build log: https://launchpadlibrarian.net/107797134/buildlog_ubuntu-quantal-i386.aquaria_1.1.3%2B20120616-1~ppa1~quantal1_FAILEDTOBUILD.txt.gz

Tail of build log is as follows:
Code: [Select]
[ 26%] Building CXX object CMakeFiles/aquaria.dir/Aquaria/Network.cpp.o
/usr/bin/c++   -DBBGE_BUILD_ACHIEVEMENTS_INTERNAL=1 -DAQUARIA_CUSTOM_BUILD_ID=\"-2012-06-16\" -DGL_GLEXT_LEGACY=1 -DHAVE_PUTENV=1 -DTIXML_USE_STL=1 -DBBGE_SKIP_CONFIG_HEADERS=1 -DBBGE_BUILD_SDL=1 -DBBGE_BUILD_FRAMEBUFFER=1 -DBBGE_BUILD_OPENGL=1 -DBBGE_BUILD_OPENGL_DYNAMIC=1 -DBBGE_BUILD_FMOD_OPENAL_BRIDGE=1 -DBBGE_BUILD_VFS=1 -DAQUARIA_FULL=1 -DAQUARIA_BUILD_CONSOLE=1 -DAQUARIA_BUILD_SCENEEDITOR=1 -DBBGE_BUILD_UNIX=1 -DLUA_USE_ULONGJMP=1 -DHAVE_STRCASECMP -O3 -DNDEBUG -I/build/buildd/aquaria-1.1.3+20120616/BBGE -I/build/buildd/aquaria-1.1.3+20120616/BBGE/GL -I/build/buildd/aquaria-1.1.3+20120616/Aquaria -I/build/buildd/aquaria-1.1.3+20120616/ExternalLibs/FTGL/include -I/build/buildd/aquaria-1.1.3+20120616/ExternalLibs/freetype2/include -I/usr/include/lua5.1 -I/usr/include/ogg -I/usr/include/vorbis -I/usr/include/SDL -I/usr/include/AL -I/build/buildd/aquaria-1.1.3+20120616/ExternalLibs -I/build/buildd/aquaria-1.1.3+20120616/ExternalLibs/ttvfs    -pipe -fsigned-char -fno-stack-protector -o CMakeFiles/aquaria.dir/Aquaria/Network.cpp.o -c /build/buildd/aquaria-1.1.3+20120616/Aquaria/Network.cpp
In file included from /build/buildd/aquaria-1.1.3+20120616/Aquaria/Network.cpp:1:0:
/build/buildd/aquaria-1.1.3+20120616/ExternalLibs/minihttp.h:72:5: error: 'intptr_t' does not name a type
make[3]: *** [CMakeFiles/aquaria.dir/Aquaria/Network.cpp.o] Error 1

5
General / Re: Aquaria on Ubuntu Software Center
« on: June 17, 2012, 03:23:00 am »
False.Genesis, could you add the following patch to your repo? It fixes a build failure with gcc 4.7 (see http://gcc.gnu.org/gcc-4.7/porting_to.html for details).

Code: [Select]
--- a/BBGE/Joystick.cpp
+++ b/BBGE/Joystick.cpp
@@ -18,6 +18,7 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
+#include <unistd.h>
 #include "Core.h"
 
 #if defined(BBGE_BUILD_WINDOWS) && defined(BBGE_BUILD_XINPUT)

I don't really think there's any point in having a community-maintained version of Aquaria on the USC at the moment. Afaik, there's no free data/music for Aquaria developed by the community (à la FreeGish, for example), so we would need to have Alex/Derek take the initiative and upload Aquaria to the USC (since they're the only ones who have the rights to distribute Aquaria's game assets). Probably not going to happen anytime soon...

Of course, there's also the fact that I solely run Debian nowadays, so I personally don't care about the USC at all. :P

6
General / Re: Aquaria Linux Binaries
« on: May 13, 2011, 07: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! :)

https://launchpad.net/~vincent-c/+archive/aquaria

7
General / Re: Aquaria Linux Binaries
« on: September 02, 2010, 03: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 modifications...so 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.
Code: [Select]
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.
Code: [Select]
hg clone http://hg.icculus.org/icculus/aquaria
3. Navigate to the newly created "aquaria" directory.
Code: [Select]
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.
Code: [Select]
gedit CMakeLists.txt
Near the top of the file, you'll see this:

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

Change that to the following:


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

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.)
Code: [Select]
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 only...compare that with the 2+ hours it takes me to compile a full Linux kernel.
Code: [Select]
make
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 now...it 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! :)

Pages: [1]