Programs and editors/Tectonicus/Controlling Tectonicus from the command line

Although Tectonicus can be controlled from the command line instead of an XML file, this method is less powerful and officially discouraged.

Run this at the command line:

java -jar Tectonicus_v1.0.jar

(Remember to change the version number to match the file you downloaded). This will print out all the available options.

If 'java' is not set as the environment variable, then you probably need to execute Tectonicus with the full path to java.exe:

"C:\Program Files\Java\jre6\bin\java.exe" -jar Tectonicus_v1.0.jar

When running on 64 bit OS, use force64BitNatives=true to avoid 'out of memory' errors:

"C:\Program Files (x86)\Java\jre6\bin\java.exe" -jar Tectonicus_v1.0.jar force64BitNatives=true

To map a single player world, all you need to do is:

java -jar Tectonicus_v1.0.jar worldDir=1 outputDir=C:/MyMap

This will map your singleplayer world 1 and output it to C:/MyMap. Change the number to map different single player worlds.

To map a multiplayer world then make worldDir point to your 'world' directory (the one containing level.dat). Something like:

java -jar Tectonicus_v1.19.jar worldDir=C:/MinecraftMultiplayer/world

See the Tutorials for specific and additional instructions.

= Command Line Arguments = As of version 2.00 command line arguments have been deprecated in favor of an XML configuration file. While command line options still work in Version 2.00+, the only option one should use is 'config=' to specify the path to a config file.

辅助程序与编辑器/Tectonicus/从命令行中控制Tectonicus