AcidBoy

A Game Boy, Game Boy Color and Super Game Boy emulator for .NET, with link-cable and online play built in.

  • .NET
  • C#
  • Emulation
  • Game Boy
  • Multiplayer
  • Open Source

Overview

AcidBoy is a Game Boy, Game Boy Color and Super Game Boy emulator written in C# on .NET 10. Load your games, link up with a friend across the room or across the world, and let AcidBoy keep score.

It runs on Windows, macOS and Linux, with an Android and iOS app that has touch controls, controller support and its own game library.

Game Boy Color mode running cgb-acid2

Key Features

  • Accurate emulation: Passes Blargg’s CPU and timing tests, dmg-acid2 and cgb-acid2
  • Three consoles in one: Game Boy, Game Boy Color and Super Game Boy, with SGB palettes, borders and 2-4 player multi-tap
  • Link cable: Two games side by side in one window, over your local network, or over Bluetooth between phones
  • AcidBoy Online: Sign in with GitHub, Discord or Google, then chat, add friends and challenge players without forwarding ports
  • Automatic win detection: Tetris, Dr. Mario and Pokémon battles and trades go into your match history and the leaderboards
  • Controller support: Xbox, PlayStation, Switch, 8BitDo and thousands more, with rumble, player LEDs and a setup wizard for unknown pads
  • Retro video effects: Scanlines, LCD grid, CRT curvature, frame blending and GBC color correction
  • Portable saves: .sav files, including the MBC3 real-time clock, work in VBA-M and BGB

The same game with the CRT filter

Playing Together

The link cable works three ways: two games in one window, over your network with one player hosting, or across the internet through AcidBoy Online, with no IP addresses or port forwarding involved. Online play adds public lobbies, private invite-code rooms, chat, friends and challenges.

AcidBoy also keeps score. It records rounds, sets and trades for Tetris, Dr. Mario, Pokémon Red/Blue/Yellow and Pokémon Gold/Silver/Crystal, and a result counts only when both players’ emulators saw the same thing.

Two games linked side by side in one window

An AcidBoy Online channel with two players

What Works

Component Notes
CPU (SM83) All opcodes; M-cycle accurate memory timing; HALT bug, EI delay, illegal-opcode lockup
PPU Scanline renderer with per-dot mode/STAT timing; window, sprites, DMG + CGB priority rules
CGB VRAM/WRAM banking, color palettes, BG attributes, HDMA, double speed
SGB Command packets, palettes, attributes, VRAM transfers, 256x224 border, 2-4 player multi-tap
APU Two square channels (one with sweep), wave, noise; stereo panning; high-pass output filter
Cartridges ROM only, MBC1, MBC3 (with real-time clock and MBC30), MBC5 (with rumble); battery saves for all

Getting Started

You need the .NET 10 SDK.

git clone https://github.com/tavobarrientos/AcidBoy
dotnet run --project src/AcidBoy.Desktop -c Release -- path/to/game.gb

Or start it with no arguments and pick a ROM from the menu. Press Esc at any time to open the menu.

Tech Stack

  • C# / .NET 10: Emulator core and desktop frontend
  • Raylib-cs: Window, graphics and audio
  • SDL3: Controller input

AcidBoy is not affiliated with or endorsed by Nintendo, and includes no games or boot ROMs. Screenshots show Matt Currie’s MIT-licensed dmg-acid2 and cgb-acid2 test ROMs.

Gallery