Changed 1 character in the source file :|
1.3 AC introduced 64-bit. This update should let it run ok on both 32- and 64-bit.
Doing burnouts the first time driving a car could lead to very badly calibrated odometers. This should reduce that problem, although it's still a good idea to set off with a minimum of wheelspin up to 50km/h the first time you drive a car to help it be the most accurate.
If the app has a car calibrated wrong, navigate to the app's folder (steamapps\common\assettocorsa\apps\python\stereo_odometer), open odometers.txt, and in the [Adjustments] section, delete any lines that are wrong (typical values are 1.05 to 1.20 depending on the size of tires) and then set off gently the next time you drive those cars.
The actual odometer distance will be accurate once you've done this, since the app just uses this adjustment for display purposes, it doesn't affect the way it records time spent in the car.
Apparently the speed I was reading from the API is off by some mystery factor, times the tire radius (for example with a radius of 30.5cm, the factor is 3.45 - I'd have expected it to be 2pi or something, but it's not)
The app can work out this factor once the car's hit 50 fake-units per hour, so around 55-80 km/h (depending on tire size). Once this happens it'll adjust the display to show accurate distances and store the factor for future km logged on that car.
Should just be a matter of extracting the app in the same place, existing records will be updated to be accurate as you drive the cars.
Added reset button + config option.
config.ini,
reset=trip
- only the left (trip) odometer has a reset button, this is default.
reset=both
- both have separate reset buttons
reset=none
- no reset buttons
Hopefully this covers @Yatta 's use case?
If you don't need this, feel free to not download 0.3, this is the only change from 0.2.2.
Should now stand alone, not depend on certain other apps being installed.
glColor3f used by another app could affect the way this one rendered; now this one explicitly sets it before drawing itself so it should be protected.
Stopped it from recording mileage during replays.
Squished up the border a bit. If it's not narrow enough for your tastes, go to config.ini and change the squish parameter. 0.7 is the maximum I'd recommend, 0.4 is the default (was 0)