>>1438
I just realized that unless you need to see ghost cars, you don't even need to be in a multiplayer match. Just have four streamers play solo on the same track at the same time. Ghost cars would just make the job harder for the already braindead AI driver.
So of those 3 videos of AI drivers, two of the programmers aren't sharing which leaves us with this one:
https://youtube.com/watch?v=pWWjF-lneNo
This one is trained for Trackmania Forever Nations (so I can test it for free!), but nothing about it is specific to that game apart from their trained model. The documentation for the AI is nearly none but it's reasonably simple and well-presented enough that hopefully it can be retrained easily.
The Python code uses uinput to control the game (up, left, right keys) so it's made for Linux, but I'd guess it could be easily modified to run on Windows too.
The framework itself is quite basic. It has no concept of braking, it's made for full acceleration only, so sharp corners and narrow jumps will defeat it. The current training is also simple, it currently doesn't understand dirt roads at all and has been trained for first-person view, so hopefully it can be retrained for a view where the car model is visible.
That said, it is capable of finishing a race under certain conditions: it scored a silver medal on track A03 and a bronze on the third attempt of C01 (kept hitting an obstacle and then a wall).
Of course, if there is a racing game where we don't have to resort to training a computer to drive for us, now would be the time to tell us.