Back to Tools

Init.c ↔ JSON Converter

Convert between DayZ Init.c config files and JSON formats

Drag file here or click to upload

Init.c Format

DayZ SpawnObject calls:

SpawnObject("dz/plants/tree/t_carpinus_2s.p3d",
  "7594.932129 227.163712 5842.814941",
  "0.000000 0.000000 -0.000000", 1);

JSON Format

Structured JSON with Objects array:

{
  "Objects": [
    {
      "name": "dz/plants/tree/t_carpinus_2s.p3d",
      "pos": [7594.93, 227.16, 5842.81],
      "ypr": [0.0, 0.0, 0.0],
      "scale": 1.0
    }
  ]
}