File Format
Return to Introduction  Previous page  Next page IOMax Homepage
Course files are text files with an ini- syntax (not case sensitive!). Course files consist of one header section and a arbitrary number of step sections. The steps contain the course profile (distance/altitude) and additional information (picture/comment). The order of the steps does not matter because they are sorted by distance after reading.

Sample:
[Header]
  Name="Test01"

  Author="Klaus Riedl"

  File="Test01.ini"

  Steps=2

[Step]
  dist=0.000

  alt=500

  comment="Start"

  Pict="picture\\test\\pc00.jpg"

[Step]
  dist=0.1

  alt=500

  comment="Anfang der Steigung"

  Pict="picture\\test\\pc01.jpg"

[Step]
  dist=0.2

  alt=501

  comment="jetzt wirds steiler"

  Pict="picture\\test\\pc07.jpg"

[Step]
  dist=0.3

  alt=506

  comment="wir sind übern Berg, auf zum Schlußsprint"

  Pict="picture\\test\\pc02.jpg"

[Step]
  dist=0.4

  alt=506

  comment="Zielankunft"