The online racing simulator
How to update out of date Trackinfo.cfg?
(5 posts, started , go to first unread)
How to update out of date Trackinfo.cfg?
I was looking at the Trackinfo.cfg file, and found that it's way out of date.

It predates Rockingham and the Westhill and Blackwood updates.

The existing file looks like the times must have come from WR hotlap times and splits, then there's a bit of coding to give various times for maximum lap times, range of splits, etc.

Modified the original file by editing tracks and lengths, and removing all times from the cars.

I thought if this file was on my server when driving on my server that the car times would self populate, but that didn't happen. Maybe I wasn't on server long enough? Or maybe because I'm using an autocross layout?

How should this file be updated?

The attached file is just my modified cfg file changed to txt.
Attached files
trackInfo.txt - 110 KB - 14 views
That file can be generated with a separate program called Trackinfo.
I've attached what I believe is the latest version that came out, but if I remember well, the program is no longer working.

It can be started with these command lines:

ConvWr.exe -l licenseName -p pass -c coef -mlc maxLapCoef -o outputFile
ConvWr.exe -i idk -c coef -mlc maxLapCoef -o outputFile

I've tested it on my W10 computer with the following command line:

ConvWr.exe -i [My PubStat key] -o trackInfo.cfg -c 100.5:102 -mlc 200

And it is throwing an error and then crashes.
When running it on my VPS which is Server 2008 R2, the program is working and has generated a file, which I have also attached (I've renamed the file to: trackInfo.txt).

Maybe someone with programming skills would be so kind to revive this little program so that it can be used again?
Attached files
trackinfo1.5.zip - 14.8 KB - 6 views
trackInfo.txt - 144.5 KB - 5 views
Tried running the ConWR.exe file on Win10 after putting details into the main.cs file, but nothing happened when I ran it.

So happy to use your txt file (converted to cfg).

Had quick look, and it seems it's taking the correct records (eg World Record @ 100.5% / 102%). It's also including Rockingham and other new track layouts.

Many thanks Smile
Quote from Yisc[NL] :That file can be generated with a separate program called Trackinfo.
I've attached what I believe is the latest version that came out, but if I remember well, the program is no longer working.

Beacuse you need to have NET Framework 2.0 installed in your system.

I converted it to NET Framework 4.0.
Attached files
ConvWr.zip - 6.3 KB - 3 views
Using Draggo's file and Yisc[NL]'s script, got this working.

Using Gai-Luron's sample lines, I got failures.

My steps;

Saved unzipped files into temp folder on my desktop.

Ran command prompt as administrator.

Changed directory till I was in my temp folder (C:\Users\Sinanju\Desktop\temp>), then input following into cmd window -
ConvWr.exe -l sinanju -p [my pass here] -c coef -mlc maxLapCoef -o trackInfo.cfg

This came back with error message -
TrackInfo maker version 1.3 by Gai-Luron
Small change by FreeScirocco: RO / WE 2.0 / BL 2.0 support
Retreiving infos
coef
Identification is required - https://www.lfs.net/forum/thread/14480
.The following error occurred:
Identification is required - https://www.lfs.net/forum/thread/14480
ConvWr
at conv.Program.conv(String user, String pass, String idk, String scoef, String smlcoef, String outputFile)
at conv.Program.Main(String[] args)
Void conv(System.String, System.String, System.String, System.String, System.String, System.String)

Then tried various other scripts -
ConvWr.exe -l sinanju -p [my pubstat here] -c coef -mlc maxLapCoef -o trackInfo.cfg

ConvWr.exe -l [my pubstat here] -c coef -mlc maxLapCoef -o trackInfo.cfg

ConvWr.exe [my pubstat here] -c coef -mlc maxLapCoef -o trackInfo.cfg

ConvWr.exe -l [my pubstat here] -p [my pass here] -c coef -mlc maxLapCoef -o trackInfo.cfg

These all failed.

Then used Yisc[NL]'s script (changed with my pubstat)

ConvWr.exe -i [my pubstat here] -o trackInfo.cfg -c 100.5:102 -mlc 200

Worked!

Message -
TrackInfo maker version 1.3 by Gai-Luron
Small change by FreeScirocco: RO / WE 2.0 / BL 2.0 support
Retreiving infos
100.5:102
1 150 FBM 30950 0 0 64870 513 sl10

etc, etc

This saved all info in trackInfo.cfg file

E.g.
track = BL1
len = 3.3
car = XRT
MaxLapTime = 2.46.60
split1 = 0.27.10:0.27.50
split2 = 0.59.70:1.00.59
lapTime = 1.23.71:1.24.96

Tried different criteria -
ConvWr.exe -i [my pubstat here] -o trackInfo.cfg -c 100.5:101:101.5 -mlc 180

This worked too, and output trackInfo.cfg file

E.g.
track = BL1
len = 3.3
car = XRT
MaxLapTime = 2.29.94
split1 = 0.27.10:0.27.23:0.27.37
split2 = 0.59.70:1.00.00:1.00.30
lapTime = 1.23.71:1.24.13:1.24.54

Many thanks to you both Smile

My output file using 2nd criteria (WR x 180%) attached. Change .txt to .cfg to use.
Attached files
trackInfo.txt - 171.7 KB - 0 views

How to update out of date Trackinfo.cfg?
(5 posts, started )
FGED GREDG RDFGDR GSFDG