copy civ 4

Karl Townsend

Prince
Joined
Dec 27, 2005
Messages
429
as im starting a mod project i dont wnat to have to keep moving my files in and out to test them so should i copy my whole civ 4 foloder so i can do what i like with it so i can change hings for my advance wars project
 
Karl Townsend said:
as im starting a mod project i dont wnat to have to keep moving my files in and out to test them so should i copy my whole civ 4 foloder so i can do what i like with it so i can change hings for my advance wars project

Wait, where are you copying to and from?

Generally, when you do a mod, you make it by doing the following:

Create a new folder in the My Documents/My Games/Sid Meier's Civilization 4/Mods folder.

Inside that folder, create a folder called Assets.

Now, whenever you need to change a file, you copy the file into the new Assets folder you've just created, adhering to the same directory structure of the original Civ4.. So, if you wanted to replace Civ4UnitInfos.xml, you'd make a new directory in this assets folder called "xml" (if you haven't created it yet), then make a new folder in that folder called "units" (if you haven't created that yet). Then you can copy the original version of the file into this new directory once, and modify it there. Take a look at the example mods that come with to see an example.

While it is true that you could very well copy all the files and folders in the asset folders into your mod project to begin, it's probably not a good idea, since later when you want to package it you'd be including files that are unchanged, which would just make your package larger. Any file that you don't include in your mod will automatically have the default file used.

Hope that helps!
 
Gerikes said:
Wait, where are you copying to and from?

Generally, when you do a mod, you make it by doing the following:

Create a new folder in the My Documents/My Games/Sid Meier's Civilization 4/Mods folder.

Inside that folder, create a folder called Assets.

Now, whenever you need to change a file, you copy the file into the new Assets folder you've just created, adhering to the same directory structure of the original Civ4.. So, if you wanted to replace Civ4UnitInfos.xml, you'd make a new directory in this assets folder called "xml" (if you haven't created it yet), then make a new folder in that folder called "units" (if you haven't created that yet). Then you can copy the original version of the file into this new directory once, and modify it there. Take a look at the example mods that come with to see an example.

While it is true that you could very well copy all the files and folders in the asset folders into your mod project to begin, it's probably not a good idea, since later when you want to package it you'd be including files that are unchanged, which would just make your package larger. Any file that you don't include in your mod will automatically have the default file used.

Hope that helps!

very nice plan thank you very much
 
Just remember that you will haevto copy all of your customAssets out of your customAssets folder if any of them include the same filenames as any files your mod will use. For example, if you have added units that you always play with to your UnitInfos.xml file in customassets then you will have to delete it before you can load a mod that uses unitInfos.xml.

I zip up my entire customAssets folder and then delete the files when I (very rarely) play a new mod.

Roger Bacon
 
i just copied every file in there so i can edit what i want
 
Back
Top Bottom