NichtsHsu / GM8Decompiler

A decompiler for GameMaker 8.x executables

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status (AppVeyor) Build Status (Travis) License: GPL v2 Discord

GM8Decompiler

An open-source decompiler for GameMaker 8.x executables. Reverts any game back to .gmk or .gm81 format respectively.

How it works

GameMaker 8 executables contain two sections: the regular part which is virtualized by Windows, called the "runner", and a phase file containing all the game's assets, called the "gamedata". The gamedata contains all of the assets (sprites, rooms, GML code, etc...) which were exported from the GMK file when the game was built. When the game is run, it reads its gamedata section from disk and uses it to start the game. Since all the assets can be read from the gamedata by anyone who has the file, it is possible to revert it to its original project file. That's what this tool does.

Background

Originally, we created a fork of WastedMeerkat's gm81decompiler which, while an excellent resource, was very messy and had several deep-seated bugs. For that reason and a few others, we eventually decided to create this project from scratch in Rust. It's based on our new gm8exe library, which is now a part of this repo, originally created for emulation purposes. This loader has been measured to be over ten times faster than the old one. It's also safer, more thorough, and supports more games.

About

A decompiler for GameMaker 8.x executables

License:GNU General Public License v2.0


Languages

Language:Rust 100.0%