# Gearboy

> Built from commit 3effc4a043e0 on 2026-11-24. The current build: https://abdess.github.io/retrobios/version.json

Source: https://abdess.github.io/retrobios/emulators/gearboy/

Gearboy emulates Nintendo Game Boy, Nintendo Game Boy Color and Nintendo Super Game Boy. It reads 4 files, none of them required: it starts games without them.

**About this profile**

| Detail | Value |
|---|---|
| Type | libretro |
| Classification | Official port |
| Source | [https://github.com/drhelius/Gearboy](https://github.com/drhelius/Gearboy) |
| Version | 3.8.20-11-gc2beeea, 11 commits after tag [`3.8.20`](https://github.com/drhelius/Gearboy/tree/3.8.20) |
| Revision | [drhelius/Gearboy@c2beeea6e202](https://github.com/drhelius/Gearboy/commit/c2beeea6e202a41f796c4026fa0caaee1b904662) |
| Run by | [AmberELEC](https://abdess.github.io/retrobios/platforms/amberelec/), [Batocera](https://abdess.github.io/retrobios/platforms/batocera/), [EmuDeck](https://abdess.github.io/retrobios/platforms/emudeck/), [EmuELEC](https://abdess.github.io/retrobios/platforms/emuelec/), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/), [Lakka](https://abdess.github.io/retrobios/platforms/lakka/), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/), [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/), [ROCKNIX](https://abdess.github.io/retrobios/platforms/rocknix/) |
| Profiled | 2026-11-09 |
| Profile | [YAML](https://github.com/Abdess/retrobios/blob/main/emulators/gearboy.yml), [JSON](https://abdess.github.io/retrobios/api/v1/emulators/gearboy.json) |
| Cores | gearboy |
| Systems | [Nintendo Game Boy](https://abdess.github.io/retrobios/systems/nintendo-game-boy/), [Nintendo Game Boy Color](https://abdess.github.io/retrobios/systems/nintendo-game-boy-color/), [Nintendo Super Game Boy](https://abdess.github.io/retrobios/systems/nintendo-super-game-boy/) |

**Install this emulator's files**

The installer finds the setup and its BIOS folder, then downloads only the files this emulator reads there and checks each one.

**Windows:**

Open Start. Type **PowerShell**, press Enter. Click Copy. Right-click to paste. Press Enter.

PowerShell

```
&([scriptblock]::Create((irm https://abdess.github.io/retrobios/i.ps1))) --emulator gearboy
```

**macOS:**

Press Cmd+Space. Type **Terminal**, press Return. Click Copy. Press Cmd+V. Press Return.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator gearboy
```

**Linux:**

Open a terminal, often with Ctrl+Alt+T. Click Copy. Press Ctrl+Shift+V. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator gearboy
```

**Steam Deck:**

Hold power, pick **Switch to Desktop**. Open **Konsole**. Click Copy. Press Ctrl+Shift+V. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator gearboy
```

**Android (Termux):**

Install **Termux**, a terminal app. Paste the line. Press Enter. Accept the Python install and allow the storage access Android asks for.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator gearboy
```

**On the device:**

Open a terminal on the device. Or connect from a computer with SSH, a terminal over the network. Paste the line. Press Enter.

Terminal

```
curl -fsSL https://abdess.github.io/retrobios/i | sh -s -- --emulator gearboy
```

**Technical notes**

Gearboy is a Game Boy / Game Boy Color emulator by drhelius (Ignacio Sanchez). The buildbot builds from drhelius/Gearboy (upstream), not from libretro/Gearboy, an archived fork (its description reads "NOTE: PUBLIC ARCHIVE") whose src/definitions.h states version 2.6.0. Bootrom loading is gated behind core options (disabled by default). Without bootroms, the core HLE-skips the boot animation.

Super Game Boy mode (core option gearboy_sgb, enabled by default, one instance only) reads the SNES cartridge ROM of the Super Game Boy, SGB1.sfc then SGB2.sfc in the system directory. Only its default border and palettes are taken from it, and SGB games run without it on the built-in defaults. The ROM is identified by CRC32 and size against four known dumps, whichever of the two names it carries, and an unknown dump is refused ([`src/SGB.cpp:38-44`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/src/SGB.cpp#L38-L44), [`200-223`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/src/SGB.cpp#L200-L223), [`1096-1105`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/src/SGB.cpp#L1096-L1105)).

## Files

**4 files**: 0 required, 4 optional. 4 have an HLE fallback.

In this collection: 4 in repo and 0 missing.

## Optional

### `dmg_boot.bin` optional in repo HLE fallback

Game Boy DMG bootrom

- Size: 256 B
- Collection copy: [`bios/Nintendo/Game Boy/dmg_boot.bin`](https://abdess.github.io/retrobios/systems/nintendo-game-boy/#sha1-1db57a1e8b6e)
- Platforms: `gb/dmg_boot.bin`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#nintendo-gb)

**Validation and source**

- Validation: size
- Source: [`platforms/libretro/libretro.cpp:1036-1045`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/platforms/libretro/libretro.cpp#L1036-L1045), [`platforms/libretro/libretro.cpp:474-479`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/platforms/libretro/libretro.cpp#L474-L479)

### `cgb_boot.bin` optional in repo HLE fallback

Game Boy Color bootrom

- Size: 2.2 KB (2,304 bytes)
- Collection copy: [`bios/Nintendo/Game Boy Color/cgb_boot.bin`](https://abdess.github.io/retrobios/systems/nintendo-game-boy-color/#sha1-80e3ee82416c)
- Platforms: `gbc/cgb_boot.bin`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#nintendo-gbc)

**Validation and source**

- Validation: size
- Source: [`platforms/libretro/libretro.cpp:1047-1056`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/platforms/libretro/libretro.cpp#L1047-L1056), [`platforms/libretro/libretro.cpp:475-480`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/platforms/libretro/libretro.cpp#L475-L480)

### `SGB1.sfc` optional in repo HLE fallback

Super Game Boy SNES cartridge ROM

- System: [Nintendo Super Game Boy](https://abdess.github.io/retrobios/systems/nintendo-super-game-boy/)
- Tried first. Any of the four known dumps loads under this name, the 512 KiB SGB2 one included. Read only with Super Game Boy mode on and a single instance.

- Size: 256.0 KB (262,144 bytes), CRC32 2e35edbb and 2 more
- Collection copy: [`bios/Nintendo/SNES/SNES_SGB_(JU).sfc`](https://abdess.github.io/retrobios/systems/nintendo-snes/#sha1-6ed55c436833)
- Platforms: `SNES_SGB_(JU).sfc`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#nintendo-snes)

**Hashes, validation and source**

- CRC32: `2e35edbb`, `27a03c98`, `8a4a174f`
- Validation: size, crc32
- Source: [`platforms/libretro/libretro.cpp:447-467`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/platforms/libretro/libretro.cpp#L447-L467), [`platforms/libretro/libretro.cpp:879-885`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/platforms/libretro/libretro.cpp#L879-L885), [`src/SGB.cpp:38-44`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/src/SGB.cpp#L38-L44), [`src/SGB.cpp:200-223`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/src/SGB.cpp#L200-L223)

### `SGB2.sfc` optional in repo HLE fallback

Super Game Boy 2 SNES cartridge ROM

- System: [Nintendo Super Game Boy](https://abdess.github.io/retrobios/systems/nintendo-super-game-boy/)
- Tried when SGB1.sfc is absent or refused. Any of the four known dumps loads under this name.

- Size: 512.0 KB (524,288 bytes), CRC32 cb176e45
- Collection copy: [`bios/Nintendo/Super Game Boy/SGB2.sfc/program.rom`](https://abdess.github.io/retrobios/systems/nintendo-super-game-boy/#sha1-e5b2922ca137)
- Platforms: `SGB2.sfc`: [Batocera](https://abdess.github.io/retrobios/platforms/batocera/#nintendo-sgb), [KNULLI](https://abdess.github.io/retrobios/platforms/knulli/#nintendo-sgb), [RetroBat](https://abdess.github.io/retrobios/platforms/retrobat/#nintendo-sgb). `SGB2.sfc` and `SGB2.sfc/program.rom` and `sgb2.program.rom`: [Lakka](https://abdess.github.io/retrobios/platforms/lakka/#nintendo-sgb), [RetroArch](https://abdess.github.io/retrobios/platforms/retroarch/#nintendo-sgb), [RetroPie](https://abdess.github.io/retrobios/platforms/retropie/#nintendo-sgb). `SGB/Super Game Boy 2.sfc`: [MiSTer FPGA](https://abdess.github.io/retrobios/platforms/misterfpga/#nintendo-sgb). `SNES_SGB2_(J).sfc`: [BizHawk](https://abdess.github.io/retrobios/platforms/bizhawk/#nintendo-snes). `bios/SGB2.sfc` and `bios/sgb2.boot.rom`: [RetroDECK](https://abdess.github.io/retrobios/platforms/retrodeck/#nintendo-snes). `sgb/SGB2.sfc`: [Recalbox](https://abdess.github.io/retrobios/platforms/recalbox/#nintendo-gb). `super-gb/SGB2.sfc` and `super-gb/sgb2.program.rom`: [RomM](https://abdess.github.io/retrobios/platforms/romm/#nintendo-sgb)

**Hashes, validation and source**

- CRC32: `cb176e45`
- Validation: size, crc32
- Source: [`platforms/libretro/libretro.cpp:447-467`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/platforms/libretro/libretro.cpp#L447-L467), [`src/SGB.cpp:38-44`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/src/SGB.cpp#L38-L44), [`src/SGB.cpp:200-223`](https://github.com/drhelius/Gearboy/blob/c2beeea6e202a41f796c4026fa0caaee1b904662/src/SGB.cpp#L200-L223)

## Next steps

- [Get the files](https://abdess.github.io/retrobios/which-pack/), for the setup in use
- [Every system](https://abdess.github.io/retrobios/systems/), and the files each one needs
- [When a game does not start](https://abdess.github.io/retrobios/wiki/troubleshooting/)

Data as of 24 November 2026.
