diff --git a/bootstrapper-manual.html b/bootstrapper-manual.html index 911c9e8..2ed27b5 100644 --- a/bootstrapper-manual.html +++ b/bootstrapper-manual.html @@ -137,11 +137,12 @@
Metadata Patches are loaded from .txt files in the OpenWF/Metadata Patches/ folder.
They are parsed line by line, with leading and trailing spaces and tabs being ignored:
+They are parsed line by line. If a line starts with /, a new patch for the given absolute path is started.
It is possible to have a single patch affect multiple paths by using ampersands. The start of a patch can also take up multiple lines if the ampersand is at the end of the line or the beginning of the next line.
+For the remaining processing, leading and trailing spaces and tabs are ignored:
> /Path/Here starts a patch that will be applied to /Path/Here.> /First/Path & /Second/Path starts a patch that will be applied to /First/Path and /Second/Path. It is possible to stretch this over multiple lines by either ending a line with & or starting the new line &.>, r|, ...) is added as a prefix to all affected metadata. This works to add top-level properties but also to replace them because the game resolves duplicates by ignoring subsequent entries.> also start a new patch but can be used at any indentation level.>, r|, ...) is added as a prefix to the effective metadata. This works to add top-level properties but also to replace them because the game resolves duplicates by ignoring subsequent entries.r| create replacements, e.g. r|A|Z replaces all instances of A with Z in affected metadata.s| create regex substitutions, e.g. s|(?m)^(.+)=1$|$1=0 would replace a value of 1 on any line with a 0, using the 'm' flag here so ^ and $ also match on line boundaries. See here for more information about the Regex engine.