Mod Compatibility Hack

If you liked this item, please rate it up on Steam Workshop page.

Author: DeadInfinity

Last revision: 28 Nov, 2021 at 20:43 UTC (4)

File size: 34.82 KB

On Steam Workshop

Description:

This mod should no longer be required on Repentance as of version 1.7.9b. It may cause performance issues, so disable it if you are still using it.

This mod aims to resolve two major problems with the modding api, without requiring modders to change anything within their mods.

1: Callbacks
Several callbacks, namely GET_SHADER_PARAMS and all PRE_COLLISION callbacks, can only be added once across all mods, meaning the first mod to load that uses one is the only one that works at all.

This mod overrides the AddCallback, RemoveCallback, and RegisterMod functions to resolve this.

2: Saves
Currently, whenever a mod is updated or unsubscribed from, you lose all of its data.

This mod resolves this by storing all mod data itself, so as long as this mod isn’t unsubscribed from and is left enabled, all save data will be safe. It’ll even automatically store all existing save data, so you don’t need to worry about losing everything when you initially download this mod.

On Repentance, the save issue and all but one callbacks have been fixed, so this mod purely fixes the MC_PRE_PLAYER_COLLISION callback. Unfortunately, still might be necessary for compatibility!

Download
Required DLC:

These DLC should be installed in order to use this item.


The Binding of Isaac: Afterbirth+
Revisions:

Old revisions of this mod are available below. Click the link to download.