Author: berniw | Created: 2007-06-13 23:16:16
Subject: Re: TORCS in text only mode
I did recently reply to a similar request, I think this would be useful and as well quite easy to implement. Here a snippet of my reply:
Yes, I think it is possible. Basically you need to analize the state of the
software at the point you want to enter (just put in some breakpoints and
enjoy the action) and the path it took up to the point.
The you need to bypass this path, so you need a configuration file to describe
you start configuration and maybe a command line switch, in case you want to
use it still the "ordinary" way.
The race state machine is located in src/libs/raceengineclient, e.g. for
practise there exists already a "blind mode" (you still need to navigate
menus, but just that you are aware of this).
The race gets started from racemanmenu.cpp, you can directly search for the
strings you see in the menus, e.g. an ordinary "New Race" is started with
"ReStartNewRace", so I guess your "entry point" will be somewhere in this
Hope this helps,
Last Edited: 2007-06-13 23:16:16 by