The option to set the initial size accepts a number (more details about this in the table below). Right now, there are 2 categories of Config Options, options that map controls and an option to set the initial size of GBEmu's window. The left hand side of the equals is called the Config Option and the right hand side is the Config Value. In this example, this tells GBEmu to map the Up button on the Game Boy to the W key. With one exception (see the "Key" option definition below), config.txt is case insensitive.Īn example configuration line looks like the following: Any changes made to this file will be reflected in GBEmu on the next launch. When GBEmu starts up for the first time, this file is created and populated with default configuration. Each line represents a different configuration. Start Back (Options Touchpad Button for PS4) - Start, Select respectivelyĬonfig.txt is a file that lives in the GBEmu Home Directory which contains configuration, such as keyboard and gamepad controls, for GBEmu.D-Pad or Left Analog Stick - Up, Down, Left, Right.Ctrl (Command on Mac) - 0 to 9 - Save current states 0 to 9.0 to 9 - Load saved state from slots 0 to 9.Ctrl (Command on Mac) - N - Show emulator controls.Ctrl (Command on Mac) - B - Launch debugger screen.Ctrl (Command on Mac) - U - Mute sound.Ctrl (Command on Mac) - F - Toggle fullscreen.Ctrl (Command on Mac) - R - Reset emulation.Ctrl (Command on Mac) - P - Pause and unpause emulation.H - Briefly display GBEmu Home Directory in the title bar.N - Next instruction when emulator is paused, including when a breakpoint is hit.
A ROM can also be opened from the command line. When running from the GUI an open dialog will be prompt to open a Game Boy ROM from the ROMs folder in the Home Diretory (see the Home Diretory).
Finder, Windows Explorer) or the command line. GBEmu can be run from a standard GUI file manager (e.g. Right now it works on Mac, Windows and Linux. Some distinctive features include a ROM debugger, a rewind system and easy-to-use quick save and restore slots. GBEmu (working title) is a Game Boy Emulator written in a C-style C++ (using some C++11 features like auto) and SDL2 (and a tiny bit of GTK3 on Linux).