Asylum on Linux

[size=19px]Asylum Teaser:[/size]

Generic build (tested on Ubuntu), download:

  • ZIP

  • Download, unzip somewhere and run dagon from that directory

Fedora 17, download:

Known issues:

  • Audio cuts off short (generic build): add audioBuffer = 16384 to Dagon.cfg
  • No audio: missing ALSA plugin to Pulseaudio, or use pasuspender
  • Missing graphics (any build): need proprietary graphics drivers (ATI, nvidia, intel)
  • Missing graphics (Fedora): problem with compositor and Gnome Shell, restart Gnome Shell (Alt+F2, r)
  • Segfault on exit (Fedora): currently no fix

On openSUSE (and probably any other distro if it does not work)
Game binary looks for and libraries. I’m using openSUSE 12.2 x64. If you are using x86 version of openSUSE you can skip to 2. step.

  1. Download libGLEW and liblua & libtheora libraries’ 32 bit versions.
  2. There are some version conflicts. For example, in my installation there is so I just made symlinks for libGLEW and liblua. For libtheora, no version conflict occurs.
    Since game uses 32 bit libraries, for both x64 and x86 systems create symlinks:

ln -s /usr/lib/ /usr/lib/ ln -s /usr/lib/ /usr/lib/
You’ll need run these as root.

  1. If you are experiencing audio issue please use the solution above. For my installation there was no issue, but for my other PC there was shutterings and cuts. So I guess it does not depend on pulseaido version but the hardware itself.

  2. If you are having graphical problems, you’ll probably need proprietary drivers from your vendors. For my end, I’m using ATI Mobility Radeon HD 4570 and Intel HD for my other PC. On openSUSE 12.1, graphics were working fine for ATI but in 12.2 open source drivers did not work on neither of my computers.

Awesome, thanks for sharing this info! :wink:

On Ubuntu/Kubuntu 12.10/13.04 it needs liblua5.1-0:i386 and libglew1.6:i386. First one available in repository, second - here.

We can work on helping Agustín package a set of libraries with the game, at least for a self-extracting downloadable version. Then, all he needs to do is package the license files with the libraries, do the usual LD_LIBRARY_PATH tricks in the launcher script, and post up the source packages that were used to build the original libraries on the website somewhere.

One good easy trick for that is to package the Debian Wheezy libraries because Debian is usually quite conservative, so that provides very good backward-compatibility (in particular, works lovely on *buntu, Fedora, Slackware, Arch, not-even-very-recent Gentoo, and (of course) Debian. Also, they store the source debs side-by-side, so it makes it very convenient to grab the source packages for local mirroring (to comply w/GPL).

This method also makes it easy to package both 32-bit & 64-bit versions together, and indeed, is how Wadjet Eye is packaging their Linux beta versions.

Of course, there is wastage of disk space/bandwidth, and the user’s native libraries may be better suited to their system than those packaged, but that could be mitigated by the native packaging system (Arch and Gentoo can slice and dice a native package easily, just by dropping the game installer in a particular directory). Making Debian & Ubuntu packages is a hassle, and I would suggest that doing so be in conjunction with distributing Asylum in the Ubuntu Software Store, in which I believe Canonical helps with the packaging).

Not sure about RPM, or non-Ubuntu “deb” packages. Hosting half-a-dozen packages directly here seems like a huge hassle. I would suggest just two packages, with included libraries as described above (32-bit & 64-bit copies of the interpreter and sets of libraries), one as a Mojosetup installer, and one as a plain “tar.gz”. Then, the workflow for packaging is simply to have the installed directory hierarchy already-laid out, and simply replace the interpreter and game assets, run tar (save out the tarball), and then build the Mojo installer. That could be scripted to be a one-shot packaging script, once set up.

Easy as pie.

Thanks so much for this! I’m so excited about Asylum!

You’ll be happy to hear that the Linux port of the engine has been brought up to date. I haven’t performed exhaustive tests yet, but so far everything seems to be working smoothly and very stable. There are new binaries available for Ubuntu here:

Coming up soon: Debian, Fedora and openSUSE (the Ubuntu binaries work great on Mint). All neatly packaged and ready to install :nod:

I just tested the teaser on my Fedora 20 (creating symbolic links) and it’s all ok.

Excellent, thank you for the heads up :slight_smile: