guac

command module
v0.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 8, 2025 License: BSD-3-Clause Imports: 20 Imported by: 0

README

icon guac: GBA, GBC, DMG Emulator

Guac is an Emulator written in golang for Gameboy, Gameboy Color and Gameboy Advance handheld consoles.

Video Breakdown

gb500gba500

Installation / Building

See Releases for Windows and Linux precompiled binaries.

Building from source is possible with golang > 1.24.5, using:

go build .

Getting Started

In both command line and console mode, save files are placed in the same directory as the rom file (ex. "harvest_moon.gba", "harvest_moon.gba.save")

Command line

Run the executable with a rom path (gb, gbc, and gba are required extensions) to immediately enter the game.

.\guac -r="../rom/pokemon_emerald.gba"

Console Mode

Run the executable without flags to use console mode, which initalizes a Game Selection Screen.

.\guac
Setting up Console Mode

At root, create a "roms.json" file. This file will hold the game metadata in the following format. At this time Art must be 1:1 pngs or jpgs. Watch trailing commas in json, it got me many a times.

[
 {
  "RomPath": "./rom/gba/the_minish_cap.gba",
  "ArtPath": "./art/the_minish_cap.png"
 }
 ...]

Configuration

Emulator settings can be configured using the config.toml file at root. If you would like to return to the default config.toml file, delete any present config.toml file and run the emulator.

Configurable Options

  1. Keyboard / Controller Input
  2. Backdrop Color
  3. Original DMG Gameboy Palette
  4. Menu Game Density
  5. Experimental Performance Improvements (HLE Bios, Multithreading etc)

Testing

Check the ./emu folder for individual consoles. These consoles will have "testing.md" files showing currently passing tests and tested games.

Contributing

Please contribute! At this time I am mostly interested in getting game errors fixed. Cycle accuracy, and serial communication are not a priority at this time. At this time, AI contributions will be rejected. For what needs work see "todo.md" pages for each console.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
emu
apu
gb
gba

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL