@Hobbnob
In my public folder, you'll find the translation for the VehicleVDFM. In the VDFM, there is a pointer address to set for KERS, which performs a file name lookup in the string data section. In the VDFM, address 0x018-0x01B dictates the total byte length of the string data section. So, should you need to add more bytes to the string section, you would increment address 0x018-0x01B accordingly.
I've been working with vehicles without KERS. But, just did a quick test. The VDFM requires more than just setting the pointer for KERS...there's other registers at the top of the file to manipulate....I haven't quite made total sense out of everything that needs changing. The easiest thing to do is grab a donor VDFM which provides the base options you want (such as a turbo with KERS). Then edit the string data section for correct file names of your physics files, change values in the various pointer addresses, set all wheel offset/sizing, etc. Once that is done, choose an existing KERS file (BBFbin in Turbo folder) with base options similar to what you want, renamed for your car, then edit from there.
In my test, I took an addon car that just had a supercharger, added the Formula A KERS and got 6.6 seconds of boost, with one time use per lap. HP boost was 27.7 %
The BBFbin decode looks like this (didn't test anything to determine function, though)...
Code:
[20 DA 4E FB A7] 03 = 3
[28 8A A4 53 E0]
[28 61 CF 84 0D]
[22 40 D5 E4 95] 3333D340 = 6.6
[20 0E 17 DD 9A] 01 = 1
[20 67 F2 7D 57] 01 = 1
28 08 FF 48 18 A1 44 23 F7 79 80 1A 06 00
[22 F9 28 F9 98] 00004843 = 200.0
[21 D8 8E A3 C8] F4010000 = 500
[28 15 CA 60 13]
[22 8E AC AD 13] 3333D340 = 6.6
[22 3A 74 A8 35] 00007042 = 60
[22 03 3E B2 09] 0AD7233C = 0.01
[A2 02 D8 6A 19] 00007042 = 60.0
[28 E1 61 23 AE]
[22 13 38 E1 69] 0000803F = 1.0
[A6 D5 2A 50 24] 00
[22 CB FA F2 0D] 0000803F = 1.0
[A1 E3 1A 9A 4E] 90010000 = 400
[A8 2A AA 13 F5]
[24 45 76 35 7A 82] 00, 0000803F = 0, 1.0
[A0 7E F3 93 B1] 01 = 1
[22 3C 89 BF 32] 00007842 = 62.0
[22 92 8F 52 41] CDCC4C3E = 0.2
21 13 12 3E 7D 80 1A 06 00 0B C5 66 C9 E5
In that decode, I see the 6.6 in there twice, which is probably the Boost time (time to fully drain). However, the 27.7% HP boost is not obvious in any of the decode. The 200.0 value is probably the time to refill...I was on the test track counting off the seconds in my head to see how long refill duration was taking.