Skip to content

Recreates the Torque/Power graphs from the tuning menu in GT4

License

Notifications You must be signed in to change notification settings

MF42-DZH/GT4EngineGrapher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gran Turismo Engine Grapher

Master Build

This is a program trying to replicate the power/torque graphs you see in GT4's tuning menu.

All data is sourced from the SpecDB databases of GT4 (whose SQLite files were sourced from Nenkai/GT4SaveEditor), or extracted from GT3 using pez2k/GT3VOLExtractor and Nenkai/GTDataSQLiteConverter by ddm and Nenkai.

Currently, torque and power units are fixed to kgf.m and PS respectively.

High Priority Issues

  • #8 - Power inaccuracies when upgrades get involved.

Usage

The grapher can be run as a standalone program with no arguments, but launching from the terminal will yield some customizability. Pass in --help or -h to the program for more information.

  • If building and running (or running a prebuilt) JAR, use Java 21.
  • If running from an installed instance, run the program executable installed onto your system. It has a JRE packaged along with all the necessary dependencies.

Used Libraries

Reading the SpecDB SQLite databases is done using Slick and xerial/sqlite-jdbc.

The graphs are powered by JFreeChart, and as such, you can right-click on the chart and save an image of the chart.

Screenshots

Parts Picker

This UI style will be system-dependent. Windows and Mac OS uses Java's system-compliant look-and-feel, and Linux uses Java's default crossplatform look-and-feel.

Parts Picker

Graph

Torque / power graph for the HPA Stage II R32

Wear Editor

Wear Editor for Oil and Engine Wear

Graph

Shift-click on Map Engine to obtain a rudimentary shopping list for the required upgrades and maintenance.

Shopping List of Upgrades

Special Thanks

  • Nenkai, pez2k, ddm: Data extractor tools for GT3 and GT4.
  • TeaKanji: For inspiring me to go down this rabbit-hole.
  • Ablationer: From the GT Modding Discord, for helping me with torque modifiers for upgrades (and inadvertently helping me rubber-duck debug this program).