soong-construction / dirt-rally-time-recorder

Stage time recorder for DiRT Rally [2.0]
Other
18 stars 2 forks source link
codemasters dirt-rally dirt-rally-2 mod rally sim simracing

CI

Goal

This tool allows you to track your stage times in DiRT Rally and DiRT Rally 2.0 and browse them, which the game itself does not allow.

Time tracking works for stage rallies and the Pikes Peak events of the original DiRT Rally.

First time set up

You can choose to download dirt-rally-time-recorder as a ready-to-use bundle (tested to work on Windows 10 x64, read about signing issues here). You can also set it up from scratch.

Ready-to-use bundle

Updating

To update to a new version, simply download the new release or create a new bundle as instructed above. To be safe, backup your dirtrally-laptimes.db. You can overwrite your existing installation folder with the new one.

Make sure to start dirt-rally-time-recorder once to allow to migrate the database and config.

Configuration

Before starting DiRT Rally [2.0] you need to enable UDP telemetry like so:

There are further configurations and optional features that can be configured in config.yml. Please refer to the documentation here.

Record stage times

Limitations

Since DiRT Rally [2.0] telemetry data doesn't allow to clearly identify every available car and track, this tool will sometimes ask you to resolve this after completing a stage. You can enable heuristics to somewhat alleviate this limitation.

In order to consolidate the database, the tool prepares update scripts for you, e.g. 1573403766_ElRodeo_PoloGTIR5.bat

Be aware that this tool cannot know the car or track conditions when recording. In order to beat your best time, choose an undamaged car with proper setup, and ideal track and weather conditions.

Troubleshooting

Starting:

Configuring the tool:

Recording:

Exporting:

In any case, feel free to open an issue and attach the timerecord.log from your installation folder. You can also contact the author through Steam.

Platform notes

UDP telemetry is available only on PC, not consoles.
Linux users refer to this issue for set up and usage instructions.

Resources

UDP telemetry documentation (cf. DiRT 4 for DiRT Rally 2.0):
[https://docs.google.com/spreadsheets/d/1Xsv5E9jwgJsiXCZQlM5Ae2hH5mUnjdHlTtEadnSnaeI/edit?usp=sharing]

Contributors cf. to docs/develop.md.

Remainder

Tested with

Ships with SQLite 3.39.4.

UDP data recognition in collaboration with ErlerPhilipp: https://github.com/ErlerPhilipp/dr2_logger.

Thanks to Slocan for the initial version: https://github.com/Slocan/timerecord.

Credits to Billiam for the core code: https://github.com/Billiam/pygauge.

See LICENSE and THIRD_PARTY_LICENSES.txt for works used under license.