Skip to content
Back to search

Gearboy

Game Boy / Game Boy Color / Super Game Boy emulator and debugger with embedded MCP server for macOS, Windows, Linux, BSD and RetroArch.

Safety scan

A static text scan, not a guarantee. Select the badge to see what was scanned and every finding.

Checked today

Check it deeper on your machine

It has changed since its scan on 11 Nov 2026.

As a Claude Code plugin, install it and then ask Claude Code:

/plugin marketplace add keithmackay/mackayi/plugin install scanskillsafety@mackayiDo a deep scan of https://github.com/drhelius/Gearboy with scanskillsafety

Or from a terminal, clone it and run it:

git clone https://github.com/keithmackay/scanskillsafety-skill ~/.claude/skills/scanskillsafetynode ~/.claude/skills/scanskillsafety/cli.cjs --deep 'https://github.com/drhelius/Gearboy'

It checks the exact commit: every file, its packages against OSV (api.osv.dev), how it compares with this page's scan (findsafeskills.com receives the repository's address), and, if you agree, Claude reading every file with your own Claude subscription. It never runs the code.

Badge for your README
findsafeskills safety rating

Markdown

[![findsafeskills safety rating](/api/listings/drhelius--gearboy/badge.svg)](/listings/drhelius--gearboy)

HTML

<a href="/listings/drhelius--gearboy"><img src="/api/listings/drhelius--gearboy/badge.svg" alt="findsafeskills safety rating" /></a>

Install

i

What was scanned

The files the safety scan read, as written by the repository's author and shown as plain text. Lines with a finding are marked.

README.md · README · 301 lines

