Need help mergine two mods!

Onionsoilder

Reaver
Joined
Mar 19, 2007
Messages
3,173
Well, I'm trying to merge Revolution into Merged Mod, but I'm not having much luck so far. I'm using WinMerge to try and combine the two files, but I keep on running into problems. When I merge Merged Mod into the Revolution folder, the game will run but none of the revolution parts work at all. When I merge Revolution into Merged Mod, the mod stops loading at XML, resulting in the following errors:

2uyk4yq.jpg


At the third error, it continues on to archers, settlers, then every other unit in the game, after which, it loops back to spearman. At this point I have to close the process through the task manager to get out of the loop.

Because of this, I can only conclude that one file that loads the Revolution mod is being overwritten by Merged Mod, though I'm not sure what this file is. Does anyone have any clue what it might be, and if so, can you help me fix this? I really love both mods, and I desperately want to play both.
 
Are you sure merging the XML is enought here ? I think Revolutions has a custom DLL ?
 
Are you sure merging the XML is enought here ? I think Revolutions has a custom DLL ?
Hmm... If so, that might be the problem. I know Wolfshanze also has a custom DLL... But shouldn't WinMerge merge the DLLs anyway? If not, do you know how I can merge them?
 
Winmerge can help you merge the sources, however usually not blindly, you will have to make sure, the code does make sense - if both mods do provide them - then you need to compile it as described in the compiler how-to's here (Inatalling/Using SDK - its sticky).

The first step however would be to find out, if this is indeed the problem.
 
Wolfshanze Mod has a custom DLL, though it's not necessary to play the Wolfshanze Mod with it... Merged Mod has a custom DLL, and I do believe that is required for the Merged Mod.

Revolutions also has a custom DLL (which is required).

Your best bet would probably be to merge the Wolfshanze Mod with Revolutions and use the Revolutions custom DLL... because the Wolfshanze Mod can be played without a custom DLL... so default to the Revolutions DLL... you will (of course) still need to merge the XML and/or Python... but that should do it.
 
Wolfshanze Mod has a custom DLL, though it's not necessary to play the Wolfshanze Mod with it... Merged Mod has a custom DLL, and I do believe that is required for the Merged Mod.

Revolutions also has a custom DLL (which is required).

Your best bet would probably be to merge the Wolfshanze Mod with Revolutions and use the Revolutions custom DLL... because the Wolfshanze Mod can be played without a custom DLL... so default to the Revolutions DLL... you will (of course) still need to merge the XML and/or Python... but that should do it.

Hmm... I'll try this.

EDIT: It worked! I removed the Wolfshanze DDL from the folder, then merged it into Revolution. Now I have both working perfectly!

If anyone wants me to, I can upload the combined mod. It contains everything in RevolutionDCM combined with Wolfshanze, or alternatively, everything in Merged Mod with Revolution and Super Spies. Both have the same features. Actually, it might be lacking Inquisition, I'm not sure, but either way, it's awesome!
 
That's why I keep the Wolfshanze Mod "light" on the game changes. I always want it to be playable without the custom DLL for instances like this.

The Wolfshanze Mod can always be played as just a flavor mod with some extra units... the custom DLL is a little flash, but not necessary to play... which in-turn makes the Wolfshanze Mod a lot easier to merge with other mods then something like Merged Mod or other mods that MUST have their custom DLL used to play.

Glad you got what you were looking for OnionSoilder.
 
Argh... it isn't working after all... I thought it was. It looked like it was. But it wasn't. For some reason, the Revolution options appear in the Custom Game menu(such as Barbarian Civs, Start as Minors, etc.), and the new civilizations like Austria appear, but when you get in-game, the Revolution part doesn't work...

Anyway, when I get home today, I'm going to try and put Revolution DCM into Wolfshanze, instead of the other way around. Maybe that might overwrite whatever in Wolfshanze that is getting overwritten (Does that make any sense? It's 5 AM here). If that doesn't work though, I'm truly at a loss...
 
I don't think the "other way around" will help - it's allways better to merge everything on the "most modded" mod - which in this case is the revolutions (Even if Wolfshanze might have more content - as Wolf pointed out - his mod does not need a custom DLL, while revolution does.)

I think you might have missed merging the Python parts of Revolutions, needed for your mod.
 
Refar's right... most of my mod is just flavor units and a few extra units... Revolutions makes far more drastic gameplay changes, so merge mine into Revolutions not vice versa... as I mentioned earlier and Refar pointed out... you may have missed something beyond XML, like ensuring the Python is uptight... so make sure everything is where it needs to be for Revolutions.
 
Revolutions works fine before I merge Wolfshanze into it. When I merge Wolfshanze into Revolutions, Wolfshanze works fine, but Revolutions is disabled. I just tried it the other way around, and I got Revolutions to work, but now everything in Wolfshanze is disabled...
 
Uh... What exactly you refer to as "merging" ? Because from the sound of it you just overwrite the files...
 
Well, WinMerge is supposed to combine two files into one larger one... but your right, it doesn't seem to be doing that. I think it is just overwriting everything... So, I did the whole thing again, except this time I re-merged the Python files after merging everything the first time, and right now it appears to be working...
 
Unfortunately Winmerge becomes increasingly un-reliable the more differences there are between the files.
 
Well, either way I seem to have it working. For some odd reason none of the Wolfshanze movies play when you build a national wonder, but that not really a big deal.
 
Well, either way I seem to have it working. For some odd reason none of the Wolfshanze movies play when you build a national wonder, but that not really a big deal.
The National Wonder movies in the Wolfshanze Mod were triggered by both an XML change and a Python change... if you didn't properly transpose one or the other the movies won't play.
 
So I think I figured out the problem then. One of the Revolution Python files must have been being overwritten by the Wolfshanze one that played the movie. When I replaced the Python files with the Revolution ones, the Wolfshanze ones got overwritten, and thus, the movies don't play...
 
Back
Top Bottom