OpenGMK: building the Rust GameMaker Classic runner, TAS tools and decompiler

OpenGMK is an open-source rewrite, in Rust, of the runners for GameMaker Classic, the pre-Studio versions of GameMaker such as GameMaker 8. It plays old GM8-era game executables and adds tooling the original engine never had, mainly for tool-assisted speedruns (TAS). It is licensed GPL-2.0 and, per its README, is a work in progress maintained by a few people in their free time. GameMaker: Studio games are not supported.
It isn’t a library you add to Cargo.toml; it’s a Cargo workspace of programs and supporting crates:
gm8emulator: the runner. Plays a game, and records and replays TAS input with savestates.gm8decompiler: extracts the assets (sprites, rooms, GML code) from a game executable and rebuilds a GameMaker project file (.gmk/.gm81). It was previously the standalone GM8Decompiler project.- Supporting crates for reading GameMaker executables and parsing GML, plus
gm8emulator-wow64, a helper needed on 64-bit Windows for games that load 32-bit DLLs.
Building from source
Section titled “Building from source”The README recommends building from source because the pre-built releases are old. You need a Rust toolchain; on Windows only the MSVC toolchain is supported. The repository uses git submodules:
git clone --recurse-submodules https://github.com/OpenGMK/OpenGMKcd OpenGMKcargo build --releaseThe gm8emulator and gm8decompiler binaries end up in target/release. Games that depend on 32-bit DLLs
also need the WoW64 server, built separately for the i686-pc-windows-msvc target; see the README for the
exact steps.
Running a game
Section titled “Running a game”Pass the game’s executable:
gm8emulator path/to/game.exeRecording a TAS
Section titled “Recording a TAS”Add a project name with -n to start (or continue) recording:
gm8emulator path/to/game.exe -n my-runIn record mode each savestate is written as a save#.bin. You can export a save#.gmtas, which holds only
the inputs and is the file to share. Savestates can break between OpenGMK versions, so keep the .gmtas:
replaying it regenerates the .bin. To do that quickly with the frame limiter off (-l):
gm8emulator path/to/game.exe -l -f path/to/save1.gmtas -o path/to/save1.binOn Windows, TAS projects are stored in a projects/ folder.
Decompiling a game
Section titled “Decompiling a game”gm8decompiler takes a GameMaker 8.x executable and writes back a project file you can open in the original
GameMaker editor. The README doesn’t document its command-line options, so check the gm8decompiler
source in the repository for the flags your build supports.
Limitations
Section titled “Limitations”- The README says a stable release may never happen; expect savestate formats to change between builds.
- The README documents the Windows TAS project folder; the Linux location is described as a near-future feature.
- If you’re interested in emulator or interpreter internals, the source is a readable reference for how GameMaker Classic executables and GML are structured.
Further reading
Section titled “Further reading”- OpenGMK on GitHub (README covers building, TAS workflow and known limitations)
- GM8Decompiler
© 2026 David Li · Home · Blog · RSS ·Classic site · Built with Astro, Starlight and three.js · Logos:Font Awesome Free (CC BY 4.0)