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/xxxx/TectonicusTests/LayerTest" outputHtmlName = "map.html" minecraftJar = "/Users/xxxx/Library/Application Support/minecraft/bin/minecraft.jar" texturePack = "/Users/xxxx/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/xxxx/TectonicusLog.txt" />

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

Rasteriser node
Here's an example rasteriser node:  These values are used to configure your graphics card when drawing the map.

Tweeks Node
Here's an example tweeks node: 

These are options you shouldn't need to change, but can workaround quirks on some machines.

Debug node
Here's an example debug node:



These are debugging options not intended for general use

Map and Layer nodes
Every config needs at least one map and one layer, but may have as many maps and as many layers as needed.

Here's an example with one map and one layer:

		  