Amalgamating Modpacks...

Great_Scott

aka Cottus Arci
Joined
Aug 2, 2004
Messages
404
Location
Melbourne, Australia
Hi, before I go and potentially destroy some Mods that I've download from this site... I just thought I'd check here on the best and safest way to go about it.

Right, just say I wish to amalgamate 2 (or more) downloaded Mod's... to create my own personalised Mod for single player games.

I create my own folder in My Docs/Mods... then I move the Mod files into that folder. It works fine, unless 2 mods have the same files.

Stuff like (don't quote me coz I'm at work) Python File CvEvent and various XML files are the same.

I have Python and XML editors.. now is it as simple as just going into each file and doing a copy & paste job to merge the 2 together?

Thanks in advance!
 
Great_Scott said:
I have Python and XML editors.. now is it as simple as just going into each file and doing a copy & paste job to merge the 2 together?

Thanks in advance!


Yes, and no. Yes, you need to copy the files together but no, you can't just combine them if they have the same function name. For example if both mods modify onEndGameTurn() then you will have to combine them under one funciton named onEndGameTurn(). You can't have two functions with the same name (in the same class).

I suggest a program called Winmerge. Search for it online. It is free, naturally, and can show you the differences between two files.

Roger Bacon
 
Back
Top Bottom