-
Notifications
You must be signed in to change notification settings - Fork 30
Home
Welcome to the CodeMetropolis wiki!
Cumulative flow diagram: https://docs.google.com/spreadsheets/d/12WAAlJYf1H3XvC4GrA3H2rUUWhp40h-Pk7q3AH5ONwg/edit?usp=sharing
Let's see the whole progress in the following diagram:
Running SourceMeter, we get the graph file, which is required for the Mapping Tool as input. The Mapping Tool will generate an XML file for the Rendering tool, which will generate an other XML from it for the Rendering Tool. Rendering Tool will produce the world, which can be played in MineCraft client. You can find the generated world in the output directory. You have to copy this folder to the “saves” folder in root of Minecraft. You can usually find it at “C:\Users<username>\AppData\Roaming.minecraft" directory.
The mapping file is an XML file, which contains the definition of different metrics:
This is the input of the Mapping Tool. The output is also an XML, which will be the input of the Placing Tool:
The Placing tool generates an XML file, which will be the input of the Rendering Tool. This picture shows a part of it:
The output XML of Mapping and Placing Tool are very similar at first sight. The main difference between them is that the mappingToPlacing.xml contains only the structure and the main attributes of the city, while the second one describes the size of inner buildings, like floor and cellar.