UltraNX/SaltySD/plugins/FPSLocker/patches/010027400CDC6000/4979B200D53BB282.yaml

93 lines
1.8 KiB
YAML
Raw Normal View History

2023-10-25 11:42:26 +00:00
# Divinity Original Sin 2 1.0.10
# BID: 4979B200D53BB282
2023-12-08 22:57:58 +00:00
# Game is using double buffer, buffers are not allocated in loop.
2023-10-25 11:42:26 +00:00
# So it's not possible to get stable FPS lock between 30 and 60.
unsafeCheck: true
MASTER_WRITE:
# Change location of GPU frametime double divider to MAIN+0x32C6D00
-
type: bytes
main_offset: 0x921768
value_type: uint32
value:
- 0xB0014D28
- 0xFD468101
# Default value
-
type: bytes
main_offset: 0x32C6D00
value_type: double
value: 1000000
15FPS:
# GPU Frametime divider = (30/FPS) * 1000000
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 2000000
20FPS:
# GPU Frametime divider
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 1500000
25FPS:
# GPU Frametime divider
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 1200000
30FPS:
# GPU Frametime divider (default value)
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 1000000
35FPS:
# GPU Frametime divider
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 857142
40FPS:
# GPU Frametime divider
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 750000
45FPS:
# GPU Frametime divider
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 666666
50FPS:
# GPU Frametime divider
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 600000
55FPS:
# GPU Frametime divider
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
value: 545454
60FPS:
# GPU Frametime divider
-
type: write
address: [MAIN, 0x32C6D00]
value_type: double
2023-12-08 22:57:58 +00:00
value: 500000