Making a patch mod: Difference between revisions

+advice on what order to read the articles in
(→‎Overview: hopefully a better intro)
(+advice on what order to read the articles in)
Line 1: Line 1:
:''Before reading this page, you should make sure you grasp the basics of [[modding Oni]]. It will also help to read [[Making a mod package]] first.''
__NOTOC__
==Overview==
==Overview==
A patch mod, or XML patch mod, is a solution to the problem of mods which affect overlapping game data files. It used to be the case that these mods would overwrite each other even if they were making separate changes to the same files, simply because mod installation required whole files to be supplied by each mod. In the same way that [[OniSplit]] improved the modding process by splitting the levels into .oni files that could be replaced individually, now patch modding extends our control over the data even further, allowing us to modify only specific parts of .oni files. It does this by providing the [[AEI]] with just the changes that should be made to an XML export of a resource, which are then applied using [[XmlTools]]. This provides a way to stack mods which modify data like character classes and animation properties (but not media like textures and sounds). The full process for how the AEI handles patch mods is described [[Anniversary Edition/Framework|HERE]].
A patch mod, or XML patch mod, is a solution to the problem of mods which affect overlapping game data files. It used to be the case that these mods would overwrite each other even if they were making separate changes to the same files, simply because mod installation required whole files to be supplied by each mod. In the same way that [[OniSplit]] improved the modding process by splitting the levels into .oni files that could be replaced individually, now patch modding extends our control over the data even further, allowing us to modify only specific parts of .oni files. It does this by providing the [[AEI]] with just the changes that should be made to an XML export of a resource, which are then applied using [[XmlTools]]. This provides a way to stack mods which modify data like character classes and animation properties (but not media like textures and sounds). The full process for how the AEI handles patch mods is described [[Anniversary Edition/Framework|HERE]].