Configuration Structure
The OC config
file is separated into subsections, as described in separate sections of this document, and is designed so as to attempt not to enable anything by default as well as to provide kill switches via an Enable
property for plist dict
entries that represent optional plugins and similar.
The file is structured to group related elements in subsections as follows:
Add
provides support for data addition. Existing data will not be overridden, and needs to be handled separately with Delete if necessary.Delete
provides support for data removal.Patch
provides support for data modification.Quirks
provides support for specific workarounds.
Root configuration entries consist of the following:
ACPI
Booter
DeviceProperties
Kernel
Misc
NVRAM
PlatformInfo
UEFI
Basic validation of an OC config
file is possible using the ocvalidate
utility. Please note that the version of ocvalidate
used must match the OpenCore release and that notwithstanding this, it may not detect all configuration issues present in an OC config
file.
Note: To maintain system integrity, properties typically have predefined values even when such predefined values are not specified in the OC config
file. However, all properties must be explicitly specified in the OC config
file and this behaviour should not be relied on.