NINTENDO(1) NINTENDO(1) NAME gb, gba, nes, snes - emulators SYNOPSIS games/gb [ -acdT ] [ -C ... ] [ -x scale ] romfile games/gba [ -aT ] [ -b biosfile ] [ -s savetype ] [ -x scale ] romfile games/nes [ -aos ] [ -x scale ] romfile games/snes [ -ahmsT ] [ -x scale ] romfile DESCRIPTION Gb, gba, nes and snes are emulators for the Nintendo Game Boy and Game Boy Color (GB and GBC), Nintendo Game Boy Advance (GBA), Nintendo Entertainment System (NES), and Super Nintendo Entertainment System (SNES). They execute the romfile given as an argument. The z, x, a, s, q, wre- turn and shift keys correspond to B, A, Y, X, L1, L2, Start and Select, respectively. Other keys: F5 Save the current state in gb.save / gba.save / nes.save / snes.save. F6 Load the current state from gb.save / gba.save / nes.save / snes.save. Esc Pause the emulator. Del Exit the emulator. Command line options: -a Enable audio output. -x Scale the screen to a given factor regardless of the window's size. gb options: -c Run GBC roms in GBC mode and DMG (GB) roms in GBC's DMG compatibility mode. -d Run GB roms in DMG mode. GBC-only roms will not run in this mode; others will run only in black & white. -Cnnnnnn,nnnnnn,nnnnnn,nnnnnn Select a color palette. Has no effect on roms in color mode. The syntax is of the form -C ffffff,aaaaaa,555555,000000 (using HTML style rrggbb notation). NINTENDO(1) NINTENDO(1) gba options: -b Location of the GBA BIOS file (required to operate the emulator). Default is /sys/games/lib/gbabios.bin. -s Save format used by the original game. Valid formats are: eeprom4, eeprom64, sram256, flash512, flash1024. The number corresponds to the size, in kilobits, of the save file. By default, the emulator attempts to auto- matically detect the save format, but does not always succeed. nes options: -o Hide the top and bottom eight pixels (overscan area), like a real television would. -s Save contents of battery backed SRAM (used by some games for savegames) as a file (gb and snes automati- cally detect if this is needed). snes options: -h Override HiROM/LoROM detection: -h sets LoROM, -hh sets HiROM. -m Enable mouse emulation using system mouse. Mouse button 1 (left button) engages the SNES left mouse button. Mouse button 3 (right button) engages the SNES right mouse button. Holding down mouse button 2 (middle but- ton) disengages the SNES mouse entirely so that the Plan 9 cursor offset can be adjusted to align with the SNES cursor. SOURCE /sys/src/games/gb /sys/src/games/gba /sys/src/games/nes /sys/src/games/snes BUGS You bet! SRAM saving on the NES only functions when the -s option is used. The SNES horizontal hires mode is supported only with -2 scaling. All emulators assume a North American (i.e. NTSC) system. PAL games (and in some cases Japanese games) are not sup- ported. HISTORY Gb first appeared in 9front (April, 2012). NINTENDO(1) NINTENDO(1) Gba first appeared in 9front (September, 2014). Nes first appeared in 9front (February, 2014). Snes first appeared in 9front (March, 2014).