PrintBugfix
Fixes the bug where V-Mails, surveillance files, etc. sometimes don't print.
Last updated | 3 months ago |
Total downloads | 4461 |
Total rating | 0 |
Categories | Patch |
Dependency string | TeamSpyraxi-PrintBugfix-0.1.1 |
Dependants | 1 other package depends on this package |
README
PrintBugfix - Fixes the bug where things sometimes don't print
A BepInEx Bleeding Edge (v667) plugin for Shadows of Doubt
What is it?
"Fixes" the bug where V-Mails, surveillance files, etc. sometimes don't print. This is not a clean fix for the issue, just a workaround, but it should do the job.
Installation
If you are not using r2modman or Thunderstore for installation, follow these steps:
- Download BepInEx (build artifact 667 or higher) from the official repository.
- Extract the downloaded files into the same folder as the "Shadows of Doubt.exe" executable.
- Launch the game, load the main menu, and then exit the game.
- Download the latest version of the plugin from the Releases page. Unzip the files and place them in corresponding directories within "Shadows of Doubt\BepInEx...".
- Start the game.
Note for Mod Authors
If your mod benefits from this bugfix, consider adding it as a HardDependency via BepInEx. You can also add to the affected preset names, if your mod introduces custom preset behavior.
// This attribute forces your mod to load after PrintBugfix, that's it.
// You may also need to add PrintBugfix to your manifest.json dependencies array
[BepInDependency(PrintBugfix.Plugin.PLUGIN_GUID, BepInDependency.DependencyFlags.HardDependency)]
public class Plugin : BasePlugin { // Or inheriting SOD.Common's PluginController instead of BasePlugin
public override void Load() {
// OPTIONAL: if your mod prints the preset named BirthCertificate
PrintBugfix.Plugin.RegisterAffectedPreset("BirthCertificate");
// Whatever your plugin startup logic is...
}
public override bool Unload() {
// OPTIONAL: if you registered a preset name in Load, unregister it here...
PrintBugfix.Plugin.UnregisterAffectedPreset("BirthCertificate");
// Whatever your plugin unload logic is...
}
}
License
All code in this repo is distributed under the MIT License. Feel free to use, modify, and distribute as needed.