Include the above two in a mod package and use them in your regular game.
This is a somewhat trickier process. You need to create a directory under BanishedKit\Examples, and name it Override. Under Override, create directories named Game and Dialog. Under Game, create directories named Climate and Terrain.
Now, under Dialog, copy your edited version of StringTable.rsc.
Under Game\Climate, copy your edited versions of Mediterranean.rsc and ClimateList.rsc. You will also need a copy of the original Fair.rsc, because your new climate references that file.
Under Game\Terrain, copy your edited versions of GreatPlains.rsc and TerrainList.rsc.
Into the root of Override, create a Package.rsc file. It should contain the following lines. Be sure the word "override" in the very first line is lowercase. The packaging step won't work if you use an uppercase "o". Put this down to case-sensitivity in the C programming language and don't worry about it.
PackageFile override
{
String _name = "My Overrides";
String _author = "ME!";
String _description = "This mod adds a Mediterranean climate and a Great Plains terrain type.";
int _userVersion = 1;
// all files in resource directory
String _includeList
[
"*"
]
// exclude package files, mod files, file used for building packages
String _excludeList
[
"Package_*.crs"
"*.pkg"
"*.pkm"
]
}
ExternalList list
{
External _resources
[
"Game/Climate/Mediterranean.rsc"
"Game/Climate/ClimateList.rsc"
"Game/Terrain/GreatPlains.rsc"
"Game/Terrain/TerrainList.rsc"
"Dialog/StringTable.rsc:climate"
"Dialog/StringTable.rsc:terrainType"
]
}
Next create a batch file named buildoverride.bat, in the root of BanishedKit. It should contain the following lines.
bin\Tools-x64.exe /build Package.rsc:list /pathres ../example/Override /pathdat ../example/Override/bin
bin\Tools-x64.exe /mod Package.rsc:override /pathres ../example/override /pathdat ../example/override/bin
Create a DOS window in administrator mode. Change directory to the BanishedKit directory. Run buildoverride.bat. If everything goes well, you should find a file named override.pkm in the BanishedKit\bin\WinData directory.
Copy this file into the WinData directory of your regular game. Now if you run the regular game, you can load your saves made from the toolkit version using the new climate and terrain. You can also create new games with these things.
If you look under Map, however, the entries for terrain and climate are blank. Obviously I missed two new string entries somewhere. The changes still work, but the mod isn't ready to distribute. I am attaching it to this post anyway, so you can see that it works, along with the source code and the batch file.
I was able to rename override.pkm to My Overrides.pkm with no problem. Some people appear not to be able to do this without breaking the mod. I am using Win 7.