[REL] rF2TrackInfoExtractor - Tool for batch extracting track GDB info

svictor

Registered
rF2 Track Info Extractor
Project page: https://github.com/s-victor/rF2TrackInfoExtractor
Download: https://github.com/s-victor/rF2TrackInfoExtractor/releases

A simple tool for batch extracting track GDB (Game Database File) info from all installed track mods in rFactor 2 and exporting to spreadsheet file (CSV).

index.php


Usage
  1. Download rF2TrackInfoExtractor from Release page.

  2. Extract rF2TrackInfoExtractor.exe file, place it in rFactor 2 game root folder. This is required for correctly locating and accessing rF2's ModMgr.exe tool (which is located in "rFactor 2\Bin64" folder) for extracting files from MAS file.

  3. Launch rF2TrackInfoExtractor, click Extract GDB button to begin extracting GDB files from all installed track mods. All GDB files will be extracted to rFactor 2\TrackDatabase folder.

  4. Once extracted GDB files, click Export Data button to process and export track and layout info from all GDB files to spreadsheet file (CSV), which then can be further processed or opened with spreadsheet programs like Excel or LibreOffice Calc.
Note, extraction and exporting progress are displayed in log viewer and status bar, click Stop button any time to stop extraction or exporting.

Example spreadsheet data:
index.php


Exported field names from GDB file
  • GDBName
  • TrackName
  • EventName
  • VenueName
  • Location
  • Length
  • TrackType
  • Track Record
  • Max Vehicles
  • PitlaneBoundary
  • RacePitKPH
  • NormalPitKPH
  • FormationSpeedKPH
  • NumStartingLights
  • Latitude
  • Longitude
  • Altitude
  • RaceDate
  • TimezoneRelativeGMT
  • DSTRange
 

Attachments

Your tool looks very nice, like content manager for RF2.

My initial motivation was to fetch long/lat/DST/timezone and in-game race date for calculating accurate in-game day-phase timing, such as noon, sunrise, sunset, sun angle, twilight hours, which could go nicely with weather data (such as to inform driver exactly when the track enters night, could be nice with endurance racing), as the game doesn't output those info from API, then display those info in other APP like TinyPedal's overlay.

But unfortunately it is not practical for client side to automatically fetch track info from specific GDB file on demand, as each GDB file is packaged in mas file and not possible to know which mas has the right GDB file. So I had to drop that plan for now, but someone might find the tool useful for other purposes.
 
Back
Top