Configuration file
The configuration file provides a way to edit both global and game-specific settings. It is a text file containing configuration keys and parameters.
Settings are also accessible directly from the Launcher. See Changing settings.
Location
The configuration file saves to different default locations, depending on the platform. The configuration file path is also displayed on the Paths tab.
%APPDATA%\ScummVM\scummvm.ini
For Windows 95/98/ME, the file is at C:\WINDOWS\scummvm.ini
~/Library/Preferences/ScummVM Preferences
Note
If an earlier version of ScummVM was installed on your system, the configuration file remains in the previous default location of ~/.scummvmrc
.
Tip
To see the Library folder, press Option when clicking Go in the Finder menu.
ScummVM follows the XDG Base Directory Specification, so by default the configuration file is found at ~/.config/scummvm/scummvm.ini
, but its location might vary depending on the value of the XDG_CONFIG_HOME
environment variable.
If ScummVM was installed using Snap, the configuration file is found at ~/snap/scummvm/current/.config/scummvm/scummvm.ini
Note
.config
is a hidden directory. To view it use ls -a
on the command line.
Using the configuration file
Global settings are listed under the [scummvm]
heading. Global keymaps settings are listed under the [keymapper]
heading. Game-specific settings, including keymaps, are listed under the heading for that game, for example [queen]
for Flight of the Amazon Queen. Use the configuration keys to change settings.
Example of a configuration file
[scummvm]
gfx_mode=supereagle
fullscreen=true
savepath=C:\saves\
[sky]
path=C:\games\SteelSky\
[germansky]
gameid=sky
language=de
path=C:\games\SteelSky\
description=Beneath a Steel Sky w/ German subtitles
[germandott]
gameid=tentacle
path=C:\german\tentacle\
description=German version of DOTT
[tentacle]
path=C:\tentacle\
subtitles=true
music_volume=40
sfx_volume=255
[loomcd]
cdrom=1
path=C:\loom\
talkspeed=5
savepath=C:\loom\saves\
[monkey2]
path=C:\amiga_mi2\
music_driver=windows
Default configuration file option
An initial (default) configuration file can be specified via the command line using the --i
or --initial-cfg
option. ScummVM uses this default file if the configuration file is missing from its usual location, such as after initial install, or if the user deletes their configuration file.
Setting an initial configuration file in this way allows default settings to easily be bundled with a game. The alternatives are to use the command line for all settings, which has fewer options and in some cases means the user can’t change settings, or to install a default configuration file to a writable location and using the --config
option, which is harder to deploy, and leaves the user with no way to restore default settings except re-installing the game.
Configuration keys
There are many recognized configuration keys. In the table below, each key is either linked to an explanatory description in the Settings pages, or has further information in the Decription/Options column.
Key |
Type |
Default |
Description/Options |
---|---|---|---|
alsa_port |
integer |
Specifies which ALSA port ScummVM uses when using the ALSA music driver (Linux). |
|
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
integer |
0 |
0, 2, 4, 8 |
|
boolean |
false |
||
boolean |
false |
||
integer |
Calculated based on output sampling frequency to keep audio latency below 45ms. |
Overrides the size of the audio buffer. Allowed values
|
|
boolean |
true |
||
boolean |
false |
||
boolean |
false |
||
integer |
300 |
||
auto_savenames |
boolean |
false |
Automatically generates names for saved games |
boolean |
false |
||
integer |
none |
||
boolean |
true |
||
boolean |
true |
||
cdrom |
integer |
0 |
Sets which CD drive to play CD audio from (as a numeric index). If a negative number is set, ScummVM does not access the CD drive. |
boolean |
|||
boolean |
false |
||
boolean |
true |
||
boolean |
|||
boolean |
false |
||
boolean |
false |
||
console |
boolean |
true |
Enables the console window for Win32/Symbian32. |
controller_map_db |
string |
|
Specifies the custom controller mapping file to load to complete the default database (SDL backend only). |
copy_protection |
boolean |
false |
Enables copy protection |
demo_mode |
boolean |
false |
Starts demo mode of Maniac Mansion or the 7th Guest |
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
string |
|||
desired_screen_aspect_ratio |
string |
auto |
|
dimuse_tempo |
integer |
10 |
Sets internal Digital iMuse tempo per second; 0 - 100 |
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
true |
If set to false, plays the Windows version music tempo. |
|
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
true |
||
boolean |
false |
||
false |
|||
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
true |
||
boolean |
|||
boolean |
|||
boolean |
true |
||
boolean |
true |
||
boolean |
true |
||
boolean |
false |
RISC OS only. |
|
boolean |
true |
||
boolean |
false |
||
enable_unsupported_game_warning |
boolean |
true |
Shows a warning when adding a game that is unsupported. |
boolean |
false |
||
extra |
string |
Shows additional information about a game, such as version |
|
boolean |
false |
||
string |
None |
||
string |
None |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
integer |
80 |
|
|
integer |
100 |
|
|
integer |
3 |
|
|
integer |
30 |
|
|
string |
Sine |
|
|
string |
4th |
|
|
boolean |
true |
||
integer |
0 |
|
|
integer |
90 |
|
|
integer |
20 |
|
|
integer |
1 |
|
|
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
false |
||
forced_dpi_scaling |
integer |
Overrides DPI scaling factor reported by the system. |
|
boolean |
true |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
gameid |
string |
Short name of the game. For internal use only, do not edit. |
|
gamepath |
string |
Specifies the path to the game |
|
string |
normal (1x) |
|
|
string |
null |
|
|
boolean |
true |
||
gui_browser_show_hidden |
boolean |
false |
Shows hidden files/folders in the ScummVM file browser. |
gui_list_max_scan_entries |
integer |
-1 |
Specifies the threshold for scanning directories in the Launcher. If the number of game entires exceeds the specified number, then scanning is skipped. |
boolean |
false |
||
gui_saveload_chooser |
string |
grid |
|
gui_saveload_last_pos |
string |
0 |
|
boolean |
|||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
false |
||
string |
|||
boolean |
true |
||
boolean |
true |
||
boolean |
true |
||
integer |
3 |
||
joystick_num |
integer |
0 |
Enables joystick input and selects which joystick to use. The default is the first joystick. |
integer |
10 |
||
string |
JOY_DOWN |
||
string |
MOUSE_LEFT JOY_A |
||
string |
JOY_LEFT |
||
string |
MOUSE_MIDDLE |
||
string |
F5 JOY_LEFT_SHOULDER |
||
string |
SPACE |
||
string |
|||
string |
MOUSE_RIGHT JOY_B |
||
string |
RETURN |
||
string |
JOY_RIGHT |
||
string |
ESCAPE JOY |
||
string |
PERIOD JOY_X |
||
string |
JOY_UP |
||
string |
C+A+d |
||
string |
C+F5 JOY_START |
||
string |
C+u |
||
string |
C+q |
||
string |
JOY_LEFT_STICK_Y+ |
||
string |
JOY_LEFT_STICK_X- |
||
string |
JOY_LEFT_STICK_X+ |
||
string |
JOY_RIGHT_SHOULDER |
||
string |
JOY_LEFT_STICK_Y- |
||
string |
ESCAPE JOY_Y |
||
string |
JOY_DOWN |
||
string |
JOY_A |
||
string |
|||
string |
JOY_RIGHT |
||
string |
JOY_UP |
||
string |
C+A+a |
||
string |
C+m |
||
string |
C+A+f |
||
string |
C+A+0 |
||
string |
C+A+9 |
||
string |
A+RETURN |
||
string |
C+A+MINUS |
||
string |
C+A+PLUS |
||
string |
A+s |
||
string |
C+A+s |
||
string |
|||
integer |
12345 |
||
boolean |
false |
||
integer |
|
||
string |
|
||
boolean |
false |
||
boolean |
true |
||
boolean |
true |
||
boolean |
false |
||
boolean |
true |
||
boolean |
true |
||
boolean |
true |
||
string |
auto |
|
|
boolean |
false |
||
boolean |
true |
||
boolean |
true |
||
boolean |
true |
||
boolean |
false |
||
boolean |
false |
||
boolean |
|||
string |
auto |
|
|
music_driver [game] |
string |
auto |
The same options as
|
music_mute |
boolean |
false |
Mutes the game music. |
integer |
192 |
|
|
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
false |
||
boolean |
false |
||
boolean |
|||
boolean |
true |
||
opl2lpt_parport |
null |
||
boolean |
false |
||
string |
|
||
boolean |
true |
||
boolean |
false |
||
boolean |
false |
||
outputchannels |
integer |
Allows the user to specify the number of audio output channels; 1 for mono or 2 for stereo |
|
integer |
Sensible values are:
|
||
boolean |
false |
||
string |
|||
boolean |
true |
||
boolean |
true |
||
boolean |
true |
||
string |
default |
|
|
string |
default |
|
|
boolean |
|||
boolean |
true |
||
string |
Specifies how the RetroWave OPL3 is connected:
|
||
boolean |
false |
||
string |
Specifies the serial port that the RetroWave OPL3 is connected to. For example:
|
||
string |
Specifies the GPIO chip and line that the RetroWave OPL3 is connected to. Use the format <chip>,<line>. |
||
boolean |
false |
||
string |
|||
string |
|||
save_slot |
integer |
autosave |
Specifies the saved game slot to load |
boolean |
false |
||
boolean |
false |
||
screenshotpath |
string |
See screenshotpath |
Specifies where screenshots are saved |
boolean |
false |
||
sfx_mute |
boolean |
false |
Mutes the game sound effects. |
integer |
192 |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
false |
||
boolean |
true |
||
boolean |
true |
||
boolean |
true |
||
boolean |
false |
||
integer |
192 |
||
boolean |
false |
||
string |
|
||
boolean |
true |
||
boolean |
false |
||
integer |
60 |
|
|
tempo |
integer |
100 |
Sets the music tempo, in percent, for SCUMM games.
|
boolean |
true |
||
boolean |
true |
||
string |
none |
||
boolean |
false |
|
|
boolean |
true |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
boolean |
false |
||
use_cdaudio |
boolean |
true |
If true, ScummVM uses audio from the game CD. |
versioninfo |
string |
Shows the ScummVM version that created the configuration file. |
|
boolean |
false |
||
boolean |
false |
||
boolean |
true |
||
boolean |
false |
||
boolean |
true |
||
boolean |
false |
||
boolean |
true |
||
boolean |
true |
||
boolean |
true |
||
boolean |
false |
||
boolean |
|||
boolean |
false |
||
boolean |
true |
||
boolean |
false |
||
boolean |
Screenshot path
The default location for the screenshotpath depends on your system.
In %USERPROFILE%\Pictures\ScummVM Screenshots
On the Desktop.
In the XDG Pictures user directory, for example ~/Pictures/ScummVM Screenshots
In the current directory.