Re: Workflow from XML to a track

Bernhard Wymann <[email protected]>
Newsgroups gmane.games.torcs.general
Message-ID <[email protected]>
Hi

You run TORCS 1.3.3 on Windows, but did you compile it yourself or do you use the binary package (if you build it yourself try the binary)?

Totally other ideas:
- Virus scanner killing files or shutting off trackgen (switch of virus scanner to try)
- Disk full
- No write permission (e.g. if you installed in programs in Windows 7, try to install in your users directory) 
- "Virtual store" of vista/windows 7 (try to install in your users directory)

Best regards

Bernhard

On Sep 3, 2012, at 19:17 , Arkady English wrote:

> Hi:
> 
> Trackgen is being run from the TORCS base directory (where the
> executable is) and track.dll is in torcs/modules/track. I've got TORCS
> v1.3.3 and Trackgen revision 1.5.2.5 so by the sounds of it it should
> work. This is on Windows 7.
> 
> It's tough to know where to start figuring out the root.
> 
> Arkady.
> 
> On 3 September 2012 16:17, Bernhard Wymann <[email protected]> wrote:
>> Hi
>> 
>> Works like a charm here (generated ac file opens in ac3d), but I have the
>> latest CVS, and I worked quite a bit on trackgen and accc lately (will come
>> in TORCS 1.3.4-test1), if I find the time I might try it on an erlier
>> version. I run it under Linux:
>> - cd into tracks/road directory (installdir, not source).
>> - mkdir example_track
>> - cd example_track
>> - cp example_track.xml to .
>> - ~/torcs_bin/bin/trackgen -c road -n example_track
>> 
>> And Windows works as well (same CVS version).
>> 
>> Did you run trackgen from the directory which contains trackgen.exe
>> (otherwise the track.dll might not be found).
>> 
>> Best regards
>> 
>> Bernhard
>> 
>> 
>> 
>> On 09/03/2012 04:52 PM, Arkady English wrote:
>>> 
>>> Hi everyone.
>>> 
>>> Back in July I posted that I was having difficulty converting XML to a
>>> track.
>>> 
>>> I tried what was suggested, but realise I didn't give much information
>>> and focussed on the meat and bones of the project I was actually doing.
>>> I'd like to try to get trackgen working. I've attached a sample track
>>> XML and the console output for it.
>>> 
>>> Console output:
>>> ++++++++++++ Track ++++++++++++++
>>> name = test
>>> author = Vicente Marti [node to self: I need to change this line]
>>> filename = tracks/test/example_track/example_track.xml
>>> nseg = 323
>>> version = 4
>>> length = 1265.484131
>>> width = 14.000000
>>> pits = 0
>>> XSize = 571.576416
>>> YSize = 217.999969
>>> ZSize = 0.000000
>>> Delta X = 0.000549
>>> Delta Y = -0.001114
>>> Delta Z = 0.000000
>>> Delta Ang = -0.000006 (-0.000318)
>>> === Indices array size =19790
>>> === Vertex array size = 59370
>>> === Tex coord array size = 39580
>>> === Indices really used = 7454
>>> 
>>> 
>>> At this point I get the Windows "trackgen has stopped working, Windows
>>> is searching for a solution..."
>>> 
>>> The XML is attached.
>>> 
>>> 
>>> 
>>> ------------------------------------------------------------------------------
>>> Live Security Virtual Conference
>>> Exclusive live event will cover all the ways today's security and
>>> threat landscape has changed and how IT managers can respond. Discussions
>>> will include endpoint security, mobile security and the latest in malware
>>> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
>>> 
>>> 
>>> 
>>> _______________________________________________
>>> Torcs-users mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/torcs-users
>>> 
>> 
> 
> ------------------------------------------------------------------------------
> Live Security Virtual Conference
> Exclusive live event will cover all the ways today's security and 
> threat landscape has changed and how IT managers can respond. Discussions 
> will include endpoint security, mobile security and the latest in malware 
> threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
> _______________________________________________
> Torcs-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/torcs-users


------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.