# DOOM Eternal 1.14
# BID: B059C2C77AD834B8

unsafeCheck: true

ALL_FPS:
  # rs_force460 (default)
  -
    type: write
    address: [MAIN, 0x78DAC38, 8]
    value_type: int32
    value: 1
  # rs_raiseThreshold = 0.948 * (30/FPS)
  -
    type: evaluate_write
    address: [MAIN, 0x78DA3C8, 0xC]
    value_type: float
    value: "(30 / FPS_TARGET) * 0.948"
  # rs_dropThreshold = 0.97 * (30/FPS)
  -
    type: evaluate_write
    address: [MAIN, 0x78DA350, 0xC]
    value_type: float
    value: "(30 / FPS_TARGET) * 0.97"
  # rs_raiseMilliseconds = 0.96 * (1000/FPS)
  -
    type: evaluate_write
    address: [MAIN, 0x78D9F78, 0xC]
    value_type: float
    value: "0.96 * FRAMETIME_TARGET"
  # rs_dropMilliseconds = 0.99 * (1000/FPS)
  -
    type: evaluate_write
    address: [MAIN, 0x78D9F00, 0xC]
    value_type: float
    value: "0.99 * FRAMETIME_TARGET"
  # com_adaptiveTickMaxHz (default)
  -
    type: write
    address: [MAIN, 0x6A12F38, 8]
    value_type: int32
    value: 120