View this file on GitHub (read at the repository's current version: the scan did not record which commit it read)

This file has changed since it was scanned, so this is not exactly the text that was scanned, and no line is marked. The findings are listed with the safety scan above.

  1. # Gearboy
  2. [![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/drhelius/Gearboy/gearboy.yml)](https://github.com/drhelius/Gearboy/actions/workflows/gearboy.yml)
  3. [![GitHub Releases)](https://img.shields.io/github/v/tag/drhelius/Gearboy?label=version)](https://github.com/drhelius/Gearboy/releases)
  4. [![commits)](https://img.shields.io/github/commit-activity/t/drhelius/Gearboy)](https://github.com/drhelius/Gearboy/commits/master)
  5. [![GitHub contributors](https://img.shields.io/github/contributors/drhelius/Gearboy)](https://github.com/drhelius/Gearboy/graphs/contributors)
  6. [![GitHub Sponsors](https://img.shields.io/github/sponsors/drhelius)](https://github.com/sponsors/drhelius)
  7. [![License](https://img.shields.io/github/license/drhelius/Gearboy)](https://github.com/drhelius/Gearboy/blob/master/LICENSE)
  8. [![Twitter Follow](https://img.shields.io/twitter/follow/drhelius)](https://x.com/drhelius)
  9. Gearboy is an accurate, cross-platform Game Boy / Game Boy Color / Super Game Boy emulator written in C++ that runs on Windows, macOS, Linux, BSD and RetroArch, with an embedded MCP server for AI debugging and development.
  10. This is an open source project with its ongoing development made possible thanks to the support by these awesome [backers](backers.md). If you find it useful, please consider [sponsoring](https://github.com/sponsors/drhelius).
  11. Don't hesitate to report bugs or ask for new features by [opening an issue](https://github.com/drhelius/Gearboy/issues).
  12. <img src="http://www.geardome.com/files/gearboy/gearboy_debug_05.png">
  13. ## Downloads
  14. <table>
  15. <thead>
  16. <tr>
  17. <th>Platform</th>
  18. <th>Architecture</th>
  19. <th>Download Link</th>
  20. </tr>
  21. </thead>
  22. <tbody>
  23. <tr>
  24. <td rowspan="2"><strong>Windows</strong></td>
  25. <td>Desktop x64</td>
  26. <td><a href="https://github.com/drhelius/Gearboy/releases/download/3.8.21/Gearboy-3.8.21-desktop-windows-x64.zip">Gearboy-3.8.21-desktop-windows-x64.zip</a></td>
  27. </tr>
  28. <tr>
  29. <td>Desktop ARM64</td>
  30. <td><a href="https://github.com/drhelius/Gearboy/releases/download/3.8.21/Gearboy-3.8.21-desktop-windows-arm64.zip">Gearboy-3.8.21-desktop-windows-arm64.zip</a></td>
  31. </tr>
  32. <tr>
  33. <td rowspan="3"><strong>macOS</strong></td>
  34. <td>Homebrew</td>
  35. <td><code>brew install --cask drhelius/geardome/gearboy</code></td>
  36. </tr>
  37. <tr>
  38. <td>Desktop Apple Silicon</td>
  39. <td><a href="https://github.com/drhelius/Gearboy/releases/download/3.8.21/Gearboy-3.8.21-desktop-macos-arm64.zip">Gearboy-3.8.21-desktop-macos-arm64.zip</a></td>
  40. </tr>
  41. <tr>
  42. <td>Desktop Intel</td>
  43. <td><a href="https://github.com/drhelius/Gearboy/releases/download/3.8.21/Gearboy-3.8.21-desktop-macos-intel.zip">Gearboy-3.8.21-desktop-macos-intel.zip</a></td>
  44. </tr>
  45. <tr>
  46. <td rowspan="6"><strong>Linux</strong></td>
  47. <td>Ubuntu PPA</td>
  48. <td><a href="https://github.com/drhelius/ppa-geardome">drhelius/ppa-geardome</a></td>
  49. </tr>
  50. <tr>
  51. <td>Fedora RPM</td>
  52. <td><a href="https://github.com/drhelius/rpm-geardome">drhelius/rpm-geardome</a></td>
  53. </tr>
  54. <tr>
  55. <td>Desktop Ubuntu 26.04 x64</td>
  56. <td><a href="https://github.com/drhelius/Gearboy/releases/download/3.8.21/Gearboy-3.8.21-desktop-ubuntu26.04-x64.zip">Gearboy-3.8.21-desktop-ubuntu26.04-x64.zip</a></td>
  57. </tr>
  58. <tr>
  59. <td>Desktop Ubuntu 26.04 ARM64</td>
  60. <td><a href="https://github.com/drhelius/Gearboy/releases/download/3.8.21/Gearboy-3.8.21-desktop-ubuntu26.04-arm64.zip">Gearboy-3.8.21-desktop-ubuntu26.04-arm64.zip</a></td>
  61. </tr>
  62. <tr>
  63. <td>Desktop Ubuntu 24.04 x64</td>
  64. <td><a href="https://github.com/drhelius/Gearboy/releases/download/3.8.21/Gearboy-3.8.21-desktop-ubuntu24.04-x64.zip">Gearboy-3.8.21-desktop-ubuntu24.04-x64.zip</a></td>
  65. </tr>
  66. <tr>
  67. <td>Desktop Ubuntu 24.04 ARM64</td>
  68. <td><a href="https://github.com/drhelius/Gearboy/releases/download/3.8.21/Gearboy-3.8.21-desktop-ubuntu24.04-arm64.zip">Gearboy-3.8.21-desktop-ubuntu24.04-arm64.zip</a></td>
  69. </tr>
  70. <tr>
  71. <td><strong>MCPB</strong></td>
  72. <td>All platforms</td>
  73. <td><a href="MCP_README.md">MCP Readme</a></td>
  74. </tr>
  75. <tr>
  76. <td><strong>RetroArch</strong></td>
  77. <td>All platforms</td>
  78. <td><a href="https://docs.libretro.com/library/gearboy/">Libretro core documentation</a></td>
  79. </tr>
  80. <tr>
  81. <td><strong>Dev Builds</strong></td>
  82. <td>All platforms</td>
  83. <td><a href="https://github.com/drhelius/Gearboy/actions/workflows/gearboy.yml">GitHub Actions</a></td>
  84. </tr>
  85. </tbody>
  86. </table>
  87. **Notes:**
  88. - **Windows**: May need [Visual C++ Redistributable](https://go.microsoft.com/fwlink/?LinkId=746572) and [OpenGL Compatibility Pack](https://apps.microsoft.com/detail/9nqpsl29bfff)
  89. - **Homebrew**: If Homebrew asks you to trust the third-party tap, run `brew trust --tap drhelius/geardome`
  90. - **Linux**: May need `libsdl3`
  91. ## Features
  92. - Supported cartridges: ROM, ROM + RAM, MBC1, MBC2, MBC3, MBC5, MBC6, MBC7, HuC-1, HuC-3, MMM01, Pocket Camera, TAMA5, MBC1M, Wisdom Tree, M161, Sachen MMC1, Sachen MMC2, PKJD, Bung/EMS, Poke 2-in-1, Rocket Games, BHGOS, Li Cheng, NT newer, GGB81, Hitek, VF001, VF001 (SL), Sintax, NT old 1 and NT old 2.
  93. - Game Boy Color support.
  94. - Super Game Boy support.
  95. - Local two-instance Game Boy link cable support on desktop platforms and libretro core.
  96. - Barcode Boy
  97. - LCD screen ghosting effect as seen in the original Game Boy.
  98. - LCD dot matrix effects.
  99. - Battery powered RAM save support.
  100. - Save states with preview and rewind support.
  101. - Run-ahead support to reduce input latency.
  102. - Compressed ROM support (ZIP).
  103. - Bootrom (BIOS) support.
  104. - *Game Genie* and *GameShark* cheat support, with RetroArch `.cht` import.
  105. - VGM recorder.
  106. - Supported platforms (standalone): Windows, Linux, BSD and macOS.
  107. - Supported platforms (libretro): Windows, Linux, macOS, Raspberry Pi, Android, iOS, tvOS, webOS, PlayStation Vita, PlayStation 3, Nintendo 3DS, Nintendo GameCube, Nintendo Wii, Nintendo WiiU, Nintendo Switch, Emscripten, Classic Mini systems (NES, SNES, C64, ...), OpenDingux, RetroFW and QNX.
  108. - Full debugger with just-in-time disassembler, CPU breakpoints, memory access breakpoints, code navigation (goto address, JP JR and CALL double clicking), debug symbols, automatic labels, memory editor, trace logger, IO inspector and VRAM viewer including tiles, sprites, backgrounds and palettes.
  109. - MCP server for AI-assisted debugging with Claude Code, Codex and similar, exposing tools for execution control, memory inspection, hardware status, rewind and more.
  110. - Windows, Linux and macOS *Portable Mode*.
  111. - [Programmable Shader Chain](platforms/shared/desktop/shaders/README.md).
  112. - ROM loading from the command line by adding the ROM path as an argument.
  113. - ROM loading using drag & drop.
  114. - Support for modern game controllers through [gamecontrollerdb.txt](https://github.com/mdqinc/SDL_GameControllerDB) file located in the same directory as the application binary.
  115. ## Tips
  116. ### Basic Usage
  117. - **Boot ROM**: Gearboy can run with or without a Boot ROM. You can optionally load a Boot ROM and enable it.
  118. - **Mouse Cursor**: Automatically hides when hovering over the main output window or when Main Menu is disabled.
  119. - **Portable Mode**: Run with `--portable`, or create an empty file named `portable.ini` in the same directory as the application binary. On macOS, place the file next to the `.app` bundle.
  120. - **Link Cable**:
  121. Open `Link Cable` menu in two desktop instances, select the same session, and connect both, or start each process with `--link-cable-join N`. Independent instances should use separate application copies or `--portable` data directories so configuration, saves, and single-instance handling do not conflict.
  122. ### Debugging Features
  123. - **Docking Windows**: In debug mode, you can dock windows together by pressing SHIFT and dragging a window onto another.
  124. - **Multi-viewport**: In Windows or macOS, you can enable "multi-viewport" in the debug menu. You must restart the emulator for the change to take effect. Once enabled, you can drag debugger windows outside the main window.
  125. - **Single Instance**: You can enable "Single Instance" in the `Emulator` menu. When enabled, opening a ROM while another instance is running will send the ROM to the running instance instead of starting a new one.
  126. - **Debug Symbols**: The emulator automatically tries to load a symbol file when loading a ROM (.sym, .noi). For example, for `path_to_rom_file.gb` it tries to load `path_to_rom_file.sym`. You can also load a symbol file using the GUI or the CLI. It supports RGBDS, GBDK-2020, WLA-DX, no$gmb, SDCC/NoICE (.noi), EQU and generic file formats.
  127. ### Command Line Usage
  128. ```
  129. gearboy [options] [rom_file] [symbol_file]
  130. Arguments:
  131. [rom_file] ROM file: accepts ROMs (.gb, .dmg, .gbc, .cgb, .sgb) or ZIP (.zip)
  132. [symbol_file] Optional symbol file for debugging
  133. Options:
  134. -f, --fullscreen Start in fullscreen mode
  135. -w, --windowed Start in windowed mode with menu visible
  136. --load-state SLOT Load save state slot 1-5, or a state file, once the media is loaded
  137. --mcp-stdio Auto-start MCP server with stdio transport
  138. --mcp-http Auto-start MCP server with HTTP transport
  139. --mcp-router Enable compact MCP tool routing
  140. --mcp-http-address A HTTP bind address (default: 127.0.0.1)
  141. --mcp-http-port N HTTP port for MCP server (default: 7777)
  142. --link-cable-join N Join local link cable session 1-255
  143. --headless Run without GUI (requires MCP or link cable)
  144. --portable Store configuration and user data beside the application
  145. -v, --version Display version information
  146. -h, --help Display this help message
  147. ```
  148. ### MCP Server
  149. Gearboy includes a [Model Context Protocol](https://modelcontextprotocol.io/introduction) (MCP) server that enables AI-assisted debugging through AI agents like Claude Code, Codex and similar. The server provides tools for execution control, memory inspection, breakpoints, disassembly, hardware status, and more. STDIO and HTTP transports are supported, with STDIO preferred.
  150. For complete setup instructions and tool documentation, see [MCP_README.md](MCP_README.md).
  151. ### Agent Skills
  152. Gearboy provides [Agent Skills](https://agentskills.io/) that teach AI assistants how to effectively use the emulator for specific tasks:
  153. - **[gearboy-debugging](skills/gearboy-debugging/SKILL.md)** — Game debugging, code tracing, breakpoint management, hardware inspection, and reverse engineering.
  154. - **[gearboy-romhacking](skills/gearboy-romhacking/SKILL.md)** — Cheat creation, memory searching, ROM data modification, text translation, and game patching.
  155. Install with `npx skills add drhelius/gearboy`. See the [skills README](skills/README.md) for details.
  156. ## Build Instructions
  157. ### Windows
  158. - Install Microsoft Visual Studio Community 2026 or later.
  159. - Download the latest SDL3 VC development libraries from [SDL3 Releases](https://github.com/libsdl-org/SDL/releases) (the file named `SDL3-devel-x.y.z-VC.zip`).
  160. - Extract the archive and rename the resulting folder (e.g. `SDL3-x.y.z`) to `SDL3`.
  161. - Place the `SDL3` folder inside `platforms/windows/dependencies/` so that the include path is `platforms/windows/dependencies/SDL3/include/SDL3/`.
  162. - Open the Gearboy Visual Studio solution `platforms/windows/Gearboy.sln` and build.
  163. ### macOS
  164. - Install Xcode and run `xcode-select --install` in the terminal for the compiler to be available on the command line.
  165. - Run these commands to generate a Mac *app* bundle:
  166. ``` shell
  167. brew install sdl3
  168. cd platforms/macos
  169. make dist
  170. ```
  171. ### Linux
  172. - Ubuntu / Debian / Raspberry Pi (Raspbian):
  173. If you are using Ubuntu 26.04, you can install SDL3 directly. Use the following commands to build:
  174. ``` shell
  175. sudo apt install build-essential pkg-config libsdl3-dev libgl-dev
  176. cd platforms/linux
  177. make
  178. ```
  179. For Ubuntu 24.04, you need to build SDL3 from source first. Use the following commands to build both SDL3 and Gearboy:
  180. ``` shell
  181. sudo apt install build-essential cmake git curl jq pkg-config \
  182. libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev \
  183. libxi-dev libxss-dev libxkbcommon-dev libwayland-dev libdecor-0-dev \
  184. libdrm-dev libgbm-dev libgl1-mesa-dev libegl1-mesa-dev libdbus-1-dev libudev-dev libxtst-dev
  185. SDL3_TAG=$(curl -s https://api.github.com/repos/libsdl-org/SDL/releases/latest | jq -r '.tag_name')
  186. git clone --depth 1 --branch "$SDL3_TAG" https://github.com/libsdl-org/SDL.git /tmp/SDL3
  187. cmake -S /tmp/SDL3 -B /tmp/SDL3/build -DCMAKE_INSTALL_PREFIX=/usr -DSDL_TESTS=OFF -DSDL_EXAMPLES=OFF
  188. cmake --build /tmp/SDL3/build -j$(nproc)
  189. sudo cmake --install /tmp/SDL3/build
  190. cd platforms/linux
  191. make
  192. ```
  193. - Fedora:
  194. ``` shell
  195. sudo dnf install @development-tools gcc-c++ SDL3-devel
  196. cd platforms/linux
  197. make
  198. ```
  199. - Arch Linux:
  200. ``` shell
  201. sudo pacman -S base-devel sdl3
  202. cd platforms/linux
  203. make
  204. ```
  205. ### BSD
  206. - FreeBSD:
  207. ``` shell
  208. su root -c "pkg install -y git gmake pkgconf sdl3"
  209. cd platforms/bsd
  210. USE_CLANG=1 gmake
  211. ```
  212. - NetBSD:
  213. ``` shell
  214. su root -c "pkgin install gmake pkgconf SDL3"
  215. cd platforms/bsd
  216. gmake
  217. ```
  218. - OpenBSD
  219. ``` shell
  220. doas pkg_add gmake sdl3
  221. cd platforms/bsd
  222. LDFLAGS=-L/usr/X11R6/lib/ USE_CLANG=1 gmake
  223. ```
  224. ### Libretro
  225. - Ubuntu / Debian / Raspberry Pi (Raspbian):
  226. ``` shell
  227. sudo apt install build-essential
  228. cd platforms/libretro
  229. make
  230. ```
  231. - Fedora:
  232. ``` shell
  233. sudo dnf install @development-tools gcc-c++
  234. cd platforms/libretro
  235. make
  236. ```
  237. ## Screenshots
  238. ![Screenshot](http://www.geardome.com/files/gearboy/gearboy_004.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_006.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_008.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_022.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_013.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_023.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_015.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_029.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_011.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_024.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_017.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_016.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_034.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_026.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_018.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_025.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_021.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_027.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_019.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_020.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_031.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_028.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_007.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_009.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_010.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_005.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_012.png)![Screenshot](http://www.geardome.com/files/gearboy/gearboy_014.png)
  239. ## Contributors
  240. Thank you to all the people who have already contributed to Gearboy!
  241. [![Contributors](https://contrib.rocks/image?repo=drhelius/gearboy)](https://github.com/drhelius/gearboy/graphs/contributors)
  242. ## License
  243. Gearboy is licensed under the GNU General Public License v3.0 License, see [LICENSE](LICENSE) for more information.

Ratings and comments

Sign in to rate this skill.

Sign in

Free to use. If it’s helped, pass it on.