UltraNX/SaltySD/plugins/FPSLocker/patches/010074F013262000/B76CD24AF02ACEA2.yaml
2023-10-25 14:42:26 +03:00

153 lines
3.1 KiB
YAML

# Xenoblade Chronicles 3 1.3.0
# BID: B76CD24AF02ACEA2
unsafeCheck: true
# For 15-20 FPS use internal FPS lock, for 25-30 set default value
15FPS:
-
type: write
address: [MAIN, 0x1A08F98]
value_type: int32
value: [4, 4]
-
type: block
what: timing
20FPS:
-
type: write
address: [MAIN, 0x1A08F98]
value_type: int32
value: [3, 3]
-
type: block
what: timing
25FPS:
-
type: write
address: [MAIN, 0x1A08F98]
value_type: int32
value: [2, 2]
30FPS:
-
type: write
address: [MAIN, 0x1A08F98]
value_type: int32
value: [2, 2]
# For 35-60 FPS check if cutscene is played. If it is, set 30 FPS lock. If not, disable it.
35FPS:
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 1
address: [MAIN, 0x1A08F98]
value_type: int32
value: [1, 1]
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 0
address: [MAIN, 0x1A08F98]
value_type: int32
value: [2, 2]
40FPS:
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 1
address: [MAIN, 0x1A08F98]
value_type: int32
value: [1, 1]
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 0
address: [MAIN, 0x1A08F98]
value_type: int32
value: [2, 2]
45FPS:
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 1
address: [MAIN, 0x1A08F98]
value_type: int32
value: [1, 1]
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 0
address: [MAIN, 0x1A08F98]
value_type: int32
value: [2, 2]
50FPS:
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 1
address: [MAIN, 0x1A08F98]
value_type: int32
value: [1, 1]
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 0
address: [MAIN, 0x1A08F98]
value_type: int32
value: [2, 2]
55FPS:
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 1
address: [MAIN, 0x1A08F98]
value_type: int32
value: [1, 1]
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 0
address: [MAIN, 0x1A08F98]
value_type: int32
value: [2, 2]
60FPS:
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 1
address: [MAIN, 0x1A08F98]
value_type: int32
value: [1, 1]
-
type: compare
compare_address: [MAIN, 0x1A65958]
compare_type: "!="
compare_value_type: int8
compare_value: 0
address: [MAIN, 0x1A08F98]
value_type: int32
value: [2, 2]