I’ve been using EndeavourOS Linux for about 2 years and recently bought Hotline Miami from GOG to support actual game ownership. I typically play games through Steam or Epic Games with Heroic launcher, but with this native Linux GOG version, the game refuses to launch. I tried to run it via Heroic and natively using the installer. The game is 32-bit, so I tried setting the environment variable LD_LIBRARY_PATH=/usr/lib32 as suggested by a GitHub issue, but no luck. Running start.sh gives me errors about missing shared libraries like libXrandr.so.2, libXi.so.6, and later libopenal.so.1. I installed some 32-bit libraries but the launcher still complains about missing dependencies or KDEHOME issues. Any advice on how to get this native Linux GOG version working properly? Also, is it necessary to use something like Steam Runtime or install additional libraries manually?
3 Answers
If you want to avoid messing with multiple 32-bit libs, a simpler route is to run the Windows version of Hotline Miami through Wine or Proton inside Heroic or Lutris. It might even be more stable since the native Linux port can be outdated, especially for 32-bit games. Plus, Wine comes with most needed libraries bundled, so you avoid library hell on Arch-based distros.
From what I gathered, the quickest fix when using Heroic is to check the “Use Steam Runtime” box in the launcher options. This sets up an environment with necessary libraries included, so the game doesn’t crash over missing 32-bit dependencies. I only did this recently and Hotline Miami started perfectly. Saves you the hassle of manually installing tons of 32-bit packages.
Since you’re on EndeavourOS, which is Arch-based, many native 32-bit libraries aren’t installed by default. You should install lib32-libxrandr first, which you did, but also lib32-libxi and lib32-openal. These cover the missing libraries libXrandr.so.2, libXi.so.6, and libopenal.so.1 respectively. Once those are installed, the game should launch without those errors. The KDEHOME warning is harmless and can be ignored. Just make sure the Heroic launcher is configured to use the Steam Runtime environment because it bundles compatible libraries and can save you from manually hunting down every 32-bit dependency.
Thanks! Installing those additional libs helped a lot, and enabling Steam Runtime in Heroic finally got the game running. That KDEHOME warning indeed didn’t seem to affect anything.
Yeah, I considered that. But I wanted to support native Linux as much as possible. Still, good to know running the Windows version with Wine is a fallback if native keeps giving issues.