Skip to content

farkhad/gpro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Helps you to make use of your game historical data.

Features

  • Season Dashboard
    • Weather
    • Energy
    • Risks
    • Balance
    • Sponsors
    • Driver
    • Staff & Facilities
  • Next Race Overview
    • Energy History
    • Median Elite Race Time
  • Post Race Data in HTML/JSON formats
    • Race Analysis
    • Light Race Replay
    • Staff & Facilities
    • Sponsors
    • Testing
  • Race Laps Analysis (L-Chart)
  • Keep track of Drivers & Tech Directors Market Database
  • Find Best Driver incl. by Favourite Track
  • View Driver's Profile
  • Find Tech Director

All your post race data files are stored on your computer as a set of HTML and JSON files and can be accessed in a usual way using Windows Explorer

Requirements

  • Microsoft Windows 7 or higher

  • PHP 8 or higher. Installation Guide

  • Composer 2 or higher. Installation Guide

    If Composer installer throws an error

    extension_dir value is incorrect or a dll does not exist, then look at section Program Output, locate name of dynamic library causing the issue (e.g. pdo_firebird), open php.ini with Notepad, place ; semicolon before extension=pdo_firebird (replace with library name causing the issue) so that it becomes ;extension=pdo_firebird, save changes, and try to install Composer once again

Installation

  • Download GPRO Home Server zip
  • Extract zip to preferred GPRO Home Server folder
  • Navigate to GPRO Home Server folder by following these steps
    • press WIN + R on your keyboard
    • enter cmd,
    • press OK,
    • enter cd C:\Users\user\Documents\gpro\server (change path to your own)
      then run these commands
    • enter composer install
    • enter php sync.php

Update

  • Make backup of GPRO Home Server folder
  • Download GPRO Home Server zip
  • Extract zip to GPRO Home Server folder
  • Navigate to GPRO Home Server folder by following these steps
    • press WIN + R on your keyboard
    • enter cmd,
    • press OK,
    • enter cd C:\Users\user\Documents\gpro\server (change path to your own)
      then run these commands
    • enter composer install
    • enter php sync.php

Configuration

  • Rename config.example.php to config.php
    • Open config.php with Notepad and set values for
      • FOLDER_NAME - folder which will be created under GPRO Home Server/seasons
      • USERNAME - GPRO username for limited access
      • PASSWORD - GPRO password for limited access
  • Rename homeserver.example.bat to homeserver.bat, and postrace.example.bat to postrace.bat
    • Open postrace.bat, homeserver.bat with Notepad
      • Set path to GPRO Home Server folder
      • (Optional) Setup Windows Task Scheduler to run postrace.bat after every race

Usage

Automatically

  • Launch homeserver.bat, it will bootstrap your local web-server and open default browser window
    If browser shows error, then wait for 1-3 minutes and refresh the page

When you are finished working on GPRO Home Server, press CTRL+C and type Y in the opened terminal window

  • Launch postrace.bat after every race — it will download post race data.

Alternatively, setup Windows Task Scheduler to run postrace.bat after every race.

Manually

Navigate to GPRO Home Server folder and run console command php -S localhost:8000

Screenshots

Download Post Race Data

Download Market Database

Find Best Driver

Find Driver's Profile

Find Tech Director

L-Chart

About

Grand Prix Racing Online Home Server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published