Subversion Repositories Kolibri OS

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
9970 turbocat 1
2
3
4
  
5
  
6
  
17
  DGEN(1)
18
19
20
21
  
22
    
DGEN(1)
23
    
General Commands Manual
24
    
DGEN(1)
25
  
26
27
28
29

30

dgenSega

31
    Genesis/Mega Drive emulator

32
33
34

35
36
  
37
    
dgen
38
    
[-Pfhmv] [-R
39
      (J|U|E)] [-H
40
      HZ] [-D
41
      DEMONAME] [-d
42
      DEMONAME] [-n
43
      USEC] [-p
44
      CODE,CODE...] [-r
45
      RCFILE] [-X
46
      XFACT] [-Y
47
      YFACT] [-S
48
      FACT] [-g
49
      (0|1)] [-G
50
      XxY] [-s
51
      SLOT] [romname [...]]
52
  
53
54
55
56

57

The ROM image in the file romname is

58
    executed, as emulated on a Sega Genesis or Mega Drive running in 60Hz NTSC
59
    mode (unless the -P option is specified, in which
60
    case 50Hz PAL mode is used). romname should be in raw
61
    binary or SMD format, and may be compressed with gzip(1),
62
    zip(1), or bzip2(1).

63

When romname isn't specified, DGen starts

64
    without a ROM. It can be loaded later from the prompt. When more than a
65
    single romname is specified, they are executed
66
    sequentially.

67

The options are as follows:

68
69
  
70
    HZ
71
  
Use a custom frame rate, can be used to accelerate or slow down
72
    emulation.
73
  
74
  
Emulate 50Hz PAL mode (as used in European models of the Mega Drive).
75
  
76
    (J|U|E)
77
  
Emulator region. Without this option, DGen uses the first region mentioned
78
      in the ROM header. It should be combined with -P
79
      for PAL mode. See below.
80
    
81
      
(none)
82
      
Autodetect (NTSC, 60Hz)
83
      
84
      
Autodetect (PAL, 50Hz)
85
      
86
        J
87
      
Japan (NTSC, 60Hz)
88
      
89
        J -P
90
      
Japan (PAL, 50Hz)
91
      
92
        E
93
      
Europe (NTSC, 60Hz, music will certainly play too fast)
94
      
95
        E -P
96
      
Europe (PAL, 50Hz)
97
      
98
        U
99
      
America (NTSC, 60Hz)
100
      
101
        U -P
102
      
Same as -R E
103
          -P
104
    
105
  
106
  
107
  
Run fullscreen, if possible.
108
  
109
  
Show a brief synopsis of all options.
110
  
111
  
MinGW only. This option prevents DGen from detaching from its control
112
      console.
113
  
114
  
Show the version number, and exit.
115
  
116
    DEMONAME
117
  
Play back a demo recorded with the -d option.
118
  
119
    DEMONAME
120
  
Record a demo of the program running, which can be later replayed with the
121
      -D switch.
122
  
123
    USEC
124
  
Sleep for a number of microseconds after every frame, to give time to
125
      other processes.
126
  
127
    CODE,CODE...
128
  
Modify the ROM image in memory, using Game Genie or Hex style codes. Game
129
      Genie codes are of the form ABCD-EFGH and Hex codes
130
      are in the form 123456:ABCD. To specify more than
131
      one code, separate them with commas (do not use
132
      spaces).
133
  
134
    RCFILE
135
  
Parse another rc file after $HOME/.dgen/dgenrc. Values in the specified
136
      file override those in the preceding files.
137
  
138
    XFACT
139
  
Scale the window XFACT times in the X direction. XFACT must be a positive
140
      integer.
141
  
142
    YFACT
143
  
Scale the window YFACT times in the Y direction. YFACT must be a positive
144
      integer.
145
  
146
    FACT
147
  
Scale the window FACT times in both directions. FACT must be a positive
148
      integer.
149
  
150
    (0|1)
151
  
Enable/disable OpenGL (if compiled-in).
152
  
153
    XxY
154
  
Desired window size (e.g. 640x480, 800x600, etc.)
155
  
156
    SLOT
157
  
Load the saved state from the given slot at startup (0-9)
158
159
160
161

162
  PROMPT
163

A minimalist interactive prompt inspired from

164
    vi(1) can be used to perform various operations described
165
    below. It is triggered by pressing colon (:), the default key. Command-line
166
    editing, history and completion are supported.

167
168

169
170
  
{quit, exit, q}
171
  
Quit, or load the next romname from command-line, if
172
      any.
173
  
{load, open, plug, o} filename
174
  
Load a given ROM filename.
175
  
{unload, close, unplug}
176
  
Unload the current ROM.
177
  
config_load filename
178
  
Load configuration from file filename.
179
  
config_save filename
180
  
Save current configuration to file filename.
181
  
reset
182
  
Genesis reset.
183
  
{ctv_push, ctv_pop, ctv_none}
184
  
Manage the stack of Crap TV filters (if compiled-in).
185
  
calibrate number
186
  
Interactive calibration of the specified gamepad (1 or 2). If
187
      number isn't specified, default to 1.
188
  
unbind binding [...]
189
  
Remove specified bindings (variables prefixed with "bind_"). See
190
      dgenrc(5) for more information about them.
191
  
vgmdump start filename
192
  
 
193
  
vgmdump stop
194
  
Manages VGM dumping/logging. If the second argument is
195
      start VGM dumping will be started at the path
196
      specified by the third argument. If the second argument is
197
      stop VGM dumping will be stopped and the dump
198
      finalized.
199
200
201
202

203

All configuration variables from dgenrc(5) can

204
    be displayed and modified interactively, with immediate effect.

205
206
  
{int_name, bool_name, key_name, joy_name, ...} {value}
207
  
Affect value to variable
208
    name.
209
  
{int_name, bool_name, key_name, joy_name, ...}
210
  
Display current value for variable name.
211
212
213
214
215

216
217
  
$HOME/.dgen/dgenrc
218
  
Contains user settings for the emulator.
219
  
$HOME/.dgen/dgenrc.auto
220
  
Generated file containing saved user settings.
221
  
$HOME/.dgen/saves/*
222
  
Save states generated by the emulator.
223
  
$HOME/.dgen/ram/*
224
  
Battery-backup RAM images, generated by the emulator for ROMs with save
225
      RAM.
226
  
$HOME/.dgen/screenshots/*
227
  
Screenshots are generated there.
228
  
$HOME/.dgen/roms/*
229
  
ROMs default search path.
230
  
$HOME/.dgen/demos/*
231
  
Demos default search path.
232
233
234
235

236
  ALSO
237

gzip(1), bzip2(1),

238
    zip(1), dgenrc(5)

239
240
241

242

This manual page was written by Joe Groff

243
    ⟨joe@pknet.com⟩.
244
  
245
  Updated by zamaz
246
    ⟨zamaz@users.sourceforge.net⟩.

247
248
249

250

There are known emulation bugs, see BUGS in DGen source

251
  package.

252

253
  
254
  Report bugs to
255
    ⟨http://sourceforge.net/projects/dgen/⟩.

256
257
258
259
  
260
    
July 26, 2014
261
    
Linux 6.6.9-arch1-1
262
  
263
264
265