-
Notifications
You must be signed in to change notification settings - Fork 6
Mod Compatibility
MPPatch aims to be compatible with all mods that support multiplayer. Any incompatible mods should be reported as a bug.
EUI should be fully compatible with MPPatch. Other fake DLC mods like it may not be compatible. Any DLC mod that significantly alters MPPatch's menu will likely not be compatible.
In its Lua code, MPPatch reserves the _mpPatch
table, and any variable with a name starting with _mpPatch_
. Please do not use such variable names in a mod's Lua code. While this should be harmless in most cases, better safe than sorry.
In addition, MPPatch uses files starting with the prefix mppatch_
. Please do not create files with such names in mods.
For some ingame functions to work correctly (in particular, hotjoining games in progress) InstanceManager.lua
must remain unmodified or those functions will break. If you must override this file for some reason, ensure the line include "mppatch_softpatch.lua"
remains on the top of the file.
StagingRoom.lua
should also remain unmodified. Replacing it may cause bugs for observers in "no view" mode.
MPPatch uses its hook in InstanceManager.lua
to modify the InGame.lua
and DiploCorner.lua
screens. Significant modifications to those files may cause your mod to be incompatible with MPPatch.