6 .Nd Sega Genesis/Mega Drive emulator
15 .Op Fl p Ar CODE,CODE...
25 The ROM image in the file
27 is executed, as emulated on a Sega Genesis or Mega Drive running in 60Hz NTSC
30 option is specified, in which case 50Hz PAL mode is used).
32 should be in raw binary or SMD format, and may be compressed with
39 isn't specified, DGen starts without a ROM. It can be loaded later from the
40 prompt. When more than a single
42 is specified, they are executed sequentially.
44 The options are as follows:
47 Use a custom frame rate, can be used to accelerate or slow down emulation.
49 Emulate 50Hz PAL mode (as used in European models of the Mega Drive).
51 Emulator region. Without this option, DGen uses the first region mentioned in
52 the ROM header. It should be combined with
54 for PAL mode. See below.
57 Autodetect (NTSC, 60Hz)
59 Autodetect (PAL, 50Hz)
65 Europe (NTSC, 60Hz, music will certainly play too fast)
75 Run fullscreen, if possible.
77 Show a brief synopsis of all options.
79 MinGW only. This option prevents DGen from detaching from its control console.
81 Show the version number, and exit.
83 Play back a demo recorded with the
87 Record a demo of the program running, which can be later replayed with the
91 Sleep for a number of microseconds after every frame, to give time to other
93 .It Fl p Ar CODE,CODE...
94 Modify the ROM image in memory, using Game Genie or Hex style codes. Game
95 Genie codes are of the form
97 and Hex codes are in the form
99 To specify more than one code, separate them with commas (do
103 Parse another rc file after $HOME/.dgen/dgenrc. Values in the specified file
104 override those in the preceding files.
106 Scale the window XFACT times in the X direction. XFACT must be a positive
109 Scale the window YFACT times in the Y direction. YFACT must be a positive
112 Scale the window FACT times in both directions. FACT must be a positive integer.
114 Enable/disable OpenGL (if compiled-in).
116 Desired window size (e.g. 640x480, 800x600, etc.)
118 Load the saved state from the given slot at startup (0-9)
120 .Sh INTERACTIVE PROMPT
121 A minimalist interactive prompt inspired from
123 can be used to perform various operations described below. It is triggered by
124 pressing colon (:), the default key. Command-line editing, history and
125 completion are supported.
129 Quit, or load the next
131 from command-line, if any.
132 .It {load, open, plug, o} Ar filename
135 .It {unload, close, unplug}
136 Unload the current ROM.
137 .It config_load Ar filename
138 Load configuration from file
140 .It config_save Ar filename
141 Save current configuration to file
145 .It {ctv_push, ctv_pop, ctv_none}
146 Manage the stack of Crap TV filters (if compiled-in).
147 .It calibrate Ar number
148 Interactive calibration of the specified gamepad (1 or 2). If
150 isn't specified, default to 1.
151 .It unbind Ar binding [...]
152 Remove specified bindings (variables prefixed with "bind_").
155 for more information about them.
156 .It vgmdump start Ar filename
158 Manages VGM dumping/logging. If the second argument is
160 VGM dumping will be started at the path specified by the third argument.
161 If the second argument is
163 VGM dumping will be stopped and the dump finalized.
166 All configuration variables from
168 can be displayed and modified interactively, with immediate effect.
170 .It {int_name, bool_name, key_name, joy_name, ...} {value}
175 .It {int_name, bool_name, key_name, joy_name, ...}
176 Display current value for variable
180 .Bl -tag -width $HOME/.dgen/dgen/saves/* -compact
181 .It Pa $HOME/.dgen/dgenrc
182 Contains user settings for the emulator.
183 .It Pa $HOME/.dgen/dgenrc.auto
184 Generated file containing saved user settings.
185 .It Pa $HOME/.dgen/saves/*
186 Save states generated by the emulator.
187 .It Pa $HOME/.dgen/ram/*
188 Battery-backup RAM images, generated by the emulator for ROMs with save RAM.
189 .It Pa $HOME/.dgen/screenshots/*
190 Screenshots are generated there.
191 .It Pa $HOME/.dgen/roms/*
192 ROMs default search path.
193 .It Pa $HOME/.dgen/demos/*
194 Demos default search path.
202 This manual page was written by
203 .An Joe Groff Aq joe@pknet.com .
204 .An Updated by zamaz Aq zamaz@users.sourceforge.net .
206 There are known emulation bugs, see BUGS in DGen source package.
208 .An Report bugs to Aq http://sourceforge.net/projects/dgen/ .