Martin Granberg, on Nov 18 2011 - 06:20 AM, said:
Well, I think I was aware of problem 2. A bit hard to fix though.
Questions:
Do the newer mods store ALL of the laptimes in player ini, even though the track isn't in season ini?
Yes. Using GEM, a player can choose
any customized season file to use with GPL. GPL uses the track names from the
selected file to store lap records in the player.ini file.
For example, I can have my own "kb69seas.ini" file with a customized list of tracks. GPL will use this to display the track list in-game, and to record any lap records in my player.ini file. GPL will
ignore the "69season.ini" file, as I'm not using it.
Martin Granberg, on Nov 18 2011 - 06:20 AM, said:
If so, does GPLRA only read the laptimes for tracks that are in the season ini and relies on the replays for all other tracks?
Yes, that is how all versions of GPLRA have always worked. But I can understand why. The player.ini holds all the lap records for each track, but it only stores the track's
directory name as a header. To display the
actual track name in your GPLRA "PB" screen, you need the details from the season file. And because GEM allows the player to choose any season file they want, you can't tell which one they've been using. So the safest way is to use the default one, which is 67season.ini or 69season.ini etc.
Martin Granberg, on Nov 18 2011 - 06:20 AM, said:
I remember having such a discussion, but cannot remember if I did anything for it. I know the answer is in my code somewhere, but asking might be easier than finding it....
We have discussed this before, quite a long time ago. I can't remember where the thread is, but I think you came to the conclusion that leaving things as they are is probably best. It's only slightly inconvenient for GPL/GPLRA users, and trying to make GPLRA act a bit smarter would probably be quite hard, and maybe even start to break things!