# DOOM Eternal 1.15
# BID: 3AAA4D3E5A1A0F88

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: evaluate_write
    address: [MAIN, 0x6A12F38, 8]
    value_type: int32
    value: FPS_TARGET
