1. First the tool should open the ICR2 <track>.trk and read the length of the track in papy units as defined in the header. I myself divide that number by 65500 to get to the desired number of records needed for the ICR2 track.
Well we established that the GPL .lp files contained some 10% more records than their ICR2 counterparts. I came to that conclusion after studying a couple of tracks that are available in both sims. So we need to find a way to get rid of those extra records without harming the lines that the cars take. Taking away every tenth or so will work to a great extent although it will leave us with a couple records short or a few too many.
2. So the second step in the program should be to read the number of GPL .lp records and compare it with the number we got at step 1. As before I still don't know how to calculate but after that are what computers are for

Some formula should be able to be determined.
3. It deletes all the excess records in such a way that we get to the desired amount and the AI lines do not get harmed a lot and writes the new ICR2 .lp files.
But then we only have the following files:
Race.lp
Pit.lp
Maxrace.lp
Minrace.lp
Pass1.lp
Pass2.lp
I presume they have the same functions as the ICR2 versions.
So then we still need the following files:
Maxpanic.lp
Minpanic.lp
Pace.lp
4. These could probably be made by doing the following:
A. The Maxpanic.lp file could be made by copying the Maxrace.lp and adding a couple of feet to the line to move it outward some more.
B. The same goes for the Minpanic.lp.
C. The Pace.lp could be made by calculatin the middle line between the Maxrace.lp and the Minrace.lp to get a line exactly through the middle of those files and hopefully in the exact middle of the racing surface. I'm not too sure how you could calculate speed for this file but maybe the Race.lp and the Maxpanic.lp files could be compared, a speed in the middle of those speeds will work nice I think. Though that might be a tad on the fast side on some tracks [although I personally have come to appreciate the faster pace laps
I think that is about it but I am sure Mistycreek will have his own opinions about this.