


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:
β Rebuilt Awake() with X initialization methods (detection removed)
β Patching RtD[ModName].dll...
β Removed 19 incompatibility flag(s)
β Neutralized Block() method
π 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 now we completely REBUILD the Awake() method - we scan for all the legitimate initialization methods, throw away the detection code, and reconstruct a clean Awake() that just does its job. It's like renovating a house and removing all the booby traps! ποΈ
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 completely reconstructs the Awake() method to remove all detection logic while preserving all legitimate initialization code. It's like performing surgery and rebuilding the patient better than before! π₯β¨
1.0.3
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.