You're looking for information on a GameMaker Studio 2 decompiler.
What is a decompiler? A decompiler is a tool that takes compiled code (like a game or executable) and converts it back into a higher-level programming language, making it possible to view or modify the original code.
GameMaker Studio 2 Decompiler There are a few decompilers and tools available for GameMaker Studio 2 (GMS2), which can extract and reverse-engineer GMS2 game code. However, I must emphasize that:
Some known decompilers and tools for GameMaker Studio 2 include:
Keep in mind that decompilers may require technical expertise to use and may not always produce usable results. Additionally, using decompilers may violate GameMaker Studio 2's terms of service.
If you're looking for more information on GameMaker Studio 2 or game development, I'd be happy to help with any questions you might have.
Decompiling a GameMaker Studio 2 (GMS2) game typically involves using UndertaleModTool (UMT)
, which is the industry-standard tool for viewing and extracting assets from compiled GMS data files. 1. Preparation Locate Game Data : Find the game's main data file, usually named (Windows), gamemaker studio 2 decompiler
For Steam games, right-click the game in your library, select Properties > Local Files > Browse Create a Backup : Always copy your
to a safe location before opening it with any tools to avoid corruption. 2. Required Tools UndertaleModTool (GUI) : Download the latest release from the UnderminersTeam GitHub Bleeding Edge builds are often more compatible with newer GMS2 games. Optional Alternative : For just extracting assets (audio/sprites) without code, GMS Explorer SpriteRipper can be used. 3. Decompilation Process
While there is no "official" or perfectly clean decompiler for GameMaker Studio 2 (GMS2), the technical community has several tools and interesting discussions surrounding the topic. Notable Tools & Projects UndertaleModTool
: Often cited as the gold standard for modern GameMaker reverse engineering, this tool allows users to view and edit
files from GMS2 games. It is widely used in the modding community for games like GMSD (GameMaker Studio Decompiler)
: A project written in F# designed to retrieve and decompile scripts from a game's
file. It features expression folding but has limitations with complex branch instructions. GM8Decompiler You're looking for information on a GameMaker Studio
: For developers looking at legacy projects, this tool handles GameMaker 8 executables by extracting assets and code from the "gamedata" section. Interesting Perspectives & Blog Posts
Can You Really Decompile GameMaker Studio 2? Losing a project is every developer's nightmare. Maybe your hard drive failed, you didn't use version control, or you’re just trying to peek under the hood of a favorite indie hit. Naturally, the first question that comes to mind is: Is there a GameMaker Studio 2 (GMS2) decompiler?
The short answer is yes, but it’s complicated. While older versions like GameMaker 8 had simple decompilers, GMS2 is a much tougher nut to crack. Here is the lowdown on what’s possible, what’s not, and the ethics involved. The Technical Reality: Data.win vs. YYC
How "decompilable" a GMS2 game is depends entirely on how the developer built it:
VM (Virtual Machine) Export: This is the default. The game code is compiled into "bytecode" stored in a data.win file. Tools like UndertaleModTool (often discussed on Reddit) can read this bytecode, allowing you to extract sprites, sounds, and a rough version of the code.
YYC (YoYo Compiler): This export converts GML into C++ before compiling. Because it turns your logic into machine code, there is no "easy" way to turn it back into readable GML. Professional reverse engineers might manage it, but for most, it’s effectively a black box. Notable Tools & Repositories
If you are looking to recover your own lost assets or study a specific game, a few projects have explored this space: Use of decompilers may be against the terms
Warning: decompiling software without the explicit permission of the copyright holder may violate laws and terms of service. This article explains the technical concepts, typical approaches people discuss, the risks involved, and lawful alternatives—intended for educational purposes only.
GameMaker's evolution affects decompilation:
Prediction: Decompilation will become harder but not impossible. The cat-and-mouse game between engine security and reverse engineers will continue.
GameMaker Studio 2 compiles projects into platform-specific binaries and packaged game assets. “Decompiling” in this context usually means extracting resources (images, sounds, objects, rooms) and recovering GameMaker Language (GML) code or equivalent logic from a built game.
If you are looking for an "official" decompiler, there isn’t one. The ecosystem is dominated by open-source projects, most notably the UndertaleModTool and various forks of older projects like Altar or GMS2Decompiler by contributors like JohnnyonFlame or Krystman.
The primary tool in the modern era is UndertaleModTool. While originally designed for the engine's most famous export, it has evolved into a Swiss Army Knife for GameMaker Studio 2 games.