Getting editor ratings automatically
Is there a way to read from a database export players' ratings exactly as they appear in the in-game player editor? The database is for the most part consistent with the editor, but pitchers' ratings are the exception. Going by what I've observed, movement ratings (pitching_ratings_[vsl|vsr|talent]_movement) are almost universally lower in the database than in the editor and pitch ratings (pitching_ratings_pitches_<pitch>) are sometimes higher and sometimes lower.
I poked around the database to try to find the raw ratings but had no luck. Are they in there, just somewhere I didn't think to look? Is there a calculation that's been made public—ideally a reversible calculation—that takes raw ratings and spits out the numbers I see in the database?
In the worst case, these raw ratings must still be stored somewhere in the save, likely in players.dat but possibly in scouting.dat instead. Is there a published specification for these files' contents and structures, or an existing tool I can use to parse them and extract the numbers I want?
Last edited by Khuldraeseth; 07-23-2022 at 04:15 PM.
|