Skip to content

Instantly share code, notes, and snippets.

@lekro
Created September 26, 2018 04:59
Show Gist options
  • Save lekro/7f799e22f5376feacefad6c33fcbf407 to your computer and use it in GitHub Desktop.
Save lekro/7f799e22f5376feacefad6c33fcbf407 to your computer and use it in GitHub Desktop.
Running "The Tiny Bang Story" on Gentoo Linux

Writing this in case I or anyone else wants to play this game later. I got this game recently for free on Steam, and it wouldn't run without help.

I am on a x86_64 system and had already installed steam.

Quick steps:

  • Installed media-libs/sdl2-mixer-2.0.8-r2, which was the latest at the time of writing, with abi_x86_32 flag in /etc/portage/package.use/
  • The game didn't want to take my version of glew, so I grabbed the source for version 1.6.0 from sourceforge.
    • Because I am running an x86_64 system, I ran make LD="gcc -m32" CC="gcc -m32" to generate a 32-bit library (required by the game). Users running a x86 system can probably just run make.
    • I then stuck the lib directory created in the glew source directory into the game's install dir.
  • In the steam launch options, I specified the following: LD_LIBRARY_PATH="`dirname %command%`/lib:" %command%
  • The game then ran directly from steam. It wouldn't run on its own, complaining about libsteam_api.so missing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment