UltraNX/SaltySD/plugins/FPSLocker/patches/01004AB00A260000/DF3766A2BB651A3E.yaml
2024-07-02 12:50:28 +03:00

71 lines
1.4 KiB
YAML

# Dark Souls Remastered 1.0.3
# BID: DF3766A2BB651A3E
unsafeCheck: false
MASTER_WRITE:
# Redirect FPS target to MAIN+0x55E9A00
-
type: bytes
main_offset: 0x706FA4
value_type: uint32
value:
- 0xF0027701
-
type: bytes
main_offset: 0x7070B0
value_type: uint32
value:
- 0xFD450020
# Redirect game speed to MAIN+0x55E9A08
-
type: bytes
main_offset: 0x667900
value_type: uint32
value:
- 0xD0027C08
- 0xBD4A0908
# Write default value
-
type: bytes
main_offset: 0x55E9A00
value_type: double
value: 30
-
type: bytes
main_offset: 0x55E9A08
value_type: float
value: 0.0333333333
ALL_FPS:
-
type: evaluate_write
address: [MAIN, 0x55E9A00]
value_type: double
value: FPS_LOCK_TARGET
-
type: evaluate_write
address: [MAIN, 0x55E9A08]
value_type: float
value: "1/FPS_TARGET"
-
type: compare
compare_address: [MAIN, 0x4543788, 0x470]
compare_type: "=="
compare_value_type: int32
compare_value: 1
address: [MAIN, 0x55E9A00]
value_type: double
value: 30
-
type: compare
compare_address: [MAIN, 0x4543788, 0x470]
compare_type: "=="
compare_value_type: int32
compare_value: 1
address: [MAIN, 0x55E9A08]
value_type: float
value: 0.0333333333
-
type: block
what: timing