Did some digging around the memory, while I still haven't figured out the entire secret behind each of the values, they are definitely natural stat growth as your save progresses.
As I did stumble upon another value under each drivers contract data array, which when increased did creep the stats up from
4th to
6th value, with it maxing out at
6th value. Meaning those are most likely the
base start stat and
base end stat, if wording it like that makes sense.
Didn't fully dab into the
5th values effect, but it could potentially be the rate at which the stat goes up.
And still not fully sure how the other values impact the end result, but they all definitely play a part in those specific stats.
I did find the what I'm assuming is the base focus as well, so that's noted down and will be added whenever I get around pushing a update out. Since the current focus is more in line with the growth stats, which is fine if you want higher focus drivers, I guess.
And a note about why I mentioned offline mode in my previous question, there appears to be 2 stat arrays. I have named them Offline/Online arrays accordingly. The offline array has the games launch stats and is used for save files that are created while the game is in offline mode and is used until the game regains network connection. After which, if the driver rating email has been already confirmed, the save will automatically switch over to the Online rating array which contains all the up-to-date ratings that can be seen on the EA website. And as far as I can tell it will keep on using those up-to-date ratings afterwards even when going back offline.
What I find interesting about this, is that even if your game is up to date and already has a save file with the up-to-date ratings. The new save will still use offline ratings no matter what if the game has no network connecting.
And another note, if you just left a save that was using Online array and made a save that is using the Offline array, CE will still display the previous Online array, but changing values in it is pointless, as those values aren't used during the offline period and the game will overwrite them once it regains connection and switched to the online array.
The current script currently only gives access to the 'Online' array, but if anyone for some reason needs access to the 'Offline' stat array. You can edit the script through CE and find the line:
- statEntry.setAddress(hxS(address+0x8), {i*4, offset, 0x10})
and change it to:
- statEntry.setAddress(hxS(address+0x8), {i*4, offset - 0x88, 0x10})
But again that 'Offline' array is only used for saves created in offline mode, and only for the period before the game gains connection to internet.
Think that's all I wanted to mention about the Offline/Online stat arrays, I will probably include the offline array in next update as well.
Alright after all that ramble, here is the final random fun fact that I noticed while messing with the stats, but the Overall rating is calculated like this :
7% EXP + 29% RAC + 7% AWA + 57% PAC. Note that I did round the weighted %, but its very close to what it actually is.
While its not much use for anyone really, I though it was some interesting info to share.