We are here again for some brainstorming on this hot topic.
At the moment their is a basic implementation that downloads car/track information from svn. At the moment it is very slow (and blocking the UI-thread) because it should download several small files (each for each car/track) from a slow (SF) svn server.
My idea was to put all car/track information in one (ini like) file.
It should look something like this:
Code:
[Cars]
[CarID]
Version=VersionID
Author=Name
License=GPLv2 (or whatever)
Description=A very powerfull car
MinVDriftVersion=2007-08-03
MaxVDriftVersion=2007-08-03 (I invented a date)
Dir=data/cars/carnamedir/:1234
[OtherCarID]
Version=VersionID
....
[CarID] (not that this CarID is already used...)
Version=VersionID+1
...
Description=An expiremental update to a very powerfull car to make it even more powerfull.
...
Dir=data/cars/carnamedir/
[Tracks]
... Something similar but for tracks.
If the same ID is found several times (in two different sources, or in the same source), the user could choose what version it wants to download.
This format could be used for all sources (Ftp/Http/Whatever you want)
The only thing that is svn specific is the Dir. the :1234 at the end represents the svn revision. If not available the car/track isn't listed.