Tutorial Others How to port GameMaker Studio engine games to Linux

gulf123

Newbie
Mar 31, 2020
22
20
1. First, we need a game that using the GameMaker engine.

For example, I, In the Debt Hell, Picked Up a Runaway High Schoolgirl Who Obeys Me [v2024.05.17] [Kebab Reverie]
The game in the file manager looks like this.
1720532720149.png

2.Recognize the SDK game version
To recognize the version of the game we need (To run on linux, WINE is required.)
(Cli version of the UndertaleModTool does not show the desired information.)

1720530640391.png
As we can see, version is GM 2023.8.0

3.Downloading the linux SDK for this version of the game
Once we know the version of the game we need to download the necessary sdk.
The GameMaker provides an rss file with links to the SDK.
GMS14 =
GMS14EA =
//GMS2
GMS2 =
GMS2Beta =

Download Zeus-Runtime.rss file and open it in any text editor
Once you have found your version, look for the 'module name="linux"' string and download the zip file by following the link

1720531008998.png

this archive has a password, to find out the password we need the GetRuntimeZipPassword tool ( ) ( require WINE).
The unpacked archive will look like this :
.
├── BaseProject
└── linux
├── arm64
│ └── runner.zip
├── armv7
│ └── runner.zip
├── execute.sh
├── runner.zip
└── template.desktop

we only need the linux/runner.zip file

4.Creating a linux build

Download the template linux build
it looks like this
1720532197939.png
Replace runner file from the downloaded zip archive.
Place the entire game in the assets folder.
Rename the data.win file to game.unx
you can also place in assets folder icon.png file, for the game icon.

The linux build is ready.
you can run it with start.sh

This method doesn't always work.(Newer versions of GameMaker Studio SDK might work better than older versions. )
 
Last edited:
  • Like
Reactions: LastlyFera

LastlyFera

Newbie
Dec 8, 2023
39
4
Do you have any sample games that have already been converted? I would like to test them on Android. After all, Android is based on Linux (?)
 

gulf123

Newbie
Mar 31, 2020
22
20
you can try searching for games on itch.io.
android has its own runtime, but you need to change the data.win file to game.droid.
 

LastlyFera

Newbie
Dec 8, 2023
39
4
Fuck, you were right. Now after rereading it, I feel so stupid. My bad. I just want to test stuff. I made that comment at like 5 a.m. in the morning