1) Load your files (or paste)
Accepts
.c, .txt, or .json (max 5 files). Drag & drop supported.
Drop files here…
2) Convert
Outputs appear below. Each source also gets its own download.
Notes & Format
- Init.c → JSON: Parses lines like
SpawnObject("Type","x y z","yaw pitch roll", scale);. For.p3dfiles, name becomes"DZ\\path\\file.p3d"and addsenableCEPersistencyandcustomStringfields. - JSON → Init.c: Accepts
{"Objects":[{name,pos,ypr,scale}]}or an array of the same objects. Correctly handles backslashes in p3d paths. - Scale handling: Scale is preserved exactly when present; if a source object has no scale, it defaults to
1. - Auto-detects direction; yaw preserved (can be >360). Rounding: position 6 decimals, angles 4 decimals.
- Up to 5 files can be loaded at once. With multiple inputs, you can download a ZIP or merge them into a single output.