GNGB(1)

๐Ÿ‘‘ GNGB โ€” the manual page, but make it cute (GNGB(1), General Commands Manual, bestie)

okay so first things first: this is gngb, section 1 of the General Commands Manual, and it's genuinely iconic. let's get into it. ๐ŸŽ€


โœจ NAME โœจ

gngb โ€” emulate various Nintendo Game Boy handheld systems ๐Ÿ’–


๐Ÿฆ‹ SYNOPSIS ๐Ÿฆ‹

gngb [-h] | [options] <romname>

๐ŸŒธ DESCRIPTION ๐ŸŒธ

gngb is an emulator program that attempts to be various forms of Nintendo Game Boy hardware. it can run the various homebrew games and demos for the system, and also images of commercially-released games. like, the whole vibe. ๐Ÿ‘‘

real talk: this manual page was written for the Debian GNU/Linux distribution because the original program does not have a manual page. we're doing charity work here and it's slaying.

๐Ÿ’… OPTIONS ๐Ÿ’…

the program follows the usual GNU command line syntax, with long options starting with two dashes (-). a summary of options are included below. sit down, hydrate, we're going through all of them. ๐Ÿ“

  • -h, --help โ€” print help and exit โœจ
  • -a, --autoframeskip โ€” turn on autoframeskip. this is useful if the emulator is running too slow. it will cause the emulator to drop frames every now and then to maintain a realtime emulation. it's giving "we're skipping frames but we're doing it for YOU" ๐Ÿซถ
  • --sleep_idle โ€” sleep when idle. this will cause the program to sleep when it has idle cycles instead of busy looping. however, this can degrade emulation performance under some circumstances. so like, nap but be aware of the consequences ๐Ÿ˜ญ
  • --color_filter โ€” turn on the color filter. ๐Ÿ’œ
  • -r, --rumble โ€” turn on the rumble simulation. this will cause the emulated screen to shake when a rumble effect is caused by the running program. the screen is SHAKING and it's not even a real gameboy, obsessed. ๐Ÿ”ฅ
  • --filter=X โ€” set the filter to apply. these only work when using standard (not YUV or GL) video output. 0 = none, 1 = scanline, 2 = scanline 50%, 3 = smooth, 4 = pseudo cell shading ๐ŸŽ€
  • -R, --res=WxH โ€” set the screen resolution to WxH (for YUV and GL mode only). ๐Ÿ‘‘
  • -Y, --yuv โ€” turn YUV mode on. this utilizes the hardware YUV colorspace conversion and scaling features if your video card supports it. most video cards with Xv support can use this feature for excellent performance. no cap, the performance is excellent. ๐Ÿ’–
  • --yuv_type โ€” set the type of the YUV overlay: 0 = YV12, 1 = YUY2 โœจ
  • -o, --opengl โ€” turn OpenGL mode on. this will render the gameboy screen as an OpenGL 3D texture, which on some cards may perform much better than the YUV or X11 output. this requires a 3D card with GLX support. ๐Ÿ’…
  • -f, --fullscreen โ€” run gngb in fullscreen. fullscreen can be toggled during use with F9. main character energy, full screen, no distractions ๐ŸŒˆ
  • --fps โ€” show frames per second counter in the upper left corner of screen. may be toggled through the emulator's menu. ๐Ÿ‘€
  • -s, --sound โ€” enable sound. ๐Ÿ”Š
  • --sample_rate=RATE โ€” set the sound output sample rate to RATE. (typically a multiple of 11025 Hz) ๐ŸŽต
  • --auto_gb โ€” automatically detect the system to emulate based on the cartridge image that is selected. this should work in most cases. if it fails, you can use one of the [ -C, --color_gb | -G, --normal_gb | -S, --super_gb ] options to force emulation of a Color, Normal, or Super Game Boy. it's giving "let the cartridge decide" ๐Ÿ˜Œ
  • -j, --joy_dev=N โ€” the default joystick is /dev/js0. by setting N here, /dev/jsN will be used in its place. ๐Ÿ•น๏ธ
  • -g, --gdma_cycle โ€” this experimental option will halt the CPU during certain DMA operations. leave it off unless you are working around problems in a certain program. โš ๏ธ experimental, bestie, don't just turn it on for fun
  • -v, --version โ€” show version of program. ๐Ÿ’œ
heads up: most options can be disabled with --no-OPTION (Ex: --no-sound turn sound off) ๐Ÿ™ˆ

๐ŸŽฎ DEFAULT BINDINGS ๐ŸŽฎ

these are the default keys in the emulator. these, along with the joystick buttons, may be changed through a custom gngbrc(5) file. yes, a whole file for your personal vibes. ๐Ÿฆ‹

  • Enter โ€” Start
  • Right Shift โ€” Select
  • W โ€” B
  • X โ€” A
  • TAB โ€” Open menu
  • F9 โ€” fullscreen on/off
  • F10 โ€” show fps
  • F11 โ€” reset
  • F12 โ€” show keysym code
  • KeyPad 1-5 โ€” Change palette
    • palette must be define in your gngbrc file (see sample_gngbrc) ๐ŸŽจ
  • KeyPad 6 โ€” Toggle color filter

๐ŸŒˆ SEE ALSO ๐ŸŒˆ

there is some good info in the README included in the doc directory. the gngbrc file is documented in /usr/share/doc/gngb/examples/sample_gngbrc. go read, it's worth it, iykyk. ๐Ÿ’–


๐Ÿ’œ AUTHOR ๐Ÿ’œ

this manual page was written by RCU <nemesis@dbz.icequake.net>, for the Debian GNU/Linux system (but may be used by others). shoutout to RCU, they ate. ๐Ÿซถ


and that's a wrap on the GNGB(1) page from the General Commands Manual, bestie โ€” go emulate something iconic. periodt. ๐Ÿ’…โœจ

๐Ÿ“ฆ where this page comes from