mirror of
https://github.com/Ultra-NX/UltraNX.git
synced 2025-01-14 03:11:26 +00:00
66 lines
1.4 KiB
YAML
66 lines
1.4 KiB
YAML
# Trine 5: A Clockwork Conspiracy 1.0.5
|
|
# BID: 8322528255D2CC63
|
|
# To update dynamic resolution offsets look at fb::renderer::ResolutionScaler::update
|
|
|
|
unsafeCheck: true
|
|
|
|
MASTER_WRITE:
|
|
# Change double buffer to triple buffer
|
|
-
|
|
type: bytes
|
|
main_offset: 0x138A024
|
|
value_type: uint32
|
|
value: 0x52800068
|
|
# Allow changing dynamic resolution timings
|
|
# Max - changed address to MAIN + 0x7D05200
|
|
-
|
|
type: bytes
|
|
main_offset: 0x25992CC
|
|
value_type: uint32
|
|
value:
|
|
- 0x9002BB68
|
|
- 0xD001C236
|
|
- 0xFD410102
|
|
# Min - changed address to MAIN + 0x7D05208
|
|
-
|
|
type: bytes
|
|
main_offset: 0x2599344
|
|
value_type: uint32
|
|
value:
|
|
- 0x9002BB6A
|
|
- 0xFD410545
|
|
-
|
|
type: bytes
|
|
main_offset: 0x2599380
|
|
value_type: uint32
|
|
value: 0x9002BB6A
|
|
-
|
|
type: bytes
|
|
main_offset: 0x2599390
|
|
value_type: uint32
|
|
value: 0xFD410546
|
|
# Default values
|
|
-
|
|
type: bytes
|
|
main_offset: 0x7D05200
|
|
value_type: double
|
|
value: 34.0
|
|
-
|
|
type: bytes
|
|
main_offset: 0x7D05208
|
|
value_type: double
|
|
value: 32.0
|
|
ALL_FPS:
|
|
# Max Dynamic Resolution Timing
|
|
-
|
|
type: evaluate_write
|
|
address: [MAIN, 0x7D05200]
|
|
value_type: double
|
|
value: "1.02 * FRAMETIME_TARGET"
|
|
# Min Dynamic Resolution Timing
|
|
-
|
|
type: evaluate_write
|
|
address: [MAIN, 0x7D05208]
|
|
value_type: double
|
|
value: "0.96 * FRAMETIME_TARGET"
|