Tutorials/Programs and editors/Tectonicus/TectonicusConfigFormat

When running from the command line the prefered way to configure Tectonicus is to use a config file. For the most up-to-date information, see the example config file here: http://www.triangularpixels.com/Tectonicus/layerConfig.xml

Tectonicus config files are stored as XML. If you are unfamiliar with xml, then see this basic tutorial: http://www.w3schools.com/xml/xml_syntax.asp

If you're new then it's easiest to just take the example config file and modify the file paths so they point to your world folder and output folder.

Remember that config options are case sensitive!

= Overview =

The basic structure of the config file looks like:

These can be in any order. Only 'map' and 'layer' may be present more than once, these will be covered later.

Config node
Here's an example config node: <config mode = "cmd" outputDir = "/Users/John/TectonicusTests/LayerTest" outputHtmlName = "map.html" minecraftJar = "/Users/John/Library/Application Support/minecraft/bin/minecraft.jar" texturePack = "/Users/John/Library/Application Support/minecraft/bin/minecraft.jar"

numZoomLevels = "8" singlePlayerName = "OrangyTang" spawnInitiallyVisible = "true" playersInitiallyVisible = "true" bedsInitiallyVisible = "true" signsInitiallyVisible = "true" portalsInitiallyVisible = "true" viewsInitiallyVisible = "false" numDownsampleThreads = "2" eraseOutputDir = "false" useCache = "true" logFile = "/Users/John/TectonicusTests/LayerTest/TectonicusLog.txt" />

This controls the basic setup you need to change for your computer.