From 72677e72125b8b8b24dd141182438b70d91de67c Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Fri, 11 Jul 2025 07:13:16 +0200 Subject: [PATCH] Update bootstrapper manual for 0.11.7 hotfix 1 --- bootstrapper-manual.html | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/bootstrapper-manual.html b/bootstrapper-manual.html index fae23c9..366b708 100644 --- a/bootstrapper-manual.html +++ b/bootstrapper-manual.html @@ -134,16 +134,14 @@

Metadata Patches

Metadata Patches are loaded from .txt files in the OpenWF/Metadata Patches/ folder.

-

They are generally parsed line by line, with roughly the following steps being taken for each line:

-
    -
  1. If the line starts with /, a new patch for the given absolute path is started. If the line ends on &, the next line that also starts with / will be added to this patch instead of creating a new patch.
  2. -
  3. Leading and trailing tabs and spaces are removed from the line.
  4. -
  5. If the line starts with &, that character is removed from the line and the rest of the line is assumed to be an absolute path to be added to the current patch.
  6. -
  7. If the line starts with >, that character is removed from the line and the rest of the line is assumed to be an absolute path for which a new patch is created.
  8. -
  9. If the line starts with r|, a replacement is added to the current patch in the form r|A|Z which means A in the metadata will be replaced with Z.
  10. -
  11. If the line starts with s|, a regex substitution is added to the current patch, e.g. s|(.+)=1|$1=0 would change HasCooldown=1 to be HasCooldown=0.
  12. -
  13. The line is added as a metadata prefix to the current patch. This works to add top-level properties but also to replace them because the game resolves duplicates by ignoring subsequent entries.
  14. -
+

They are parsed line by line, with leading and trailing spaces and tabs being ignored:

+

If multiple patches affect the same absolute path, they are combined.