Closed hotbso closed 4 months ago
For whatever reason the generated output contained object references with negative headings.
E.g.
OBJECT_AGL 36 13.508276589 52.381340124 -4.500480659 148.707713
Once these are normalized to
OBJECT_AGL 36 13.508276589 52.381340124 355.499519341 148.707713
the conversion to dsf works.
Using strings on the original dsf file gives:
earth sim/creation_agent WorldEditor2.5.2r1
so the root cause may be in this version of Wed.
Correction: The 4th parameter is the height and that must not be negative. If it's set to 0 the dsf2text conversion goes through.
DSFTool 2.3.0-b2, Copyright 2023 Laminar Research. Compiled on Apr 6 2023. Part of X-Plane Scenery Tools release: 23-4
Aerosoft EDDB has a .dsf that triggers the error.
The error is triggered by OBJECT_AGL records. Once these are deleted the conversion goes through.
I can provide any of the files on request.