Loop Hero
When Loop Hero was released in 2021, it was well-reviewed for its interesting mix of RPG, roguelite, deckbuilding, and strategy elements. It had excellent music and great visual style. It was just the kind of thing people needed during the pandemic to take their mind off of it all for a while.
I bought it back then because the developers took their time to make a native Linux version, and I like voting with my wallet and rewarding developers who do so. For developers, releasing a Linux version is sometimes as easy as ticking a box labelled “publish a Linux version” (as these developers likely did when they made Loop Hero with GameMaker), but nevertheless I appreciate the effort.
Unfortunately, as of 2026, Loop Hero appears to be abandonware. Its Linux version hasn’t seen an update since 2022, and it’s currently riddled with bugs besides.
The Bugs#
The Steam forums and elsewhere are riddled with reports about Loop Hero’s Linux release being broken. To be clear: this means that if you are a Linux Steam user and you pay for Loop Hero today, it will not work. The developers appear to be completely non-responsive.
This page will explain how to fix it, and how to future-proof it as well. The result is a binary that works circa 2026, and has reduced library dependencies (reducing the risk of the game breaking in the future, when these library API’s change). However, at some point a static binary (or a directory containing curated libraries) will need to be created. But that’s a problem for the future. For now, these fixes “make it go”:
1. Old OpenSSL#
Problem: The game fails to launch entirely.
Cause: An old version of OpenSSL is linked to the binary when it isn’t needed at all.
Solution: Remove the libcrypto.so.1.1 and libssl.so.1.1 link from the binary entirely - the game doesn’t use OpenSSL in any respect.
2. Everything’s a Joystick#
Problem: Using the mouse to click on anything (even the main menu) doesn’t work. The game’s log is spammed with SWITCH!!.
Cause: GameMaker enumerates /dev/input/event*, and registers everything as a joystick whether it actually is one or not.
Solution: Apply a patch to the executable so that non-joysticks register properly:
| Offset | Replacement bytes |
|---|---|
0xFA3247 |
EB 2B E9 08 06 00 00 90 90 |
0xFA3274 |
41 8B 7D 00 41 83 4D 00 FF E8 DE 49 06 FF EB C5 90 |
3. XF86VidMode is Extraneous#
Problem: Systems without libXxf86vm.so.1 cannot start the game, even though normal window creation does not need XF86VidMode at all.
Cause: GameMaker thought it needed XF86VidMode to handle fullscreen toggling. It doesn’t.
Solution: Remove libXxf86vm.so.1 from DT_NEEDED (.dynstr offset 0x3E5). Replace the first three bytes of the four .plt slots at 0x7070, 0x70A0, 0x7760, and 0x7940 with 31 C0 C3 (xor eax,eax; ret), making the runner treat the extension as absent. Change st_info from 12 to 22 (hex, global to weak) for .dynsym indices 15, 17, 122, and 151 so eager binding tolerates the missing symbols.
4. Bundled Curl#
Problem: Loop Hero bundles Curl, and all of its implications. If you don’t need or want Steam Cloud saves, it’s unnecessary baggage, especially from a preservation point of view.
Cause: Steam Cloud saves.
Solution: Remove libcurl.so.4 from DT_NEEDED (.dynstr offset 0x1) and replace the first three bytes of all 13 curl .plt slots with 31 C0 C3. For the corresponding symbols, change .dynsym st_info from 12 to 22 (hex) and clear their CURL_OPENSSL_4 version indices in .gnu.version from 05 00 to 00 00. Skip the libcurl record in .gnu.version_r by changing the little-endian vn_next at 0x490C from 64 to 96; reduce DT_VERNEEDNUM and the .gnu.version_r section header’s sh_info at 0x1895094 from 8 to 7.
5. Violations of C++ Behaviour#
Problem: Loader tracing showed libstdc++ and OpenAL binding allocation calls to the game’s C++ operators. This is a future-compatibility risk.
Cause: ELF lookup can prefer the executable’s exports over shared-library definitions. The game exports five C++ allocation/deallocation operators and 40 OpenAL wrappers. Its allocator returns NULL for size zero and returns pointers after a private header that requires the matching game deallocator.
Solution: Change .dynsym st_info from 12 to 02 (hex, global to local) for all 45 exports, removing them from external lookup. Replace five bytes at the game’s array new[] .plt slot (0x7EE0) with E9 8B 6F 05 01, and five bytes at its array delete[] slot (0x7350) with E9 EB 7C 05 01. These jumps keep the game’s own array allocations and frees routed to its allocator.
6. Extraneous Libraries#
Problem: Loop Hero has libGLU.so.1 and libXext.so.6 as dynamic library requirements.
Cause: Who knows? GameMaker probably thought it needed these when in reality the game doesn’t use them at all.
Solution: Remove the libGLU.so.1 and libXext.so.6 links from the binary entirely.