mirror of
https://github.com/Ultra-NX/UltraNX.git
synced 2025-01-01 05:21:55 +00:00
88 lines
1.9 KiB
YAML
88 lines
1.9 KiB
YAML
# Kirby and the Forgotten Land 1.0.0
|
|
# BID: D9BA7DB72FFAFECD
|
|
# Thanks to Hazerou for finding interval offsets
|
|
|
|
unsafeCheck: false
|
|
|
|
MASTER_WRITE:
|
|
# Remove double buffer
|
|
-
|
|
type: bytes
|
|
main_offset: 0x745E94
|
|
value_type: uint32
|
|
value: 0x52800069
|
|
# Fix helper functions to not corrupt stack
|
|
-
|
|
type: bytes
|
|
main_offset: 0x745F70
|
|
value_type: uint32
|
|
value: 0x52800062
|
|
-
|
|
type: bytes
|
|
main_offset: 0x75908C
|
|
value_type: uint32
|
|
value: 0x52800062
|
|
-
|
|
type: bytes
|
|
main_offset: 0x675198
|
|
value_type: uint32
|
|
value:
|
|
- 0xD10143FF
|
|
- 0xA90257F6
|
|
- 0xA9034FF4
|
|
- 0xA9047BFD
|
|
- 0x910103FD
|
|
-
|
|
type: bytes
|
|
main_offset: 0x6751EC
|
|
value_type: uint32
|
|
value: 0x52800062
|
|
-
|
|
type: bytes
|
|
main_offset: 0x675210
|
|
value_type: uint32
|
|
value:
|
|
- 0xA9447BFD
|
|
- 0xA9434FF4
|
|
- 0xA94257F6
|
|
- 0x910143FF
|
|
-
|
|
type: bytes
|
|
main_offset: 0x74A510
|
|
value_type: uint32
|
|
value: 0x52800062
|
|
-
|
|
type: bytes
|
|
main_offset: 0x7590F8
|
|
value_type: uint32
|
|
value: 0x52800062
|
|
-
|
|
type: bytes
|
|
main_offset: 0x7BDCD4
|
|
value_type: uint32
|
|
value: 0x52800062
|
|
# Block transparency in some 2D elements to avoid issue with flickering at triple buffer
|
|
-
|
|
type: bytes
|
|
main_offset: 0x6A58C8
|
|
value_type: uint32
|
|
value:
|
|
- 0xD2802049
|
|
- 0xB948414A
|
|
- 0x91208114
|
|
- 0xD37DF14C
|
|
- 0xF9000289
|
|
ALL_FPS:
|
|
# Interval (Setting it to 0 unlocks framerate and sets dynamic game speed)
|
|
-
|
|
type: write
|
|
address: [MAIN, 0xA72628, 0x50]
|
|
value_type: int32
|
|
value: 0
|
|
# Dynamic Resolution GPU Frametiming Max / Min (Max = 1.95 * (30/FPS), Min = 1.7 * (30/FPS))
|
|
-
|
|
type: evaluate_write
|
|
address: [MAIN, 0xA726B0, 0x140, 0x1B0, 0x20, 0x34]
|
|
value_type: float
|
|
value: ["(30 / FPS_TARGET) * 1.95", "(30 / FPS_TARGET) * 1.7"]
|