UltraNX/SaltySD/plugins/FPSLocker/patches/0100670014482001/2B59D6C677258A2A.yaml

90 lines
1.7 KiB
YAML
Raw Normal View History

2023-10-25 11:42:26 +00:00
# Assassin's Creed: The Ezio Collection - Assassin's Creed Brotherhood 1.3
# BID: 2B59D6C677258A2A
# Scenes exclusively 2D are tied to framerate, so at 60 FPS they are 2x faster.
unsafeCheck: true
MASTER_WRITE:
# Patch code to multiply last frametime by float scale factor stored in MAIN+0x4276B00
# To match it to Dynamic Resolution calculations
-
type: bytes
main_offset: 0xBDBE44
value_type: uint32
value:
- 0xF001B4C8
- 0xBD4B0100
-
type: bytes
main_offset: 0xBDBE58
value_type: uint32
value:
- 0x1E200900
- 0xD503201F
# Write default dynamic resolution timing factor
-
type: bytes
main_offset: 0x4276B00
value_type: float
value: 1
15FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 0.5
20FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 0.6666666666
25FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 0.8333333333
30FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 1
35FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 1.1666666666
40FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 1.3333333333
45FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 1.5
50FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 1.6666666666
55FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 1.8333333333
60FPS:
-
type: write
address: [MAIN, 0x4276B00]
value_type: float
value: 2