Title is wrong. Should be: Difference rFactor 1 and rFactor 2 XML What's the best way to detect whether a XML is from rFactor 1 or 2? Both versions have the exact same "<rFactorXML version="1.0">" and "<GameVersion>1.155</GameVersion>". That's kind of silly... Is there any new tag in rFactor 2 available that's added 100% all of the time so we can distinguish it?
I just did a quick compare between an rF1 xml and an rF2 one, and the rF2 tags <ServerName> and <ClientFuelVisible> aren't in the rF1 file. That's using the trymedia rF1 exe.
But not always present in rf2 the log. Atleast not the logs I looked at. Will look later for a good detection. When found I'll post.
Ok looking at google results. I guess it's safe to say that rFactor 2 uses GameVersion 1.155: https://www.google.nl/search?q="<GameVersion>1.155</GameVersion>" And rFactor 1 uses 1.255: https://www.google.nl/search?q="<GameVersion>1.255</GameVersion>"
lol good point. I havnt looked at the latest results yet. Thnx for pointing out EDIT: I think it's currently always reporting that version... Oh well. I just check for rf1 version for now. I hope for a json version soon Read that rf2 will move to json.