You are viewing a potentially older version of this package. View all versions.
QuickFixes_formyocd-RunReportSanitizer-1.0.3 icon

RunReportSanitizer

Sanitizes names in the RunReports (e.g bodyName, killerBodyName, and gameModeName), alleviating common reasons that the Run Reports fail to load.

Date uploaded 9 months ago
Version 1.0.3
Download link QuickFixes_formyocd-RunReportSanitizer-1.0.3.zip
Downloads 6350
Dependency string QuickFixes_formyocd-RunReportSanitizer-1.0.3

This mod requires the following mods to function

bbepis-BepInExPack-5.4.2121 icon
bbepis-BepInExPack

Unified BepInEx all-in-one modding pack - plugin framework, detour library

Preferred version: 5.4.2121

README

RunReport Sanitizer

What it does:

Fixes RunReports' parsing crashes caused by spaces or bad characters in XML element names (e.g. 0x20 cannot be included in a name).

Sanitizes values (e.g., bodyName, killerBodyName) that get composed into tag names.

Renames any <fields> child tags that contain spaces.

As a safety net, swallows that specific XmlException so one bad stat doesn’t nuke the whole log.

Why it was made:

So folks with a bunch of modded characters and items don't have to manually go through their runreports removing ones that don't show up. Super tedious to do.

Notes:

Doesn’t rewrite files on disk; fixes happen at load-time.

If a mod keeps emitting invalid names, the plugin prevents crashes but that stat line is skipped.

CHANGELOG

Release 1.0.0

  • Initial release.