dgen man page
dgen — Sega Genesis/Mega Drive emulator
|dgen|| [-Pfhmv] [-R |
The ROM image in the file
romname is executed, as emulated on a Sega Genesis or Mega Drive running in 60Hz NTSC mode (unless the -P option is specified, in which case 50Hz PAL mode is used).
romname should be in raw binary or SMD format, and may be compressed with gzip(1), zip(1), or bzip2(1).
romname isn't specified, DGen starts without a ROM. It can be loaded later from the prompt. When more than a single
romname is specified, they are executed sequentially.
The options are as follows:
Use a custom frame rate, can be used to accelerate or slow down emulation.
Emulate 50Hz PAL mode (as used in European models of the Mega Drive).
Emulator region. Without this option, DGen uses the first region mentioned in the ROM header. It should be combined with -P for PAL mode. See below.
Autodetect (NTSC, 60Hz)
Autodetect (PAL, 50Hz)
Japan (NTSC, 60Hz)
Japan (PAL, 50Hz)
Europe (NTSC, 60Hz, music will certainly play too fast)
Europe (PAL, 50Hz)
America (NTSC, 60Hz)
Same as -R
Run fullscreen, if possible.
Show a brief synopsis of all options.
MinGW only. This option prevents DGen from detaching from its control console.
Show the version number, and exit.
Play back a demo recorded with the -d option.
Record a demo of the program running, which can be later replayed with the -D switch.
Sleep for a number of microseconds after every frame, to give time to other processes.
Modify the ROM image in memory, using Game Genie or Hex style codes. Game Genie codes are of the form
ABCD-EFGHand Hex codes are in the form
123456:ABCD. To specify more than one code, separate them with commas (do
Parse another rc file after $HOME/.dgen/dgenrc. Values in the specified file override those in the preceding files.
Scale the window XFACT times in the X direction. XFACT must be a positive integer.
Scale the window YFACT times in the Y direction. YFACT must be a positive integer.
Scale the window FACT times in both directions. FACT must be a positive integer.
Enable/disable OpenGL (if compiled-in).
Desired window size (e.g. 640x480, 800x600, etc.)
Load the saved state from the given slot at startup (0-9)
A minimalist interactive prompt inspired from vi(1) can be used to perform various operations described below. It is triggered by pressing colon (:), the default key. Command-line editing, history and completion are supported. Quit, or load the next Load a given ROM Unload the current ROM. Load configuration from file Save current configuration to file Genesis reset. Manage the stack of Crap TV filters (if compiled-in). Interactive calibration of the specified gamepad (1 or 2). If Remove specified bindings (variables prefixed with "bind_"). See dgenrc(5) for more information about them. Manages VGM dumping/logging. If the second argument is
romname from command-line, if any.
number isn't specified, default to 1.
start VGM dumping will be started at the path specified by the third argument. If the second argument is
stop VGM dumping will be stopped and the dump finalized.
Quit, or load the next
Load a given ROM
Unload the current ROM.
Load configuration from file
Save current configuration to file
Manage the stack of Crap TV filters (if compiled-in).
Interactive calibration of the specified gamepad (1 or 2). If
Remove specified bindings (variables prefixed with "bind_"). See dgenrc(5) for more information about them.
Manages VGM dumping/logging. If the second argument is
All configuration variables from dgenrc(5) can be displayed and modified interactively, with immediate effect. Affect Display current value for variable
value to variable
All configuration variables from dgenrc(5) can be displayed and modified interactively, with immediate effect.
Display current value for variable
Contains user settings for the emulator.
Generated file containing saved user settings.
Save states generated by the emulator.
Battery-backup RAM images, generated by the emulator for ROMs with save RAM.
Screenshots are generated there.
ROMs default search path.
Demos default search path.
gzip(1), bzip2(1), zip(1), dgenrc(5)
This manual page was written by
There are known emulation bugs, see Bugs in DGen source package.