I've found some information about the aiw file, for example:
wp_pos : Waypoint position
wp_perp : Direction vector for this waypoint
I don't finish to understand them all, for each waypoint you have
wp_pos=(972.6858,435.4503,-598.5822)
wp_perp=(0.9491,-0.0010,-0.3151)
wp_normal=(-0.0120,0.9992,-0.0392)
wp_vect=(1.4965,0.1841,4.2200)
wp_width=(4.145,4.148,8.291,8.296) // road left, road right, far left, far right
wp_dwidth=(8.291,8.296,0.000,0.000) // collision left, collision right, cut left, cut right
wp_path=(2.2606,0.0000) // latitude for dry line and wet line (offset from wp_pos along wp_perp)
wp_lockedAlpha=(0) // (used for editor specific algorithms)
wp_galpha=(0.0000) // alpha for groove
wp_groove_lat=(-0.573067)
wp_test_speed=(-1.000000)
wp_score=(0,32.527) // sector ID, distance into lap
wp_cheat=(-1.0000) // multiplier to tweak the speeds through this point.
wp_wpse=(0,0) // some special events
wp_branchID=(0) // 0 = main, 1...whatever pit lanes
wp_bitfields=(0) // 1 = nonpath waypoint.
wp_lockedLats=(1) // editor specific variables
wp_multipathlat=(-0.0950, 0.4224) // inside lat, outside lat (for multiline tracks...like ovals)
wp_pitlane=(1) // what pitlane I'm a part of (only relevent for non-path waypoints)
WP_PTRS=(308,1,-1,0) // prev waypoint id, next waypoint id, branch waypoint id, path of branch wp
I think it will be a big work , I like it ...