rFactor 2 Session Log Parser & Statistics generation - Windows & Web apps [WIP]

Discussion in 'Other' started by B1K3R, Mar 22, 2013.

  1. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    rFactor 2 Session Log Parser & Statistics - Windows & Web apps [BETA Release]

    Hi,

    I released a windows application for rFactor 2 Session Log Parser & Statistics generation. This windows app is a stand alone application and does not need any internet/network connections.

    Functionality:

    1. Loads rFactor 2 session xml log files and stores the data in a structured format for querying and analysis [Done].
    2. Displays session results, lap history and streaming information contained in log files. [Done]
    3. Various graphs so that user can analyze session data [Done]

    4. Functionality to export data to pdf [Not done yet]

    Notes:


    Users can submit any requests in this thread for extra functionality and I will analyze it and if feasible implement it.

    This application has also been developed as a web application with the loader using web services so that the loader and web app can be on separate servers. Might release soon too.

    Technologies needed:

    Windows application: this needs .Net framework 4.5 and Windows 7 (or above) (sorry for XP users)
    Web application: this needs an IIS 6/7 for hosting the web app and services and .Net framework 4.0.

    Download:

    (Note: you'll need to re-upload all your files as database has changed and some bug fixes)

    Version 0.3 includes .Net 4.5 (32 and 64 bit)
    http://www.mediafire.com/download.php?8tm4qnc68zi311z

    Version 0.3 with no .Net 4.5 and for 32 bit OS systems (x64 will work too)
    http://www.mediafire.com/download.php?jcda3uss5cjq2xx

    Version 0.4 with no .Net 4.5 and for 32 bit OS systems (x64 will work too)
    Notes: Improved faster xml upload and added option to select all session by date range
    Important: if you are upgrading from a previous version, just install it over the existing one and your data will be preserved. If you are installing the the first time, rename the file main_orig.db to main.db in the database folder of the installation.
    http://www.mediafire.com/download.php?dcln0fwj77he7iy

    Install Notes:

    1. Before downloading, note the requirements mentioned above. Win 7 and above and .Net 4.5
    2. Download the installer from the link above and install it
    3. A shortcut should be created on the desktop
    4. If not, you can run the exe from the Bin\Release folder of your installation
    5. This requires .Net 4.5. If you don't have it installed, I included it in the Install folder.
    6. Please report any bugs. Cheers

    Functionality:

    1. App consists of the following...

    a. Sessions: here you can choose a session and view the results

    b. Graphs: same data as in sessions, but in graph form. For now just Race and Qualify graphs. One can right-click on the graph to move it, use mouse wheel to zoom in and out and left-click to view the data on the clicked point

    c. General Statistics and Championship: these are not implemented yet

    d. Loader: here is where you can load the rF2 xml files. Note that you can set the default xml folder in the Settings.

    These are some images:


    View attachment 6852

    View attachment 6854

    View attachment 6853
    View attachment 6856
    View attachment 6855




    Web App:
    [​IMG]
     
    Last edited by a moderator: Apr 8, 2013
  2. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
    What is that "rank"?

    Do you have "gap" info somewhere?
     
  3. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88

    I'm not sure what Rank is. There is a field called "LapRankIncludingDiscos" in xml file and I'm loading that. I'll need to ask ISI.

    Gap as in the time between drivers in race result? If yes, it's a good idea and I will add it :)
     
  4. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
    Yes. Good :)

    log analyzer has gap per lap graph, you could add that too if you do not already have it ;)
     
  5. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Cool. I'll be adding graphs too. It would be great if you can give me screen shot examples :)
     
  6. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
    I'm not home atm but I will provide screenshots if somebody else isn't faster...
     
  7. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    No rush mate, I'm at work anyways ;)
     
  8. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
  9. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Cool :) I'm assuming it's per lap.
     
  10. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
    When you move your cursor on those lines you can see gap on each lap. But the left end is start of the race and the right end is the finish...
     
  11. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    OK, cheers
     
  12. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Good enough for you? ;)

    View attachment 6799

    PS: Geez, that first guy was much faster :)
     
  13. pitkin

    pitkin Registered

    Joined:
    Dec 30, 2010
    Messages:
    92
    Likes Received:
    12
    Hi and thanks for this great app.
    Would it be possible to extend it's functionality to add multiple results files together a get accumulative stats like autosim?
    Also, would it be possible to use this to make a championship table up from multiple race results?
    Thanks again.
    Pikin.
     
  14. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Hi pitkin,

    I've never really used Autosim so I'm not sure what you mean. What kind of data would you want to see? Screen shots or further explanation would help :)

    Yeah, I thought about the championship table, I'll consider it as it makes sense. Are the points in the xml file always default or they are set when the rF2 server is setup?

    cheers
     
  15. TIG_green

    TIG_green Registered

    Joined:
    Jul 21, 2012
    Messages:
    3,038
    Likes Received:
    44
    Yeah, Mauser dominated that night, especially that race :D

    And yes, it's good for me :)
     
  16. pitkin

    pitkin Registered

    Joined:
    Dec 30, 2010
    Messages:
    92
    Likes Received:
    12
    Hi again,

    With autosim analyzer you could load in all the saved results from a directory at once and it would give a load of stats like how many races each driver has competed in, how many poles, wins, fastest laps, DNF's, top 10 finishes and top 5 finishes that each driver has had. It also gives an average start and finish position, allows you to pick drivers to compare to each other and get stats from single tracks to see which drivers perform best there.

    Here's a screen shot that I found.
    http://www.nogripracing.com/gallery/showfull.php?photo=8764

    Thanks again.
    Pitkin.
     
  17. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Oh ok, sure, that would be no problem at all.

    Cheers
     
  18. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Here you go, the first test graph :)
     
  19. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Race and qualify graphs. Will release the beta soon.

    Cheers
     
  20. B1K3R

    B1K3R Registered

    Joined:
    Apr 6, 2012
    Messages:
    1,605
    Likes Received:
    88
    Please note that I have updated post 1 and included download link plus some instructions.

    Cheers
     

Share This Page