Oak GB is an emulator for the Gameboy and Gameboy Color, written in Java 8 and rendered using a Swing JFrame. The emulator is not cycle-accurate, but can play most games and passes various important tests, including cpu_instrs, dmg-acid2, and cgb-acid2.
| Computer Keyboard | Gameboy |
|---|---|
| Z | A |
| X | B |
| Arrow Keys | Up/Down/Left/Right |
| Enter | Start |
| Space | Select |
| ` | Take Screenshot |
Run the build.sh script to create a runnable jar file, or run.sh to run the program. There are equivalent .bat files for Windows machines. Then, simply select your ROM file to start the emulator.
- Fully implemented CPU
- Scanline-by-scanline renderer using Swing
- MBC1, MBC2, MBC3, and MBC5 mappers
- Settings to change screen size & game speed
- Support for .gb and .gbc files
- APU (coming soon)





