This War of Mine, Not a Hero and Dropsy on Debian

Posted at 2016-05-22.

A few more Humble Bundle games.

System is Debian Stretch (testing) on amd64 with i386 libs through multiarch. Box is i5-2500K, 8G RAM, Radeon HD 6850 "Gallium 0.4 on AMD BARTS" 1920 x 1200 fullscreen with Free radeon driver.

This War of Mine

This War of Mine was on discount once again and it looks so interesting, I finally bought it. Maybe I'll find the time to play it, too.

$ btdownloadcurses /tmp/This_War_of_Mine_Linux.zip.torrent 
$ unzip -l This_War_of_Mine_Linux.zip 
Archive:  This_War_of_Mine_Linux.zip
  Length      Date    Time    Name
---------  ---------- -----   ----
        0  2015-10-19 05:35   This War of Mine Linux/
     6148  2015-10-19 05:35   This War of Mine Linux/.DS_Store
        0  2015-10-19 05:36   __MACOSX/
        0  2015-10-19 05:36   __MACOSX/This War of Mine Linux/
      120  2015-10-19 05:35   __MACOSX/This War of Mine Linux/._.DS_Store
905160717  2015-10-09 18:18   This War of Mine Linux/This War of Mine.tar.gz
904390145  2015-10-09 18:17   This War of Mine Linux/This War of Mine.zip
---------                     -------
1809557130                     7 files

Packaging fail.

I unpacked the archives within archives (with compression), leaving out the Mac droppings. The contents appear identical, so they indeed put two different kinds of archives with the same content into an archive and shipped that along with extra files that are wrong for the platform. Maybe they missed on how HB wants their software delivered. Anyway, the download is about doubled and unpacking discspace increased for no reason. Also, there will be several, nested, directories and files with identical names. For no reason. Also, the executable has the same name as well.

This War of Mine Linux/This War of Mine$ file This\ War\ of\ Mine
This War of Mine: ELF 32-bit LSB executable, Intel 80386, version 1 (GNU/Linux), dynamically linked, interpreter /lib/ld-linux.so.2, for GNU/Linux 2.6.24, BuildID[sha1]=3326636a649cfd67560db4ae3ac8e1d23947e512, not stripped
gaming@bastet:~/humbles/This War of Mine Linux/This War of Mine$ ldd This\ War\ of\ Mine 
        linux-gate.so.1 (0xf7702000)
        libOpenAL.so => /home/gaming/humbles/This War of Mine Linux/This War of Mine/./libOpenAL.so (0xf7698000)
        libGL.so.1 => not found
        libX11.so.6 => not found
        libpthread.so.0 => /lib/i386-linux-gnu/libpthread.so.0 (0xf765a000)
        librt.so.1 => /lib/i386-linux-gnu/librt.so.1 (0xf7651000)
        libstdc++.so.6 => not found
        libm.so.6 => /lib/i386-linux-gnu/libm.so.6 (0xf7605000)
        libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xf75e7000)
        libc.so.6 => /lib/i386-linux-gnu/libc.so.6 (0xf746a000)
        /lib/ld-linux.so.2 (0x565e1000)

They also seem to include their own libOpenAL.so.

Looks like I'll need 32-bit GL and a few other libs as well, so install libgl1-mesa-glx:i386 libdrm2:i386 and libstdc++6:i386 plus libgl1-mesa-dri:i386 and its drivers.

First run complains

GLX_EXT_swap_control not supported, unable to set vertical sync.
Extension EXT_texture_compression_s3tc not supported. Shutting down the game.

You can apparently use driconf and set S3TC enable, first option under Image Quality. I think this sets force_s3tc_enable in .drirc. And as a result, the game appears to run well. Under firejail, no less :)

$ firejail ./This\ War\ of\ Mine 
Reading profile /etc/firejail/generic.profile
Reading profile /etc/firejail/disable-mgmt.inc
Reading profile /etc/firejail/disable-secret.inc
Reading profile /etc/firejail/disable-common.inc

** Note: you can use --noprofile to disable generic.profile **

Parent pid 16153, child pid 16154

Child process initialized
GLX_EXT_swap_control not supported, unable to set vertical sync.
AL lib: oss.c:169: Could not open /dev/dsp: No such file or directory

parent is shutting down, bye...

For sound to work, I also needed libasound2-plugins:i386 and associated deps (Pulseaudio).

It's an interesting game that could be a load of fun, but is mostly depressing and you're perpetually short of everything. Beautiful graphics, animation, and audio.

Not a Hero

The Not a Hero package is a tarbomb! Make a directory before unpacking.

There's a shell script that runs 32 or 64 bit version, it seems. The 64 bit library references all seem to check out. The game appears to Just Work under firejail. Runs in a window, no settings but audio levels. Using a controller might also be possible.

A very fun game with good replay value though some levels or scenes can be frustrating. Having to restart a level from scratch because of a twitch never sits well with me.

Vote for Bunnylord, yeah?

Dropsy

Dropsy seems not to be a tarbomb, but the compressed dir is for some crazy reason called linux. There are two executables, Dropsy.x86 and Dropsy.x86_64, but they lose their x bits in zipping. The crazy period in the filename is harmless.

ldd says we're good, so let's try.

$ chmod 0755 Dropsy.x86*
$ firejail ./Dropsy.x86_64

Fails to run. Outside of firejail, it works. The game seems to run in a maximized non-fs window.

Interesting and full of fun and creepy details.

Titan Attacks

Titan Attacks is a fun game I've played on another platform. Very much not my type, but still. I haven't seen a better space invader thing, though perhaps Millipede was a lot of fun. That was a long ago, though.

The titanattacks.sh script seems to uncompress a JVM of their own and use it to launch the game with a mass of options.

It might run on a system jvm and a different script.

Startup seems to go through with firejail. Music starts, but the game window stays black. Interestingly, it doesn't even start without firejail, just dies. The game drops a log in ~/.titan_attacks/titanattacks.sh.log.

Sun May 22 17:26:16 EEST 2016   org.lwjgl.LWJGLException: Could not locate OpenAL library.
Sun May 22 17:26:16 EEST 2016   java.lang.UnsatisfiedLinkError: sun.font.FreetypeFontScaler.initIDs(Ljava/lang/Class;)V

Neither error appears under firejail. Funny.

I didn't bother to debug this one. Maybe some day.

Links