File: scummvm.6

package info (click to toggle)
scummvm 2.9.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 450,580 kB
  • sloc: cpp: 4,299,825; asm: 28,322; python: 12,901; sh: 11,302; java: 9,289; xml: 7,895; perl: 2,639; ansic: 2,465; yacc: 1,670; javascript: 1,020; makefile: 933; lex: 578; awk: 275; objc: 82; sed: 11; php: 1
file content (568 lines) | stat: -rw-r--r-- 13,486 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
.Dd June 13, 2023
.Dt SCUMMVM 6
.Os
.Sh NAME
.Nm scummvm
.Nd adventure and role-playing game interpreter
.Sh SYNOPSIS
.Nm scummvm
.Op Ar OPTIONS
.Op Ar GAME
.Sh DESCRIPTION
.Nm
is an interpreter that will play numerous adventure and
role-playing games based on a variety of game engines.
.Pp
.Ar GAME
is a short name of game to load.
This can be either a built-in gameid (as given by
.Fl -list-games ) ,
or a user-configured target (as given by
.Fl -list-targets ) .
.Sh OPTIONS
The meaning of most long options (that is, those options starting with a
double-dash) can be inverted by prefixing them with
.Cm no- .
For example,
.Fl -no-aspect-ratio
will turn aspect ratio correction off.
This is useful if you want to override a setting in the configuration file.
.\" Note: sorted alphabetically, since that's the mdoc convention
.Bl -tag -width Ds
.It Fl a | -add
Add all games from current or specified (with
.Fl -path= Ns Ar PATH )
directory.
If
.Fl -game= Ns Ar ID
is passed, only the game with id
.Ar ID
is added.
.Pp
See also
.Fl -detect .
.It Fl b | -boot-param= Ns Ar NUM
Pass number
.Ar NUM
to the boot script,
for games supporting this feature.
.It Fl c | -config= Ns Ar CONFIG
Use alternate configuration file path.
.It Fl d | -debuglevel Ns Op = Ns Ar NUM
Enable and set debug verbosity level (default: 0).
.It Fl e | -music-driver= Ns Ar MODE
Select music driver:
.Bl -tag -width 10m
.It Ar adlib
Internal AdLib emulation.
.It Ar alsa
Output using ALSA sequencer device.
.It Ar core
CoreAudio sound (macOS).
.It Ar coremidi
CoreMIDI sound (macOS).
.It Ar fluidsynth
FluidSynth MIDI emulation.
.It Ar mt32
Internal MT-32 emulation.
.It Ar null
Null output.
Don't play any music.
.It Ar pcjr
Internal PCjr emulation.
.It Ar pcspk
Internal PC Speaker emulation.
.It Ar seq
Use
.Pa /dev/sequencer
for MIDI (some Unix systems).
.It Ar sndio
Use sndio MIDI.
.It Ar timidity
Connect to TiMidity++ MIDI server.
.It Ar towns
Internal FM-TOWNS YM2612 emulation (only usable in SCUMM FM-TOWNS games).
Use only if you have a hardware MIDI synthesizer.
.It Ar windows
Windows built-in MIDI sequencer (Windows).
.El
.It Fl F | -no-fullscreen
Force windowed mode.
.It Fl f | -fullscreen
Force full-screen mode.
.It Fl g | -gfx-mode= Ns Ar MODE
Select graphics mode
.Po
.Ar opengl ,
.Ar surfacesdl
.Pc .
.It Fl h | -help
Display a brief help text, and exit.
.It Fl i | -initial-cfg= Ns Ar CONFIG
Load an initial configuration file if no configuration file
has been saved yet.
.It Fl l | -logfile= Ns Ar PATH
Use alternate path for log file.
.It Fl m | -music-volume= Ns Ar NUM
Set the music volume, 0\(en255 (default: 192).
.It Fl n | - Ns Oo Cm no- Oc Ns Cm subtitles
Enable subtitles (for games that have voice).
.It Fl p | -path= Ns Ar PATH
Set the path to where the game is installed.
.It Fl q | -language= Ns Ar LANG
Select game's language:
.Bl -tag -width auto -compact
.\" From common/language.cpp, sorted by English name of language
.It Ar ar
Arabic (Modern Standard)
.It Ar bg
Bulgarian
.It Ar ca
Catalan
.It Ar zh
Chinese (Generic)
.It Ar cn
Chinese (Simplified)
.It Ar tw
Chinese (Traditional)
.It Ar hr
Croatian
.It Ar cs
Czech
.It Ar da
Danish
.It Ar nl
Dutch
.It Ar en
English (Generic, default)
.It Ar gb
English (Great Britain)
.It Ar us
English (US)
.It Ar et
Estonian
.It Ar fi
Finnish
.It Ar be
Flemish
.It Ar fr
French
.It Ar de
German
.It Ar el
Greek
.It Ar he
Hebrew
.It Ar hu
Hungarian
.It Ar it
Italian
.It Ar ja
Japanese
.It Ar ko
Korean
.It Ar lv
Latvian
.It Ar nb
Norwegian (Bokm\(oal)
.It Ar fa
Persian
.It Ar pl
Polish
.It Ar br
Portuguese (Brazil)
.It Ar pt
Portuguese (Portugal)
.It Ar ru
Russian
.It Ar sr
Serbian
.It Ar sk
Slovak
.It Ar es
Spanish
.It Ar se
Swedish
.It Ar tr
Turkish
.It Ar uk
Ukrainian
.El
.It Fl r | -speech-volume= Ns Ar NUM
Set the voice volume, 0\(en255 (default: 192).
.It Fl s | -sfx-volume= Ns Ar NUM
Set the SFX volume, 0\(en255 (default: 192).
.It Fl t | -list-targets
Display list of user-configured game targets, and exit.
.It Fl u | -dump-scripts
Enable script dumping if a directory called
.Pa dumps
exists in the current directory.
.It Fl v | -version
Display ScummVM version information, and exit.
.It Fl x | -save-slot Ns Op = Ns Ar SLOT
Set the saved game slot to load (default: 0 = autosave).
.It Fl z | -list-games
Display list of supported games, and exit.
.It Fl - Ns Oo Cm no- Oc Ns Cm alt-intro
Toggle alternative intro for CD versions of Beneath a Steel Sky and
Flight of the Amazon Queen (default: disabled).
.It Fl - Ns Oo Cm no- Oc Ns Cm aspect-ratio
Toggle aspect ratio correction.
.It Fl -auto-detect
Display a list of games from current or specified directory,
and start the first one.
Use
.Fl -path= Ns Ar PATH
to specify a directory.
.It Fl -cdrom= Ns Ar DRIVE
Set the drive to play CD audio from; can either be
a drive, path, or numeric index
(default: 0 = best choice drive).
.It Fl - Ns Oo Cm no- Oc Ns Cm copy-protection
Enable copy protection in games, when ScummVM disables it by default.
.It Fl - Ns Oo Cm no- Oc Ns Cm dirtyrects
Toggle dirty rectangles optimisation in software renderer (default: enabled).
.It Fl -debug-channels-only
Show only the specified debug channels.
.It Fl -debugflags= Ns Ar FLAGS
Enable engine specific debug flags (separated by commas).
.It Fl - Ns Oo Cm no- Oc Ns Cm demo-mode
Toggle demo mode of Maniac Mansion or The 7th Guest (default: disabled).
.It Fl -detect
Display a list of games with their ID from current or specified directory
without adding it to the configuration file.
Use
.Fl -path= Ns Ar PATH
to specify a directory.
.It Fl -dump-midi
Dump MIDI events to
.Pa dump.mid
(overwriting it),
until quitting from game.
.It Fl -enable-gs
Enable patch mappings to emulate an MT-32 on a Roland GS device
for MIDI playback.
.It Fl -engine= Ns Ar ID
In combination with
.Fl -list-games ,
.Fl -list-all-games ,
.Fl -list-targets ,
or
.Fl -stats ,
only list games for this engine.
Multiple engines can be listed separated by a coma.
.It Fl -engine-speed= Ns Ar NUM
Set frame per second limit (0\(en100) for 3D games,
0 = no limit (default: 60).
.It Fl - Ns Oo Cm no- Oc Ns Cm exit
In combination with commands that exit after running, like
.Fl -add
or
.Fl -list-engines ,
toggle opening the launcher instead of exiting.
.It Fl -extrapath= Ns Ar PATH
Set the extra path to additional game and ScummVM data.
.It Fl - Ns Oo Cm no- Oc Ns Cm filtering
Force filtered/unfiltered graphics mode.
Filtered graphics mode uses bilinear interpolation
while unfiltered graphics mode uses nearest neighbor.
.It Fl -game= Ns Ar ID
In combination with
.Fl -add
or
.Fl -detect ,
only add or attempt to detect the game with id
.Ar ID .
.It Fl -gui-theme= Ns Ar THEME
Select a GUI theme, as given by
.Fl -list-themes .
.It Fl -joystick Ns Op = Ns Ar NUM
Enable joystick input (default: 0 = first joystick).
.It Fl -iconspath= Ns Ar PATH
Set the path to additional icons for the launcher grid view.
.It Fl -list-all-debugflags
Display list of all engine debugflags, and exit.
.It Fl -list-all-engines
Display list of all detection engines, and exit.
.It Fl -list-all-games
Display list of all detected games, and exit.
.It Fl -list-audio-devices
List all available audio devices, and exit.
.It Fl -list-debugflags Ns Op = Ns Ar ENGINE
Display list of engine specified debugflags, and exit.
If the
.Ar ENGINE
argument is
.Dq global ,
or if it is not specified, list global debugflags.
.It Fl -list-engines
Display list of supported engines, and exit.
.It Fl -list-saves
Display a list of saved games for the target specified with
.Fl -game= Ns Ar TARGET ,
or all targets if none is specified, and exit.
.It Fl -list-themes
Display list of all usable GUI themes, and exit.
.It Fl -md5
Show MD5 hash of the file given by
.Fl -md5-path= Ns Ar PATH .
If
.Fl -md5-length= Ns Ar NUM
is passed, then show the MD5 hash of the first (if positive)
or last (if negative)
.Ar NUM
bytes of the file given by
.Ar PATH .
If
.Fl -md5-engine= Ns Ar ENGINE_ID
is passed, fetch the MD5 length automatically, overriding
.Fl -md5-length .
.It Fl -md5mac
Like
.Fl -md5 ,
but for old Macintosh files.
Show MD5 hash for both the resource fork and data fork of the file.
.It Fl -midi-gain= Ns Ar NUM
Set the gain for MIDI playback, 0\(en1000 (default: 100).
Only supported by some MIDI drivers.
.It Fl -multi-midi
Enable combination of AdLib and native MIDI.
.It Fl -native-mt32
Tell ScummVM that the MIDI device is an actual Roland MT-32 or
compatible device.
This disables any GM emulation.
.It Fl -opl-driver= Ns Ar DRIVER
Select AdLib (OPL) emulator
.Po
.Ar alsa ,
.Ar db ,
.Ar mame ,
.Ar nuked ,
.Ar opl2lpt
.Pc .
.It Fl -output-channels= Ns Ar RATE
Set output channel count (e.g. 2 for stereo).
.It Fl -output-rate= Ns Ar RATE
Set output sample rate in Hz (e.g. 22050).
.It Fl -platform= Ns Ar PLATFORM
Specify platform of game
.\" From common/platform.cpp
.Po
.Ar 2gs ,
.Ar 3do ,
.Ar acorn ,
.Ar amiga ,
.Ar android ,
.Ar apple2 ,
.Ar atari ,
.Ar atari8 ,
.Ar beos ,
.Ar c64 ,
.Ar cdi ,
.Ar coco ,
.Ar coco3 ,
.Ar cpc ,
.Ar fmtowns ,
.Ar ios ,
.Ar linux ,
.Ar macintosh ,
.Ar macintosh2 ,
.Ar megadrive ,
.Ar nes ,
.Ar os2 ,
.Ar pc ,
.Ar pc98 ,
.Ar pce ,
.Ar pippin ,
.Ar playstation ,
.Ar playstation2 ,
.Ar ppc ,
.Ar saturn ,
.Ar segacd ,
.Ar shockwave ,
.Ar ti994 ,
.Ar wii ,
.Ar windows ,
.Ar xbox ,
.Ar zx
.Pc .
.It Fl -random-seed= Ns Ar NUM
Set the random seed number used to initialize entropy.
.It Fl - Ns Oo Cm no- Oc Ns Cm recursive
In combination with
.Fl -add
or
.Fl -detect ,
recurse down all subdirectories (default: disabled).
.It Fl -render-mode= Ns Ar MODE
Enable additional render modes
.\" From common/gui_options.cpp
.Po
.Ar 2gs ,
.Ar amiga ,
.Ar atari ,
.Ar c64 ,
.Ar cga ,
.Ar cgaBW ,
.Ar cgaComp ,
.Ar cpc ,
.Ar ega ,
.Ar fmtowns ,
.Ar hercAmber ,
.Ar hercGreen ,
.Ar macintosh ,
.Ar macintoshbw ,
.Ar pc9801 ,
.Ar pc9821 ,
.Ar vga ,
.Ar zx
.Pc .
.It Fl -renderer= Ns Ar RENDERER
Select 3D renderer
.Po
.Ar opengl ,
.Ar opengl_shaders ,
.Ar software
.Pc .
.It Fl -savepath= Ns Ar PATH
Specify where saved games are stored.
.It Fl -scale-factor= Ns Ar FACTOR
Set the factor to scale the graphics by.
.It Fl -scaler= Ns Ar MODE
Select graphics scaler
.Po
.Ar normal ,
.Ar hq ,
.Ar edge ,
.Ar advmame ,
.Ar sai ,
.Ar supersai ,
.Ar supereagle ,
.Ar pm ,
.Ar dotmatrix ,
.Ar tv2x
.Pc .
.It Fl -screenshotpath= Ns Ar PATH
Specify path where screenshot files are created.
.It Fl - Ns Oo Cm no- Oc Ns Cm show-fps
Toggle FPS info in 3D games.
.It Fl -soundfont= Ns Ar FILE
Select the SoundFont for MIDI playback (only supported by some MIDI drivers).
.It Fl -start-movie= Ns Ar NAME Ns Ar @NUM
Start movie at frame for Director.
Either argument can be specified without the other.
.It Fl -stats
Display statistics about engines and games, and exit.
.It Fl -stretch-mode= Ns Ar MODE
Select stretch mode
.\" From backends/graphics3d/openglsdl/openglsdl-graphics3d.cpp
.Po
.Ar center ,
.Ar even-pixels ,
.Ar fit ,
.Ar fit_force_aspect ,
.Ar pixel-perfect ,
.Ar stretch
.Pc .
.It Fl -talkspeed= Ns Ar NUM
Set talk delay for SCUMM games, or talk speed for other games.
.It Fl -tempo= Ns Ar NUM
Set music tempo (in percent, 50\(en200) for SCUMM games (default: 100).
.It Fl -themepath= Ns Ar PATH
Set the path to GUI themes.
.It Fl -window-size= Ns Ar W,H
Set the window size to the specified dimensions (OpenGL only).
.El
.Sh INGAME HOTKEYS
.\" From doc/docportal/use_scummvm/keyboard_shortcuts.rst
.Bl -tag -width 13m
.It Ctrl-F5
Display the Global Menu
.It Cmd-q
Quit (macOS)
.It Ctrl-q
Quit (Most platforms)
.It Ctrl-u
Mute all sounds
.It Ctrl-m
Toggle mouse capture
.It Ctrl-Alt 1-8
Switch between graphics filters
.It Ctrl-Alt +
Increase scale factor
.It Ctrl-Alt -
Decrease scale factor
.It Ctrl-Alt a
Toggle aspect-ratio correction
.It Ctrl-Alt f
Toggle graphics filtering
.It Ctrl-Alt s
Cycle through scaling modes
.It Alt-Enter
Toggle full screen/windowed mode
.It Alt-s
Take a screenshot
.It Ctrl-F7
Open virtual keyboard (if available).
This can also be triggered by a long press
of the middle mouse button or wheel
.It Ctrl-Alt d
Open the ScummVM debugger
.El
.Pp
There are many more game-specific hotkeys.
See:
.Lk https://wiki.scummvm.org/index.php?title=Category:Supported_Games
.Sh ENVIRONMENT
.Bl -tag -width SCUMMVM
.It Ev SCUMMVM_MIDI
The sequencer device to use with the
.Ql seq
MIDI driver.
.It Ev SCUMMVM_MIDIPORT
The number of the sequencer to use when using the
.Ql seq
MIDI driver.
.It Ev SCUMMVM_PORT
The ALSA port to open for output when using the
.Ql alsa
MIDI driver.
.It Ev SCUMMVM_SAVEPATH
Override the default save path (POSIX systems).
.El
.Sh FILES
.Bl -tag -width Ds
.It Pa $HOME/.config/scummvm/scummvm.ini
Configuration file on most Unix systems.
XDG environment variables take precedence, if defined.
.It Pa "$HOME/Library/Preferences/ScummVM Preferences"
Configuration file on macOS.
.El
.Sh EXAMPLES
Running the built-in game launcher:
.Pp
.Dl $ scummvm
.Pp
Running Day of the Tentacle, specifying the path:
.Pp
.Dl $ scummvm -p /usr/local/share/games/tentacle scumm:tentacle
.Pp
Running The Dig with advmame2x filter and subtitles
(with the
.Ar dig-steam
target already defined in the configuration file):
.Pp
.Dl $ scummvm --scaler=advmame --scale-factor=2 -n dig-steam
.Pp
Running the Italian version of Maniac Mansion fullscreen,
from the content of the current directory:
.Pp
.Dl $ scummvm -q it -f scumm:maniac
.Sh SEE ALSO
.Lk https://docs.scummvm.org
.Sh AUTHORS
ScummVM was written by the ScummVM team.
See
.Pa AUTHORS
file for more information.