This has been playing on my mind of late since seriously getting into combining submods. Just thinking out loud here...
Merging tools are great but, even with their help, combining more than two submods quickly becomes cumbersome and error prone.
What if submod files were written in a modular fashion - containing only their changes - and a tool existed to combine any number of them into the final files read by the game.
For example: submodA adds a new unit and so does submodB. A's EDU contains only the block for A's new unit; B's EDU contains only B's new unit. The tool would read in the "base" EDU (vanilla M2/mod), then A's, then B's and produce an EDU in the data directory containing the sum of all three.
Obviously there's a lot more to it than that. There are many moddable files and in different formats/structures, and how to handle submods that modify file contents rather than just add to them?
But if it were possible then 1) players could easily "plug in" submods, providing all kinds of combinations, and 2) submod developers are freed from basing their files on version X of submod Y for compatibility reasons.
Naturally others have thought of this before (though I couldn't find any discussions) so the reason that such a tool hasn't been made is either because:
- It's impossible
- It's possible but too difficult and/or time consuming
If it's impossible then fine: at least I can stop considering it.
Any thoughts?
(P.S. Wasn't sure whether to put this under Scripting or Tools. Please move if there's a better place for it.)




Reply With Quote








