GB Recompiled icon
GB Recompiled icon

GB Recompiled

A static recompiler for original GameBoy ROMs that translates Z80 assembly directly into portable, modern C code. Run your favorite classic games without a traditional emulator—just compile and play.

GB Recompiled screenshot 1

Cost / License

  • Free
  • Open Source

Platforms

  • Windows
  • Mac
  • Linux
1like
0comments
0articles

Features

No features, maybe you want to suggest one?

GB Recompiled News & Activities

Highlights All activities

Recent activities

GB Recompiled information

  • Developed by

    MX flagBrandon G. Neri
  • Licensing

    Open Source and Free product.
  • Written in

  • Alternatives

    7 alternatives listed
  • Supported Languages

    • English

GitHub repository

  •  150 Stars
  •  6 Forks
  •  0 Open Issues
  •   Updated  
View on GitHub

Popular alternatives

View all
GB Recompiled was added to AlternativeTo by Darlene Sonalder on and this page was last updated .
No comments or reviews, maybe you want to be first?

What is GB Recompiled?

A static recompiler for original GameBoy ROMs that translates Z80 assembly directly into portable, modern C code. Run your favorite classic games without a traditional emulator—just compile and play.

Features

High Compatibility: Successfully recompiles 98.9% of the tested ROM library (1592/1609 ROMs) MOST OF THE GAMES ARE NOT FULLY PLAYABLE YET Native Performance: Generated C code compiles to native machine code Accurate Runtime: Cycle-accurate instruction emulation (including HALT bug) Precise OAM DMA and interrupt timing Accurate PPU (graphics) emulation with scanline rendering Audio subsystem (APU) with all 4 channels Memory Bank Controllers: Full support for MBC1 (including Mode 1), MBC2, MBC3 (with RTC), and MBC5 SDL2 Platform Layer: Ready-to-run with keyboard/controller input and window display Debugging Tools: Trace logging, instruction limits, and screenshot capture Cross-Platform: Works on macOS, Linux, and Windows (via CMake + Ninja)

Usage Basic Recompilation

./build/bin/gbrecomp <rom.gb> -o <output_dir>

The recompiler will:

Load and parse the ROM header Analyze control flow across all memory banks Decode instructions and track bank switches Generate C source files with the runtime library

Official Links