GAMBATTE(6)

NAME
gambatte - Nintendo Game Boy Color emulator

SYNOPSIS
gambatte [-f] [-i keys] [--list-keys] [-r freq] [-s scale] [-v filter] [-y] romfile

DESCRIPTION
gambatte emulates a Game Boy (Color) with romfile loaded as a Game Boy cartridge.

The options are as follows:

--controls
    Show keyboard controls.

--force-dmg
    Force DMG mode.

-f, --full-screen
    Start in full screen mode.

--gba-cgb
    Emulate the Game Boy Advance’s CGB mode.

--multicart-compat
    Support certain multicart ROM images by not strictly respecting the MBC type in the ROM header.

-i keys, --input keys
    Use the 8 given input keys for respectively
    START SELECT A B UP DOWN LEFT RIGHT

-l n, --latency n
    Use audio buffer latency of n ms.
    16 ≤ n ≤ 5000, default: 133

--list-keys
    List valid input keys.

-p n, --periods n
    Use n audio buffer periods.
    1 ≤ n ≤ 32, default: 4

--resampler n
    Use audio resampler number n.
    0 fast
    1 High quality (polyphase FIR) [default]
    2 Very high quality (polyphase FIR)
    3 Highest quality (polyphase FIR)

-r n, --sample-rate n
    Use sound sample rate of n Hz.
    32000 ≤ n ≤ 192000, default: 48000

-s n, --scale n
    Scale video output by an integer factor of n.

-v n, --video-filter n
    Use video filter number n:
    0 None
    1 Bicubic Catmull-Rom spline 2×
    2 Bicubic Catmull-Rom spline 3×
    3 Kreed’s 2xSal
    4 MaxSt’s hq2x
    5 MaxSt’s hq3x

-y, --yuv-overlay
    Use YUV overlay for (usually faster) scaling.

INTERACTIVE KEYBOARD CONTROLS
<Tab>
    fast-forward
<Ctrl+f>
    toggle full screen
<Ctrl+r>
    reset
<F5>
    save state
<F6>
    choose previous state slot
<F7>
    choose next state slot
<F8>
    load state
0–9 choose state slot 0 to 9
<Return>
    Start
<Shift>
    Select
d   A
c   B

AUTHORS
Sindre Aamås <aamas@stud.ntnu.no>