Gamemaker Studio 2 Decompiler May 2026
top of page

Gamemaker Studio 2 Decompiler May 2026

Understanding GameMaker Studio 2 Decompilation

GameMaker Studio 2 (GMS2) is a popular 2D game development engine. A decompiler for GMS2 attempts to reverse-engineer compiled game files (typically .win, .data, or .wasm files) back into a readable form, often recovering GML (GameMaker Language) code, sprites, sounds, objects, and room data.

1. Understand GameMaker Studio 2's Compilation and File Structure

  • Research: Start by studying how GMS2 compiles games. Look into the file formats used by GMS2 for its projects and compiled games. Understand the differences between .gmk (GameMaker project files), .gms2 (GameMaker Studio 2 project files), and compiled game files.

4. Add Integrity Checks

Have your game check its own executable hash or data.win checksum. If modified (e.g., by a decompiler that repacks assets), crash gracefully or display a message. gamemaker studio 2 decompiler

The Landscape: What Tools Exist?

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. Research : Start by studying how GMS2 compiles games

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. these are worth a look

9. Recommendations for developers

  • Source control + regular backups: primary prevention for lost work.
  • Avoid embedding secrets in code/resources; store keys server-side.
  • Build choices:
    • Use YYC for higher resistance to decompilation (not foolproof vs determined reverse engineers).
    • For HTML5, be aware that JavaScript is recoverable—don’t put secrets in client code.
  • Obfuscation: use marketplace obfuscators or custom techniques—raise barrier but not guaranteed.
  • Code signing and integrity checks to detect tampering.
  • Licensing and legal notices to clarify permitted uses.

Typical technical approaches (high-level)

  • Package extraction: Many GMS2 games ship with resource/archive files (e.g., .win, .apk, or custom pak files). Tools or simple archive utilities can sometimes list and extract contained files.
  • Asset scanning: Search binary blobs for common file signatures (PNG, OGG, WAV, JSON) and carve them out.
  • Bytecode analysis: GMS2 may compile GML to bytecode or an intermediate format. Reverse engineers analyze bytecode to produce readable pseudocode; this requires specialized tooling and skill.
  • Runtime inspection: Attach a debugger or instrument the running game to dump memory, resources, or log code paths (legal only with permission).
  • Community tools: There are third-party utilities and scripts that automate parts of the extraction process for specific engine versions. Their reliability varies across GMS2 versions and target platforms.

10. Recommended approach for researchers who want to study or recover GMS2 games

  • Identify build type first: inspect package for data.win, JS bundle, or native binary.
  • Use dedicated extractors (e.g., Altar/Altar.NET) for data.win; examine runtime version to pick correct opcode maps.
  • Disassemble before attempting high-level decompilation to understand control flow.
  • Combine automated decompilers with manual analysis to rename variables and fix control structures.
  • Document findings and respect legal/ethical constraints.

2. GMDS (Game Maker Data Structures) - Legacy

Older tools like GMDS exist but struggle with GMS2 versions 2.3+ (which introduced significant changes to how variables and functions are stored). If UndertaleModTool fails, these are worth a look, but they are largely obsolete for modern GMS2 games.


  • TikTok
  • Youtube
  • X
bottom of page