Layout of a Civ 4 Mod

This page is intended as a brief introduction and as a quick reference for working with this project's SVN repository. It is a work in progress.

Assets

The Assets folder is a top-level folder in the mod directory. It contains a mod's art, fonts, sounds (none of which are currently in the repository), XML, and Python code. It also contains the compiled CvGameCoreDLL.dll.

CvGameCoreDLL

The CvGameCoreDLL folder is not required for the mod to load. However, it contains the source code for the mod's custom game core DLL. The DLL is written in C++ and can be compiled using Microsoft Visual Studio as explained here.

Note that to compile the DLL, you need libraries which are not included in this repository either. They can be found in your Beyond the Sword\CvGameCoreDLL folder.

PrivateMaps

The PrivateMaps folder contains the mod's mapscripts, Python files which generate a random map conforming to patterns. Final Frontier Plus has five them, and all are dependent on the FFMapscriptCore module found under Assets\Python\.