QuickFixes_formyocd-RunReportSanitizer icon

RunReportSanitizer

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

Last updated 11 hours ago
Total downloads 44
Total rating 1 
Categories Tweaks Client-side
Dependency string QuickFixes_formyocd-RunReportSanitizer-1.0.3
Dependants 0 other packages depend on this package

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.