[Skylanders Imaginators] Fix long fall respawn (#679)

Thanks @SuperSamus!
This commit is contained in:
SuperSamus 2025-01-31 00:28:32 +01:00 committed by GitHub
parent c5bb44a3b7
commit 16105d20b2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 1 deletions

View File

@ -0,0 +1,21 @@
[SI_FixInfiniteFall]
moduleMatches = 0xc683642e, 0x39e9ebc6 ; 1.0.0, 1.1.0
.origin = codecave
const_stuckFallingDistanceThreshold:
.float 20*30/$targetFPS
_getStuckFallingDistanceThreshold:
lis r3, const_stuckFallingDistanceThreshold@ha
lfs f13, const_stuckFallingDistanceThreshold@l(r3)
blr
[SI_FixInfiniteFall_V1]
moduleMatches = 0xc683642e ; 1.0.0
0x022c434c = bla _getStuckFallingDistanceThreshold
[SI_FixInfiniteFall_V16]
moduleMatches = 0x39e9ebc6 ; 1.1.0
0x022c4eb0 = bla _getStuckFallingDistanceThreshold

View File

@ -2,7 +2,7 @@
titleIds = 00050000101F4D00,00050000101FB100
name = FPS
path = "Skylanders Imaginators/Mods/FPS"
description = Changes the game's dynamic FPS target. Might have bugs, especially when going above 120 FPS.||Made by Mew00.
description = Changes the game's dynamic FPS target.||Needs to be disabled during certain sections, as it makes them impossible to complete:|- Sky Fortress: wrecking ball minigame (enemies are barely pushed)|- Golden Arcade: target shooting minigame (projectiles despawn before being able to reach some targets)|- Enchanted Elven Forest: water cannon near end of level (the splash is unable to put out the most distant fire)||Other minor issues:|- General: jump height is a little shorter, making some vertical jumps inconsistent|-Selfie mode: camera controls are too fast|- Cradle of Creation: hamster wheel rotates too fast||Made by Mew00. Fall respawn fix by SuperSamus and Winner Nombre.
version = 6
[Default]