I tried these tips yesterday and it almost works. I was able to get the AI fast lane and the pit lane, but in the race the cars didn't move well. At the end I tried to record the left/right limits and with this the AI worked fine.
The png map works fine as you mentioned, it was generated automatically
The only thing that still doesn't work is the red square limits for pit stops, I don't know how to do it.
I would also need to record the theoretical fast line where the acceleration and braking information is recorded, I don't even know how to do it.
I have to order the AC_START points correctly because the start order is not correct
But at least the AI works well now, I'm very happy!
Thank you very much for the help!