Next: , Previous:   [Contents][Index]


6 Settings and resources

In the VICE emulators, all the settings are stored in entities known as called resources. Each resource has a name and a value which may be either an integer or a string. Integer values are often used as boolean values with the usual convention of using zero for “false” and any other value for “true”.

Resource values can be changed via the the options menu, via command-line options, using monitor commands, or via the resource file.

The resource file is a human-readable file containing resource values: On windows systems it is called vice.ini and is usually stored in the users roaming profile directory (something like C:\Users\<username>\AppData\Roaming\vice). Additionally the emulators will look in the program directory at startup, and use vice.ini if it exists there. On unix systems the resource file is called vicerc and is stored in the users config directory according to the XDG specification (usually /home/<username>/.config/vice/). Additionally the emulators will look if .vicerc exists in the users home directory, and use that if so.

It is possible to dump the current values of the resources into that file or load the values stored into that file as the current values, at any time. This is achieved with the “Save settings” and “Load settings” right menu items. A third menu item, “Restore Default Settings”, can be used to reset all the values to the factory defaults.

A special resource, SaveResourcesOnExit, if set to a non zero value, causes the emulator to save the current (changed) settings before exiting, and can be toggled with the “Save settings on exit” item from the options menu.


Next: Machine-specific features, Previous: Basic operation   [Contents][Index]