Hey, we have forums!

Author Topic: Aquaria on PSP  (Read 28219 times)

0 Members and 1 Guest are viewing this topic.

Offline achurch

  • Bit Bit
  • ****
  • Posts: 90
    • View Profile
Re: Aquaria on PSP
« Reply #15 on: July 29, 2010, 05:15:01 pm »
I don't want to either get anyone's hopes up, or make Alec feel bad because I'm messing with his engine so much (: but I'm actually working on that rewrite now. My intent is to put together a system interface layer and rewrite BBGE on top of that; if all goes according to plan, the Aquaria code should then be platform-independent, and an Android or Wii or what-have-you port should be as simple as adding a new port directory to the system interface layer. (Well, plus hardware-specific input rules and stuff, but you get the idea.)

If I feel really ambitious, I may try messing with the map data so it can use 3D vertex coordinates and shaders -- I suspect the current 2D setup is a large part of why it runs slow on both the PSP and low-end PCs. My old engine was capable of handling 3D environments with upwards of 80k vertices at 60fps on the PSP, so there's still plenty of potential there. That's still a ways off, though, plus I don't know whether it can be done without needing to include modified map files (which is of course out of bounds).

It crashed and shut itself off when I tried to reenter home waters, but when I relaunched it it worked ok, so no reproducing that bug, sorry.

I had that happen once as well (but only once) -- I suspect it's memory fragmentation, but I haven't been able to track it down. For the time being, I guess just remember to save early and often.

Offline Alec

  • Administrator
  • Dream Bit
  • **********
  • Posts: 2211
    • View Profile
Re: Aquaria on PSP
« Reply #16 on: July 29, 2010, 11:05:51 pm »
That sounds cool to me, if you want any help let me know. :)

Offline Mortimer

  • Mini Bit
  • **
  • Posts: 9
    • View Profile
Re: Aquaria on PSP
« Reply #17 on: July 31, 2010, 10:03:31 pm »
Wow, I really hope you can make this work  :)

Maybe it's a stupid question, but I can't figure out where to download the EBOOT, is it available at the moment?
« Last Edit: July 31, 2010, 10:34:42 pm by Mortimer »

Offline Justme8800

  • Mini Bit
  • **
  • Posts: 6
    • View Profile
Re: Aquaria on PSP
« Reply #18 on: July 31, 2010, 11:50:20 pm »
Wow, I really hope you can make this work  :)

Maybe it's a stupid question, but I can't figure out where to download the EBOOT, is it available at the moment?

See, the EBOOT file contains all the Aquaria assets (music, art, etc.) that are NOT free. That's why there's not a direct download link. You need to have the linux version of Aquaria installed (the one from the Humble Bundle works), then run achurch's builder and direct it to the aquaria directory. It will take maybe half an hour to process all the files, and it will spit out a working EBOOT for you.

There might be a way to get the builder running under OS X using x11, I'm not sure. I doubt it will work in windows. :p

If you don't have linux, you can download a copy of virtualbox and an Ubuntu iso, both are free software and VB will work on practically any host OS.

Offline achurch

  • Bit Bit
  • ****
  • Posts: 90
    • View Profile
Re: Aquaria on PSP
« Reply #19 on: August 01, 2010, 03:50:56 am »
You need to have the linux version of Aquaria installed (the one from the Humble Bundle works), then run achurch's builder and direct it to the aquaria directory. It will take maybe half an hour to process all the files, and it will spit out a working EBOOT for you.

Just a quick clarification -- you can use the data from the Windows version of Aquaria, as long as you make sure Linux can see the Aquaria install directory (the one with the "data" and "gfx" and all those folders inside it). But yeah, that's why there's no direct download link: the PSP needs special preprocessed versions of the game data to run properly, and naturally I can't distribute those.

Alec -- thanks for the OK! (: I'll let you know if I have any questions.

Offline Mortimer

  • Mini Bit
  • **
  • Posts: 9
    • View Profile
Re: Aquaria on PSP
« Reply #20 on: August 01, 2010, 05:09:04 am »
Oh I see, I was thinking about this totally the wrong way, it would be more convenient for me if there was a windows compiler, but I do have a Ubuntu partition collecting dust, I'll try it out tomorrow.

Offline achurch

  • Bit Bit
  • ****
  • Posts: 90
    • View Profile
Re: Aquaria on PSP
« Reply #21 on: August 01, 2010, 05:53:29 am »
Yeah, sorry about the lack of a Windows version -- my Windows build environment is borked at the moment.

Offline lasrmountedmoai

  • One Bit
  • *
  • Posts: 1
    • View Profile
Re: Aquaria on PSP
« Reply #22 on: January 21, 2011, 06:24:08 pm »
Hi- I've been having problems compiling this and I wonder if anyone's had any success with recent builds or has a recent eboot that I can apply the graphics tool?  It seems to be failing on texture.c.  PNG issues but I honestly don't know where to begin.


Offline achurch

  • Bit Bit
  • ****
  • Posts: 90
    • View Profile
Re: Aquaria on PSP
« Reply #23 on: January 24, 2011, 01:46:43 pm »
For the PNG issues, are you referring to the program itself or the PSP builder tool? With respect to the latter, there were some issues in recent builds due to Ubuntu having only old versions of the PNG library, but the current build (1.6.647) should work again. (If it doesn't, let me know and I'll take another look.) If you're building, you may need to install libpng 1.4 yourself by downloading the source from the libpng homepage.

As for the Aquaria source itself, you'll need to have a cross-compiled version of libpng (and libz) already installed on your system. If I have a chance I'll look into importing the libpng and libz libraries into the source tree, but for the time being I'm afraid you'll need to work it out yourself. Sorry! (I do have a build script for Gentoo, referenced in the README file, but Gentoo is admittedly not the most user-friendly Linux distribution around.)