Your mod, or somebody else's?
If it's yours, (which I'm guessing it isn't) go through your codes and copy and paste stuff into the new module system one little section at a time.
It's usually best to go:
Items > troops > constants > triggers > game menus > scripts > other
If it's not yours, then do the same thing as mentioned above, look for codes that they added and then compile it once you think you've got everything and clear up what you missed. Of course, you won't be able to do any of that unless the mod's source is released.