# S.T.A.L.K.E.R.: Shadow Of Chornobyl 1.0.2
# BID: 8E8BFFE66292CFF1

unsafeCheck: true

ALL_FPS:
  # psLoadedFrameLimitFps
  -
    type: evaluate_write
    address: [MAIN, 0x165F4EC]
    value_type: float
    value: FPS_LOCK_TARGET
  # psCurrentFrameLimitFps
  -
    type: evaluate_write
    address: [MAIN, 0x167B9F0]
    value_type: float
    value: FPS_LOCK_TARGET
  # psCurrentFrameLimitMs
  -
    type: evaluate_write
    address: [MAIN, 0x18E7ACC]
    value_type: float
    value: "1000 / FPS_LOCK_TARGET"
  # ResolutionInfo::sDynresGPUBudgetMs
  -
    type: evaluate_write
    address: [MAIN, 0x165F2F0]
    value_type: float
    value: "0.99 * FRAMETIME_TARGET"