2025-09-05 17:12:01 +03:00

64 lines
1.5 KiB
YAML

# 三國志14 with 威力加強版 1.0.10
# BID: B067B077906C6208
# Cursor speed is tied to framerate, main menu animations speed is not adjusted properly in range from 35 to 55 FPS
unsafeCheck: true
MASTER_WRITE:
# Redirect adjusting game speed to FPS Lock stored in MAIN + 0x2B92800, REF: 20 79 68 BC 01 10 2E 1E 00 D8 21 7E
-
type: asm_a64
main_offset: 0xB8ED98
instructions: [
[adrp, x9, 0x2b92000],
[add, x9, x9, 0x800]
]
# Redirect FPS Lock to MAIN + 0x2B92800, REF: C8 32 40 B9 E8 C2 00 B9
-
type: asm_a64
main_offset: 0x89668C
instructions: [
[adrp, x8, 0x2b92000],
[ldr, w8, [x8, 0x800]]
]
# Redirect game speed to MAIN + 0x2B92808, REF: 00 28 21 1E 00 A0 00 BD C0 03 5F D6
-
type: asm_a64
main_offset: 0x11139A0
instructions: [
[adrp, x8, 0x2b92000],
[ldr, s0, [x0, 0xa0]],
[ldr, s1, [x8, 0x808]]
]
# Default FPS Targets
-
type: bytes
main_offset: 0x2B92800
value_type: uint32
value: [30, 60]
-
type: bytes
main_offset: 0x2B92808
value_type: float
value: 0.0333333333
ALL_FPS:
-
type: evaluate_write
address: [MAIN, 0x2B92800]
value_type: uint32
value: FPS_LOCK_TARGET
- # Adjust max delta for menus, 0 - 30 FPS, 1 - 60 FPS, REF: 20 79 68 BC 01 10 2E 1E 00 D8 21 7E
type: evaluate_write
address: [MAIN, 0x254EA80]
value_type: uint32
value: "FPS_TARGET / 60"
-
type: write
address: [MAIN, 0x2B92808]
value_type: float
value: "1 / FPS_TARGET"
-
type: block
what: timing