fijuu2 ubuntu packages

here are some test ubuntu packages for fijuu2 (and it's dependencies). they have been built and tested on edgy. debian users, see this note.

before you start, you will need to have 3d acceleration and audio working. you will also need a Logitech Dual-Action game-pad. you can try using a different gamepad that has at least 6 axes and 10 buttons, but the mappings will be different, and possibly useless.

on Ubuntu Feisty, 3d acceleration can be set up in the System->Administration->Restricted Drivers Manager menu.

for 3d acceleration on Ubuntu Dapper, we suggest running the easyubuntu script: easyubuntu.freecontrib.org.

it appears that after installing the required packages, easyubuntu doesn't actually select the correct video driver for xwindows. if this happens to you, (that is, if "glxinfo | grep direct" says "No") then try the following:

for Nvidia
edit /etc/X11/xorg.conf (e.g. "sudo gedit /etc/X11/xorg.conf" in a terminal), find the line that reads 'Driver "nv"', and change "nv" to "nvidia".
for ATI
run "sudo aticonfig --initial" in a terminal.
then in both cases, restart X. selecting log-out from the shutdown menu (top-right of the screen) should be sufficient.

now to the packages. the easiest way to install them is with gdebi in the following order, as gdebi will automatically grab the required dependencies from your respositories. on ubuntu, you will need to have the universe and multiverse repositories enabled (see "Software Sources" in the Services->Administration menu on edgy). gdebi is the default action if you simply click on the following links in ubuntu.

nvidia-cg-toolkit
fog's nvidia cg toolkit installer, from debian. the original package page is here.
libogre13
a binary only packaging of the OGRE3D 1.2.5 libs. the OGRE source is available at ogre3d.org.
fijuu2
and finally, fijuu2 itself. source for fijuu2 is available in our darcs repository.

once installed, run "fijuu2" from a terminal. press escape to quit.

by the way, fijuu2 tends to segfault on exit, i haven't managed to track down this error yet, and since it is just on exit, it's no biggie. unfortunately, on ubuntu, this brings up a crash dialog. don't try to submit a crash report, since this it won't work anyway, as this is an unofficial package.

configuration

the latest version of the fijuu2 package only asks you to set up the screen resolution / full-screen mode etc. the first time it is run. if you want to change your configuration later, run "fijuu2 -config".

troubleshooting

if you get this error when running fijuu:

An exception has occured: An exception has been thrown!
-----------------------------------
Details:
-----------------------------------
Error #: 9
Function: ZipArchive::checkZzipError
Description: /home/pix/fijuu/bin/Media/OgreCore.zip - error whilst opening archive: Unable to read zip file.. 
make sure you have installed at least version 2.1-0.1 of the fijuu2 package. i made a mistake when packaging it the first time. also, after installing the latest version you will need to remove your .fijuu2 directory (eg. run "rm -r ~/.fijuu2" in a terminal).

note about the packages:

these are binary only packages. i quickly made them to ease installation of fijuu2. ideally i would like to make proper packages, with accomanying source packages, but in the short term this is all we have. i have linked to the location of the sources above, where appropriate.

note about debian:

when i made these packages i thought, being built on ubuntu, they would probably work just fine on a plain debian installation. it turns out that ubuntu edgy is using a very recent version of glibc, which isn't even in debian/unstable at this time. for that reason, it's very unlikely that you will be able to run these packages on a plain debian system. i might release packages built using debian/testing soon, to remedy this.

pix.