Re: Track Editor not working......
Bernhard Wymann <[email protected]>
| Newsgroups | gmane.games.torcs.general |
|---|---|
| Organization | wytec |
| Message-ID | <[email protected]> |
Hi Jai I tried it now on my Windows box (Windows 7 64 bit), here it is a bit more tricky, if you just hit the menu entry in the TORCS menu the track editor will (depending on your system settings and account type) not work. There are 2 ways to make it work: 1. Run trackeditor as Administrator 2. Run trackeditor as user, move the files manually, then run trackgen as administrator (in this scenario the track length calculation will not work IIRC) 1: On Windows 7 you have to run it as administrator, so do this: - Hit the Windows start button - In the search box type in "cmd" - In the presented box right click on cmd.exe and select "run as administrator", a cmd windows opens up - cd into the TORCS diectory "cd "Program Files (x86)\torcs"" - run from here trackeditor.bat - When creating a new track just select one on the presented choices under "browse", otherwise trackgen will not work 2. - Start track editor from menu, create the new project somewhere where you have write permissions - Save the xml there (you managed to do this, you have the files) - Copy the directory and contents to "Program Files (x86)\torcs\tracks\road" - Open a cmd as in 1. and cd to "Program Files (x86)\torcs" - Run "trackgen -c road -n Jai2" (without scenery) or "trackgen -c road -n Jai2 -a" (with scenery). Beware "trackgen" only works when the files are in the TORCS installation directory, so your "Jai2" directory has to be in the torcs/tracks/road directory. Best regards Bernhard On 09/30/2013 04:35 PM, Jai Prakash wrote: > Hi, > Can you tell me where should these files created? > After running trackgen you mean after exporting to AC3 or after running > this common "trackgen -c road -n try2 -a" > > As now i haven't got any ac files > > Jai > > > On Mon, Sep 30, 2013 at 7:45 PM, Bernhard Wymann <[email protected] > <mailto:[email protected]>> wrote: > > Hi > > I just checked under linux: trackgen works here, no problem, but the > output says this: > ... > Delta X = -442.229065 > Delta Y = -4.778198 > Delta Z = 0.000000 > ... > > So your start and end does not match, the inferno robot is then > completely confused, so maybe you have tried another bot which > crashed then on initialization (if you are off by some centimeters > it usually works, but is visually unpleasing, so you should make the > end match as good as you can)? > > Is the ac file generated in your case, after running trackgen I have > these files in Jai2: > -rw-r--r-- 1 berni users 4964568 Sep 30 16:07 Jai2.ac > -rw-r--r-- 1 berni users 1577 Sep 16 10:11 Jai2.prj.xml > -rw-r--r-- 1 berni users 4964568 Sep 30 16:07 Jai2-trk.ac > -rw-r--r-- 1 berni users 89853 Sep 30 2013 Jai2.xml > > Do you have these files too or is the .ac missing? > > Best regards > > Bernhard > > On 09/30/2013 03:56 PM, Jai Prakash wrote: > > Hi, > > PFA > > I tried to make tracks named jai2 in road category but it didn't > work.. > > Please suggest some solution... > > Thanks, > Regards, > Jai > > > ------------------------------__------------------------------__------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get > the most from > the latest Intel processors and coprocessors. See abstracts and > register > > http://pubads.g.doubleclick.__net/gampad/clk?id=60133471&iu=__/4140/ostg.clktrk > <http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk> > > > > _________________________________________________ > Torcs-users mailing list > [email protected].__net > <mailto:[email protected]> > https://lists.sourceforge.net/__lists/listinfo/torcs-users > <https://lists.sourceforge.net/lists/listinfo/torcs-users> > > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60133471&iu=/4140/ostg.clktrk