


Ever wanted to use RtD mods with your favorite other mods, but got hit with an "incompatible" error? Yeah, about that... those incompatibility flags were completely arbitrary. This patcher fixes that nonsense.
This BepInEx patcher strips the arbitrary [BepInIncompatibility] attributes from ALL RtD mods, allowing them to peacefully coexist with mods they were never actually incompatible with in the first place.
IMPORTANT: This is a PATCHER, not a regular plugin!
NoArbitraryIncompatibilityFlag.dllBepInEx/patchers/ folder (NOT plugins!)The patcher runs during BepInEx's preloader phase (before plugins are loaded) and uses Mono.Cecil to:
Block() method that tries to disable the modAwake() method to remove detection code while keeping initializationOn first launch with a new RtD mod, you'll see something like:
β Patching RtD[ModName].dll...
β Removed 19 incompatibility flag(s)
β Rebuilt Awake() with X initialization methods (detection removed)
β Bypassed integrity checks
π Removed 19 arbitrary incompatibility flags from 1 RtD mod(s)!
Freedom restored! Your mods can now play nice together. π€
On subsequent launches (if already patched):
Patching RtDOcean.dll...
β All 1 RtD mod(s) already patched. No arbitrary flags here! π
Q: Is this safe?
A: Yep! It only removes the incompatibility attributes. The mods work exactly the same, they just don't block other mods anymore.
Q: Will this break my game?
A: Nope! The mods were never actually incompatible - the flags were arbitrary. If you do encounter issues, they're unrelated to this patcher.
Q: Do I need to reinstall after RtD mod updates?
A: Nope! The patcher runs on every launch and automatically patches any new or updated RtD mods.
Q: Can I upgrade from an older version of this patcher?
A: Yes! Just replace the old DLL with the new one. The patcher will automatically re-patch your RtD mods with the latest techniques. It's smart enough to detect what needs patching and skip what's already done.
Q: Will this work with old versions of RtD mods?
A: Yep! The patcher adapts to whatever version you have. Old RtD mods (without detection code) just get their incompatibility flags removed. New RtD mods (with detection code) get the full treatment. Mix and match as you like!
Q: What if I want to restore the original DLLs?
A: Just remove this patcher from the patchers folder and reinstall the RtD mods.
Q: Why were they marked incompatible in the first place?
A: Β―\(γ)/Β― Your guess is as good as mine.
Q: Wait, did the mod author add an incompatibility flag for THIS patcher?
A: LOL yes! All RtD mods now have [BepInIncompatibility("IAmOnTheInternetAndItIsScary.NoArbitraryIncompatibilityFlag")]. It's like trying to ban the ban-remover. Spoiler: it doesn't work because this patcher runs BEFORE BepInEx checks incompatibilities and strips that flag too. Inception! π
Q: Can't they just check if this patcher is loaded and force quit?
A: They tried! Multiple times! First they added Block() calls, which we neutralized. Then the detection code would still exit Awake() early, preventing initialization. So we completely REBUILT the Awake() method. Now they've added integrity checks that verify the Block() method hasn't been tampered with - so we just leave Block() alone and rebuild Awake() to never call it! The checks pass, but Block() never runs. It's like having a guard at a door that nobody uses anymore! πͺπΆββοΈ
This has become a bit of a cat-and-mouse game:
Block() to disable the modWe're just here to let mods coexist peacefully. The patcher now bypasses integrity checks by leaving the Block() method intact (so checks pass) while rebuilding Awake() to simply never call it. It's like having a lock on the door but building a new hallway that goes around it! πͺβ‘οΈοΏ½
1.0.5
Made by someone who thinks mods should play nice together.
Do whatever you want with it. Share it, modify it, upload it to the moon. I don't care. Just let people enjoy their mods in peace.
If you need to remove incompatibility flags from mods OTHER than RtD mods, there's a universal patcher available:
UniversalIncompatibilityPatcher: https://thunderstore.io/c/valheim/p/IAmOnTheInternetAndNotScared/UniversalIncompatibilityPatcher/
Note: This universal patcher is NOT made by me (IAmOnTheInternetAndItIsScary). The similar username appears to be someone trolling or making a parody. I have no affiliation with that mod. However, if it works for your needs, feel free to use it!
This patcher (NoArbitraryIncompatibilityFlag) is specifically designed for RtD mods and is the original solution.