SenorPez / project-cars-replay-enhancer

Project CARS Replay Enhancer: Combines telemetry data with replay video to improve Project CARS replays.
MIT License
12 stars 1 forks source link

"Use Previous Values" Option for Participant Data #48

Closed SenorPez closed 7 years ago

SenorPez commented 8 years ago

As stated, there is currently no option in the configuration to use previous values for display names, short display names, cars, teams, and points when creating or editing a configuration file. You can either hit ENTER a bunch of times, or enter -1 to use the same value for everyone, but no option, like in the points structure, to use the previous values.

There are some technical challenges to this. Because of the garbage that accumulates in the UDP packet data, "SenorPez" might be best-guessed as "SenorPezaud8547" in another race, or "SenorPezantos" in another. We get around this by prompting for a display name in case the best-guess algorithm can't get through all the trash. Since we use the best-guessed name as our dictionary key (since using the user-provided display name would be messy at best and dangerous at worst), the program won't inherently know that "SenorPez" in Race 1, "SenorPezaud8547" in Race 2, and "SenorPezantos" in Race 3 are all the same person. (Nor could we assume that, as you might have a race with a bunch of people in the same clan, thus, same name prefix.)

Probably the best way to implement this would be this:

Error states?

SenorPez commented 7 years ago

Closing this as it's no longer applicable. The command-line script to create configuration scripts is no longer supported. Users are required to: