It seems like the diff field from the replay file does not work as well as I would expect. I am not sure if it worked in the previous one...
replay_delta = data['Frames'][i]['Delta']
calc_delta = data['Frames'][i]['Time'] - data['Frames'][i - 1]['Time']
if replay_delta == 0:
# There seems to have been a goal here.
frames[i]['delta'] = replay_delta
else:
frames[i]['delta'] = calc_delta
It seems like the diff field from the replay file does not work as well as I would expect. I am not sure if it worked in the previous one...