mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2025-02-02 11:42:39 +01:00
[Skylanders Imaginators] Fix long fall respawn (#679)
Thanks @SuperSamus!
This commit is contained in:
parent
c5bb44a3b7
commit
16105d20b2
21
src/SkylandersImaginators/Mods/FPS/patch_FixFallRespawn.asm
Normal file
21
src/SkylandersImaginators/Mods/FPS/patch_FixFallRespawn.asm
Normal 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
|
@ -2,7 +2,7 @@
|
|||||||
titleIds = 00050000101F4D00,00050000101FB100
|
titleIds = 00050000101F4D00,00050000101FB100
|
||||||
name = FPS
|
name = FPS
|
||||||
path = "Skylanders Imaginators/Mods/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
|
version = 6
|
||||||
|
|
||||||
[Default]
|
[Default]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user