UltraNX/SaltySD/plugins/FPSLocker/patches/01002C0015644000/3A3C781930CB8201.yaml

34 lines
1.1 KiB
YAML
Raw Normal View History

2023-10-25 11:42:26 +00:00
# Maglam Lord 1.00
# BID: 3A3C781930CB8201
# WARNING: Enemy Movement Speed is not scaling properly to framerate. At 60 FPS it's multiple times slower, looking like enemies are practically walking in place.
unsafeCheck: true
2024-07-02 09:50:28 +00:00
ALL_FPS:
2023-10-25 11:42:26 +00:00
# Disable bUseFixedFrameRate to untie game speed from framerate and unlock FPS
-
type: write
address: [MAIN, 0x5F32908, 0x7B8]
value_type: uint32
# Default is 0x47, bUseFixedFrameRate |= 0x40
# By writing 7 we are making sure that other flags are maintained:
# bAllowMultiThreadedAnimationUpdate |= 4
# bOptimizeAnimBlueprintMemberVariableAccess |= 2
# bCanBlueprintsTickByDefault |= 1
value: 7
# r.DynamicRes.FrameTimeBudget (1000/FPS) cutted to 1 decimal
-
2024-07-02 09:50:28 +00:00
type: evaluate_write
2023-10-25 11:42:26 +00:00
address: [MAIN, 0x5F086C0, 0]
value_type: float
2024-07-02 09:50:28 +00:00
value: ["TruncDec(FRAMETIME_TARGET, 2)", "TruncDec(FRAMETIME_TARGET, 2)"]
2023-10-25 11:42:26 +00:00
# t.MaxFPS
-
2024-07-02 09:50:28 +00:00
type: evaluate_write
2023-10-25 11:42:26 +00:00
address: [MAIN, 0x5F331D8, 0]
value_type: float
2024-07-02 09:50:28 +00:00
value: [FPS_LOCK_TARGET, FPS_LOCK_TARGET]
2023-10-25 11:42:26 +00:00
-
type: block
what: timing