Getting GameMaker Games To Work on Linux

itch.io was doing a bundle of various games, and I picked up Minit since I've been eyeing it for a while. Officially, there is a Linux port, but I ran into a few difficulties with getting it to run properly on Ubuntu 19.10.

If you're running a different distro or trying this with a different game, please comment and I'll add any variations to the guide.

  1. This is specific to Ubuntu versions 19 and newer, but the game relies on an older version of libssl/libcrypto (1.0.0). If your libssl is 1.1 or newer, you won't be able to run the game.
  2. Those with AMD GPUs experience segfaulting whenever loading any GameMaker game.
  3. The game runs at a resolution of 320x240 by default (this may be because I'm running i3wm, might be different with floating window managers).

The following are the solutions I employed to get it to run properly.

Getting the Correct LibSSL Version

We're going to have to download LibSSL 1.0.0, which, if you're on a Debian-based system you can do here. Make sure to download the LibSSL file for i386, as 64-bit won't work with the game.

Open the DEB file with an archive manager, and navigate to /data.tar.xz/usr/lib/i386-linux-gnu/. Extract the contents of that folder into the same folder your regular LibSSL version is (on Ubuntu it should be /usr/lib/i386-linux-gnu).

Keep this in mind for the final step, but we will have to set an environment variable each time we launch the program, the argument being:

LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu (set the path to wherever you extracted the earlier contents)

Fix for AMD GPUs

According to a Reddit thread, other GameMaker games (Undertale) are known to crash on AMD GPUs. Luckily, OP found a fix.

We'll have to include another environment variable in our run command:

AMD_DEBUG=check_vm

A few things that may be worth noting:

Setting Fullscreen on Start

Below is my screen when the game launches:

As you can see, the actual game window itself is very small (bottom-left corner). If you run into an issue too, open up to minit/assets/options.ini.

Add the following setting in the file to make it launch in fullscreen (and adjust to your window resolution): fullscreen=1

Putting It All Together

[Desktop Entry]
Name=Minit
Exec=exec AMD_DEBUG=check_vm LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu ./runner
Icon=Minit
Type=Application

To launch this file you can either move it to ~/.local/share/applications or add it into Steam as a non-Steam game.