I recently bought Hotline Miami on GOG and tried to run the native Linux version on my EndeavourOS system. I usually use Steam and Heroic, but this time launching the game through Heroic doesn’t work. The game is 32-bit, so I tried adding LD_LIBRARY_PATH=/usr/lib32 as an environment variable like some threads suggested, but no luck. When running the native GOG installer and starting the game manually, I get errors like missing libXrandr.so.2, then after installing that, missing libXi.so.6, and then libopenal.so.1. Installing these 32-bit libraries helps get further, but I still hit missing libs. Has anyone successfully run this game on EndeavourOS via GOG, and what’s the best way to get all the dependencies sorted or any good workarounds?
3 Answers
I ran into similar issues on my Arch based distros. What finally worked was enabling the “Use Steam Runtime” option in Heroic for this game. That way, it uses Steam’s runtime libraries which include all those 32-bit dependencies you need, avoiding the whole manual install mess. Definitely check that box and try launching again.
If you want to avoid messing around with 32-bit Linux libs, another option is to just run the Windows version of Hotline Miami through Wine or Proton. GOG lets you download the Windows installer, and Wine handles the dependencies well. It’s usually simpler if you’re having trouble with native Linux dependencies on your system.
Sounds like the main problem is missing 32-bit libraries. Since Hotline Miami is a 32-bit game, you need to install the corresponding 32-bit versions of those libraries on EndeavourOS. For example, installing lib32-libxrandr, lib32-libxi, and lib32-openal should cover the errors you encountered. Without these, the native Linux build won’t launch.
Yeah, I installed all those but the game still didn’t start properly from Heroic. Running the start.sh script still gave me errors for other missing libs after each fix.
Oh wow, that actually fixed it! Using the Steam Runtime option in Heroic launched the game perfectly without any missing library errors. Thanks a lot for the tip!